Post by psx_software » Fri Mar 21, 2014 7:27 pm

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.

New member

Posts

Joined
Tue Sep 27, 2011 4:48 am

Post by ThePath » Fri Mar 21, 2014 7:58 pm

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.

Image

OpenCart Theme Options - See All My Extensions - OpenCart Themes and Mods


User avatar
Active Member

Posts

Joined
Fri Jun 26, 2009 11:53 pm
Location - Scotland

Post by psx_software » Fri Mar 21, 2014 9:40 pm

Hi thanks for the message, everything looks ok and is correct as far as i can tell.

Look forward to hearing from you later.

New member

Posts

Joined
Tue Sep 27, 2011 4:48 am

Post by ThePath » Sun Mar 23, 2014 7:58 pm

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.

Image

OpenCart Theme Options - See All My Extensions - OpenCart Themes and Mods


User avatar
Active Member

Posts

Joined
Fri Jun 26, 2009 11:53 pm
Location - Scotland

Post by psx_software » Mon Mar 24, 2014 6:10 pm

Thanks, what file and where needs editing?

New member

Posts

Joined
Tue Sep 27, 2011 4:48 am

Post by JIMSLITA » Mon Mar 24, 2014 6:20 pm

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.

OC v 1.5.4 with alot of tweaks,exts & mods.


User avatar
New member

Posts

Joined
Fri Feb 08, 2013 3:49 pm

Post by psx_software » Mon Mar 24, 2014 10:19 pm

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>

New member

Posts

Joined
Tue Sep 27, 2011 4:48 am

Post by psx_software » Thu Mar 27, 2014 9:01 pm

Still seem to be having prodblems if anyone has any ideas?

Thanks

New member

Posts

Joined
Tue Sep 27, 2011 4:48 am

Post by psx_software » Wed Apr 23, 2014 11:48 pm

can anyone help with this??

Thanks

New member

Posts

Joined
Tue Sep 27, 2011 4:48 am

Post by ThePath » Wed May 14, 2014 5:12 pm

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.

Image

OpenCart Theme Options - See All My Extensions - OpenCart Themes and Mods


User avatar
Active Member

Posts

Joined
Fri Jun 26, 2009 11:53 pm
Location - Scotland
Who is online

Users browsing this forum: No registered users and 306 guests