Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problems with currency carrying over


void

Recommended Posts

I'm having problems with the currency selection carrying over from page to page.

 

Example:

User selects 'Euro' on the first page. The page reloads showing prices in Euros. When the user clicks to the second page, the currency defaults back to USD, showing prices in USD.

 

I tried a fresh install, and that didn't solve it.

 

What could the cause be, and what solutions are there?

Link to comment
Share on other sites

When you put Euro as default in the edit did you put 1.0000000 as the value and then click on update currencies button ?

and in the catalog/includes/languages/english.php around line 36

 

// if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used w$

 

define('LANGUAGE_CURRENCY', 'USD');

Change it to whatever you need

 

HTH

The_Bear

Link to comment
Share on other sites

Thanks, I've actually changed the default current in the english.php file to SGD, as my client is based in Singapore. However, if an overseas client, say one from the US, or someone who wants to look at the prices in US dollars browses the site; when they select US Dollar from the dropdown, when they click to the next page, the dropdown returns to Singapore Dollar.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...