Try changing this line:
Code:
// If no currency is set, use appropriate default
if (!isset($_SESSION['currency']) && !isset($_GET['currency']) ) $_SESSION['currency'] = DEFAULT_CURRENCY;
to this:
Code:
// If no currency is set, use appropriate default
if (!isset($_SESSION['currency']) && !isset($_GET['currency']) ) $_SESSION['currency'] = 'EUR';
And getting rid of the other edit. Probably a better solution.
Originally Posted by
time111
Hi,
This thing actually work but if I implement this, it is restricting the user to change to any other currency even if it is available in currency drop down menu. It just refuse to change.
Can anyone please suggest on how to manage non default currency on website but at the same time customers can still change if they want some other currency to show.
Thanking you in advance.
~Time
zen cart 1.5.4
Bookmarks