exflame Posted January 10, 2014 Share Posted January 10, 2014 Hi, I'm a newbe and just spent hours and still cant figure this out. So the problem is that I want the page to change currency to the default when customer reaches select payment option. From what I'v found there is a function called setCurrency() but I cant figure out how to call it in these smarty .tpl files. Tried to add onclick and other things but nothing works. Can anyone please explain me how to call this function when you click the link or load the .tpl file? /bankwire/views/templates/hook/payment.tpl <p class="payment_module"> <a href="{$link->getModuleLink('bankwire', 'payment')|escape:'html'}" title="{l s='Pay by bank wire' mod='bankwire'}"> <img src="{$this_path_bw}bankwire.jpg" alt="{l s='Pay by bank wire' mod='bankwire'}" width="86" height="49"/> {l s='Pay by bank wire (order process will be longer)' mod='bankwire'} </a></p> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now