AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: buddahboy on November 26, 2013, 10:46:39 AM

Title: Change currency while viewing product refreshes to front page
Post by: buddahboy on November 26, 2013, 10:46:39 AM
Good Morning,

I have a few currencies listed on our site and noticed that when viewing a product and changing the currency from that product page refreshes and redirects to front page forcing the customer to return to the product he/she was looking at.  Site URL is www.VishwaGifts.com

Is there a setting that I am missing to allow for currency change and not being redirected? 

Thank you very much
Ron
Title: Re: Change currency while viewing product refreshes to front page
Post by: eCommerce Core on June 17, 2014, 12:54:58 PM
Just noticed this post.

Problem related to SEO mode
Try following solution.

In file
https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/controller/blocks/currency.php

Line 62:
Code: [Select]
'href'  => $this->html->getURL($rt, $URI.'&currency='.$result['code'],true)


Replace with :

Code: [Select]
'href'  => $this->html->getSEOURL($rt, $URI.'&currency='.$result['code'],true)

Similar will be in language selector.
Title: Re: Change currency while viewing product refreshes to front page
Post by: buddahboy on June 17, 2014, 05:20:09 PM
Thank you very much!

All the best
Ron