Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Prices have vanished...


Guest

Recommended Posts

Hello all,

 

I have configured the site so that the only currency available in GBP. Now when I view products there is no price displayed, only a '0' even though in the product information both the gross and net prices are there.

 

Does anyone have any idea why this should be?

 

Thanks for any advice,

 

Michael

Link to comment
Share on other sites

Prices Display as Zero

----------------------

 

The most common cause of prices displaying as zero on

your website, but showing up correctly in admin is a

change to the default currency for the English

language. There is a connection between languages

and currencies in osCommerce. If you change the

default currency for the English language to (for

example) UK Pounds (symbol =GBP) then you also

need to edit includes/languages/english.php and

where you see 'USD' change it to 'GBP'. It was

assumed when osCommerce was written that if your

language was English then your currency would be

US Dollars :D

 

Vger

Link to comment
Share on other sites

Hi Vger

 

I have this problem too - I want my only currency to be Australian Dollars. (I thought it would go away when I fixed my Tax Zone problem but it didn't.)

 

I have done as you suggested and updated USD to AUD in includes/languages/english.php but this hasn't fixed it. I have checked that the Currency Code in OSCommerce Admin is AUD and it is.

 

Are there any others files I should update?

 

jo

Link to comment
Share on other sites

Prices Display as Zero

----------------------

 

The most common cause of prices displaying as zero on

your website, but showing up correctly in admin is a

change to the default currency for the English

language. There is a connection between languages

and currencies in osCommerce. If you change the

default currency for the English language to (for

example) UK Pounds (symbol =GBP) then you also

need to edit includes/languages/english.php and

where you see 'USD' change it to 'GBP'. It was

assumed when osCommerce was written that if your

language was English then your currency would be

US Dollars :D

 

Vger

 

YOU ARE THE MEN!!!

I've this problem and I solve it like u say.

 

Sorry for my english, I'm from Argentina.

 

For the newbies like me, you must edit your lenguage file (ex: /catalog/includes/languages/espanol.php) and find this line

 

define('LANGUAGE_CURRENCY', 'ARG');

 

You must see what code (ex: ARG) put in that country in the zone area of the admin module. The same you must do with all languages and countries if the use another money. If they use the same you must put in the lenguage php the same code.

 

Well if I'm grong please correct me, or maybe write it with better english.

 

See ya!!!

Link to comment
Share on other sites

Jolanta and Jo - when you set up the new currency make sure that you set the correct Currency Code using the 3 letter symbol e.g. GBP or AUD.

 

You can't just enter anything you like in that field.

 

If that still doesn't work then set 'Switch to default language currency' to 'true' in osC admin, under My Store - which will resolve any caching issues you may have.

 

Vger

Link to comment
Share on other sites

Jolanta and Jo - when you set up the new currency make sure that you set the correct Currency Code using the 3 letter symbol e.g. GBP or AUD.

 

You can't just enter anything you like in that field.

 

If that still doesn't work then set 'Switch to default language currency' to 'true' in osC admin, under My Store - which will resolve any caching issues you may have.

 

Vger

 

Someone knows the currency codes for Argentina and EEUU, or better, someone know where can I find that information?

 

Sorry for my newbie question... :blush:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...