Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

all prices displayed as zero!


Guest

Recommended Posts

Posted

I have just had to copy my sites across to a different testing (localhost) server due to computer failiure.

 

On the two OsC sites, all prices are listed as zero, although the admin shows them correctly.

 

I've tried to keep as much as possible the same in the transition. The only other issue is that I'm having temporary trouble setting some permissions due to the pages being served from a fileshare. Everything else works fine.

Posted

Did you created a new default currency?

In the edit did you put 1.0000000 as the value and then click on update currencies button ?

and in the catalog/includes/languages/english.php around line 36

 

// if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used w$

 

define('LANGUAGE_CURRENCY', 'USD');

Change it to whatever you need

 

HTH

The_Bear

Posted

Thanks for the speedy reply.

 

I copied the database over from the previous installation, so it should all be the same. Just to make sure, I've just recreated the default currency. Still no joy. any more ideas?

Posted

I had this problem yesterday when I had just setup my shop

 

All I did was clear the cookies (and internet cache), and it displays the correct prices.

 

I assume it was storing information in cookies that specificied what currency to use, chances are you've deleted the default currency and made your own? if so, I think it may still be trying to look for the old currency, which dont exist anymore, so it says 0.

 

Hope that helps!

 

om3ga--

Posted

I've got that problem too. Seems that this is a common thing to happen.

 

I edited the default currency then I've got the problem. I had to clear the cookies and the cache and restart the browser as om3ga said, and it displays the correct prices.

Posted

Hmm. clearing the cache didn't do it I'm afraid. any more ideas?

Archived

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

×
×
  • Create New...