Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Currency defaulting to 0


jza

Recommended Posts

Hi I got an issue when I enter to my product page, all the products are shown on 0.

 

What it screw up was when I delete US dollars and default to other currency, then I add US dollars after but now it comes default as 0 price. The regular prices get displayed but only after having the new currency selected.

 

Any idea on how to fix this? I think that something was statically linked to the US dollar pricepoint and it brok when I delete the 'base' currency.

Link to comment
Share on other sites

Hi I got an issue when I enter to my product page, all the products are shown on 0.

 

What it screw up was when I delete US dollars and default to other currency, then I add US dollars after but now it comes default as 0 price. The regular prices get displayed but only after having the new currency selected.

 

Any idea on how to fix this? I think that something was statically linked to the US dollar pricepoint and it brok when I delete the 'base' currency.

You need to make your currency your default currency in Admin because you deleted the USD which is the default currency when OSC is installed.

 

You also need to do this:

 

look in catalog\includes\languages\english.php and make

// 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');

 

this

 

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

define('LANGUAGE_CURRENCY', 'AUD');

 

You may also have to set Admin ---> My Store --- > Default Language Currency to true.

 

Of course you use the 3 didgit iso code for you currency.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...