Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Zero price issue


JuanIgnacio

Recommended Posts

I have an issue with the prices in my store.

In the admin, the price show ok, the preview when creating or editing a product shows the price ok, but on the catalog, the product listing, the new products module and the product info page, all show 0

 

Any idea where I can start looking into the issue. I only have one currency. I have no idea what the problem is.

Link to comment
Share on other sites

I have an issue with the prices in my store.

In the admin, the price show ok, the preview when creating or editing a product shows the price ok, but on the catalog, the product listing, the new products module and the product info page, all show 0

 

Any idea where I can start looking into the issue. I only have one currency. I have no idea what the problem is.

Did you delete the USD and fail to correctly set another as the default?

Link to comment
Share on other sites

The fix is in the Admin. Make sure you have the correct country code for the currency you added and ensure one currency is set to the default.

 

 

 

Chris

Link to comment
Share on other sites

Yes, I deleted default USD but then I set another as the default but there still seems to be an issue there. Is there a way to fix this through the mysql db?

You need to make your currency your default currency in Admin because you deleted the USD which is the default currency when OSC is installed.

 

You also need to do this:

 

look in catalog\includes\languages\english.php and make

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

 

this

 

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

define('LANGUAGE_CURRENCY', 'AUD');

 

I use AUD, you may use CAD or GBP or .........

 

You may also have to set Admin ---> My Store --- > Default Language Currency to true.

Link to comment
Share on other sites

How do I set the country code for the currency?

In currencies, I have currency code, but no country to set for that currency.

 

I have only one country: AR - ARG

I have only one language: ARG

I have only one currency: es

 

I already had Switch o default currency to true.

I had no LANGUAGUE_CURRENCY line in espanol.php

I added and set it to ARG which is the currency I have

 

 

I think I have something corrupted here

 

In My Store, I select Argentina, but after I save the change, I see 233, not Argentina.

I started to touch thins and now, when I enter the catalog I see:

 

Warning: require(includes/languages/.php) [function.require]: failed to open stream: No such file or directory in /www/.com.ar/htdocs/compra/includes/application_top.php on line 288

 

Fatal error: require() [function.require]: Failed opening required 'includes/languages/.php' (include_path='./:/usr/local/php5/lib/php') in /www/.com.ar/htdocs/compra/includes/application_top.php on line 288

 

Oh, line 288 in applpication_top.php doesn;t exist :S

 

I also now notice I have this lines when I enter into customers:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /www/.com.ar/htdocs/compra/admin/customers.php on line 733

 

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /www/.com.ar/htdocs/compra/admin/customers.php on line 735

 

Warning: reset() [function.reset]: Passed variable is not an array or object in /www/.com.ar/htdocs/compra/admin/includes/classes/object_info.php on line 17

 

Warning: Variable passed to each() is not an array or object in /www/.com.ar/htdocs/compra/admin/includes/classes/object_info.php on line 18

 

Is this last one a db problem or do I have to re-upload the files?

 

Im so lost here

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...