Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Price displayed as Zero


Guest

Recommended Posts

Posted

Hi all,

 

I have recently installed a shop (www.handmadehappiness.co.uk/shop) and I'm having a problem with the price. No matter what is set as the price it always displays zero.

 

I've done a quick search of this site which has told me to alter the settings of 'Switch To Default Language Currency' to 'true' but it doesn't seem to have changed anything...

 

I've removed all languages except english and changed 'USD' to GBP - Can anyone help any further?

 

 

Thanks

 

Mac

Posted

When you added the currency via your osC admin panel did you use GBP as the currency symbol there?

 

Also, with one one currency and one language installed you don't need to set 'Switch To Default Language Currency' to true. This is only for multi-lingual and multi-currency sites.

 

Finally, make sure that it was in shop/includes/languages/english.php that you entered 'GBP' and that you didn't just enter it in shop/admin/includes/languages/english.php

 

Vger

Posted

I haven't changed any php files, just made changes in the osC admin panel...

 

Is there some php script i need to change as well?

Posted

fixed it!

 

For anyone else that has this problem you need to change the part of the script that says 'USD' in the files mentioned above...

 

Thanks for your help!

Posted
I've removed all languages except english and changed 'USD' to GBP
I haven't changed any php files, just made changes in the osC admin panel...

 

Okay, I see what you've done (I think).

 

You should have added UK Pounds as a new currency, made it the default currency, and then uninstalled the US Dollar in your osC admin panel. Then in includes/languages/english.php look for 'USD' and change to 'GBP'. Your prices will now display.

 

Before editing files read the 'Parse Error?' link below my name.

 

Vger

Archived

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

×
×
  • Create New...