Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Prices show up as "0" on website


philmatthews

Recommended Posts

Hi guys, apologies if this has been covered, I've been searching the forum but couldn't find an answer.

 

This is my first time using oscommerce and I think it is an amazing piece of software. I've managed to edit the layout, categories etc fine.

 

My problem is when I add a new product to my store the price shows up as "0" on the site. On the admin section the price is displayed correctly (eg. ?9.99) but for some reason shows up as 0 when I go to the shop site. (I've also selected the product be in stock)

 

I am using GBP currency:

 

Title: UK Pound

Code: GBP

Symbol Left: ?

Symbol Right:

Decimal Point: .

Thousands Point: ,

Decimal Places: 2

Last Updated: 06/13/2004

Value: 1.0000000

Example Output:

?30.00 = ?30.00

 

Any ideas or help is very much appreciated!

 

Thanks

Phil

Link to comment
Share on other sites

In catalog/includes/languages/english.php

 

locate this code

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

 

and change to this code

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

 

This presumes that GBP has been set as default currency

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...