Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error with Languages and Currency?


Stickle

Recommended Posts

Posted

Hi there,

 

With my last post getting pushed to the bottom due to questions such as "how can I change the colour of my site" and "how can I change the text on the index" etc, I am hoping this thread will be a little more successfull, hehe

 

Basically I had set up my online shop, the two currencies that I had were US Dollars (USD) and Euros (EUR), however I only need my prices to be quoted in Euros, so deleted the USD currency. I now find that the Spanish section of my website displays the prices correctly, however when I try to change the language to English all the prices appear as 0 (I am presuming because the UK isnt inside the Euro?)

 

Anyone had a similar problem that might be able to shed some light on it for me?

 

Thanks again in advance to anyone that can...

Posted

Looks like i have found the answer.... for anyone else that has had this problem, you will need to do the following:-

 

Open up de english.php file in /catalog/includes/languages/ and edit the line that says:-

 

// if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language)
define('LANGUAGE_CURRENCY', 'USD');

 

for the following:-

 

// if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language)
define('LANGUAGE_CURRENCY', 'USD');

Posted

I cannot see a difference between the solution and problem from the code you posted. Did you meant to change the actual currency code?

 

Looks like i have found the answer.... for anyone else that has had this problem, you will need to do the following:-

 

Open up de english.php file in /catalog/includes/languages/ and edit the line that says:-

 

// if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language)
define('LANGUAGE_CURRENCY', 'USD');

 

for the following:-

 

// if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language)
define('LANGUAGE_CURRENCY', 'USD');

Archived

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

×
×
  • Create New...