Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product Prices gone back to Zero !?!


enhancer

Recommended Posts

Hi All,

 

I seem to have caused a problem for my site to see the product prices within my database.

 

Yesterday i worked on customising all the pages in the root of my shop.... (www.domain.com/catalog/), and now all my prices are back to zero - in fact they are not back to zero (they still have the correct prices in the database), its just that a price of "0" is being displayed.

 

Anyone got any suggestions/quick fixes ?

 

NOTE: Could help with troubleshooting my problem...

If i log in to my account (as a customer) i can see my previous orders and all the correct prices, but all new orders have "0" values

 

-Ian

Link to comment
Share on other sites

If you can see the prices in the Catalog section of your 'admin' panel but prices are being displayed as zero on the website itself then it is usually because you have changed the default currency to a currency you have added without editing the relevant language file.

 

For instance, if you change the default currency from US Dollars to UK Pounds (GBP) then you have to realise that in osC there is a connection between language and currency - and it was assumed when osC was written that if you spoke English that US Dollars would be your currency.

 

In this instance what you need to do is to edit includes/languages/english.php and where you see 'USD' change to 'GBP'

 

Vger

Link to comment
Share on other sites

If you can see the prices in the Catalog section of your 'admin' panel but prices are being displayed as zero on the website itself then it is usually because you have changed the default currency to a currency you have added without editing the relevant language file.

 

For instance, if you change the default currency from US Dollars to UK Pounds (GBP) then you have to realise that in osC there is a connection between language and currency - and it was assumed when osC was written that if you spoke English that US Dollars would be your currency.

 

In this instance what you need to do is to edit includes/languages/english.php and where you see 'USD' change to 'GBP'

 

Vger

 

Thank you soo much Vger.... you are a gent !

How do i vote for you in the next elections ?

 

- Ian

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...