Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product Price Displaying As 0


Wenchkin

Recommended Posts

Posted

I've just added a test product to my new installation. In preview mode I can see the price at the top right corner and everything looks fine. When I view the shop without being logged in however, the price shows as 0, including the one under the thumbnail.

 

Any ideas what I'm doing wrong?

 

Wenchy

Posted

You got to set the countries and regions and all that stuff accordingly, otherwise when you're a guest the system cannot determine where you are from and doesn't know which currency to use.

 

There are a couple of those settings, so take the time to figure anything out before starting with the products section.

Posted

I've set that side of it all up, at least I believe I have. I'll try logging in a dummy user and see what happens.

 

I've only got 1 currency set up so far, so I'd have thought it would just display that as a default price. I would ideally like to see prices at least in GBP for any random visitors browsing the site etc. I'll keep fiddling heh.

 

Thanks!

 

Wenchy

Posted

I'm pretty sure you've overlooked one of the settings. Happens pretty quick, cause the relations between the settings are sometimes not obvious.

Posted

Ok,

 

Logged in test user who's setup as in UK. No prices showing.

 

Checked my settings, only language is English, GBP is the only currency installed.

Set the correct zone for where the shop is.

I have a whole list of countries and zones already setup, deffinately the UK ones which I'm looking at to start with.

The only things I have empty are tax zones, tax classes and tax rates. Is that where I've gone wrong?

Oh and under config, I've set it to automatically change to default language currency. I tried setting that to false and reloading the test account, but still no prices.

 

Wenchy

Posted

In catalog/includes/languages/english.php change

 

define('LANGUAGE_CURRENCY', 'USD');

 

to

 

define('LANGUAGE_CURRENCY', 'GBP');

 

That setting must match your default currency for prices to show up.

 

HTH

Archived

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

×
×
  • Create New...