Quote:
Originally Posted by kenwood
Fine, thanks. And please now this hack for different languages.
|
Zaja kindly used language variables and no hard set text in the template. This mod can easily be localized.
Code:
alert("You must read accept terms to submit order")
Only part that isn't is the JS error alert.
Just change this to:
Code:
alert("{/literal}{$lng.txt_error_must_read|replace:"'":"\'"}{literal}")
Nice modification, defiantly something I never thought about. It's interesting how many don't read up before completing a purchase.