Hello,
I seem to be having a problem when changing the currency as once selected it then loads a white page but once you click back the currency is displayed.
Version 1.5.6.1
http://seductionfootwear.com
Look forward to hearing from you.
I seem to be having a problem when changing the currency as once selected it then loads a white page but once you click back the currency is displayed.
Version 1.5.6.1
http://seductionfootwear.com
Look forward to hearing from you.
Im on my tablet just now and I see what you mean. Are you sure your currency dropdown links are correct. Other than that it can only be a js issue but Id need my PC to check for errors. I'll be at it later.
OpenCart Theme Options - See All My Extensions - OpenCart Themes and Mods
Hi thanks for the message, everything looks ok and is correct as far as i can tell.
Look forward to hearing from you later.
Look forward to hearing from you later.
Your links dont look right to me. Your code in currency.tpl should look like this:
onclick="$('input[name=\'currency_code\']').attr('value', '<?php echo $currency['code']; ?>'); $(this).parent().parent().submit();"
Note you dont have the $(this).parent().parent().submit(); bit.
onclick="$('input[name=\'currency_code\']').attr('value', '<?php echo $currency['code']; ?>'); $(this).parent().parent().submit();"
Note you dont have the $(this).parent().parent().submit(); bit.
OpenCart Theme Options - See All My Extensions - OpenCart Themes and Mods
catalogue/view/theme/default/template/module/surrency.tpl
Its only 25 lines long - you should be able to find the problem ;-)
Here's a copy from OC 1.5.4.1 which I had to hand for comparison - I'd be surprised if its changed much.
Its only 25 lines long - you should be able to find the problem ;-)
Here's a copy from OC 1.5.4.1 which I had to hand for comparison - I'd be surprised if its changed much.
Attachments
OC v 1.5.4 with alot of tweaks,exts & mods.
I found the said line and this is whats displayed:
<li><a href="javascript:;" onclick="$('input[name=\'currency_code\']').attr('value', '<?php echo $currency['code']; ?>'); $(this).parent().parent().submit(); $('#currency_form').submit();"><?php echo $currency['title']; ?></a></li>
<li><a href="javascript:;" onclick="$('input[name=\'currency_code\']').attr('value', '<?php echo $currency['code']; ?>'); $(this).parent().parent().submit(); $('#currency_form').submit();"><?php echo $currency['title']; ?></a></li>
If there is nothing wrong with your link code then I would thinks its either because there is some kind of JS conflict.
Are you just on a standard install with default theme or have you made changes? If so I would review said changes and see if they would have effected the currency module otherwise its a case of reuploading opencart to see if that helps.
Are you just on a standard install with default theme or have you made changes? If so I would review said changes and see if they would have effected the currency module otherwise its a case of reuploading opencart to see if that helps.
OpenCart Theme Options - See All My Extensions - OpenCart Themes and Mods
Who is online
Users browsing this forum: No registered users and 306 guests