Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

My Prices can't display


Guest

Recommended Posts

Hi, I've benn searching for some like this but don't find anything. All of my products in my catalog have their correspondant price, but, when i go to my store all the prices are shown as a "0" instead of their real value. When i'm setting the product price they look well in the preview, but when I'm in the catalog mode always shown as a "0"...Sorry for my bads english, I hope that you can understand my problem and help me to fix it ... I'm not good in this of programming, so I hope that don't have to change anything in my php files!

 

Thanks!!

Link to comment
Share on other sites

  • 2 weeks later...
I had the same problem, and got this posting from The_Bear

 

http://www.oscommerce.com/forums/index.php?sho...mp;#entry997639

 

Just make sure your currency value is set to 1.000000 and not 0.000000

 

Regards

David

 

I still have the problem, even though my default currency is my only currency and its value is set to 1.000000. All prices are showing as 0.

Does anyone know how to fix it?

Link to comment
Share on other sites

In this file: includes\languages\english.php( Line 39 ):

define('LANGUAGE_CURRENCY', 'EUR');

 

The above example shows EUR as the default currency. Whatever currency you have set for your default in Admin, match the currency's 3-letter designation in the above file.

 

American Dollars=USD

Euro=EUR

Pounds Sterling=GBP

 

and so on.

 

jon

It's all just ones and zeros....

Link to comment
Share on other sites

In this file: includes\languages\english.php( Line 39 ):

define('LANGUAGE_CURRENCY', 'EUR');

 

The above example shows EUR as the default currency. Whatever currency you have set for your default in Admin, match the currency's 3-letter designation in the above file.

 

American Dollars=USD

Euro=EUR

Pounds Sterling=GBP

 

and so on.

 

jon

 

In english.php I have:

 

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

 

GBP is my only and default currency. I've updated currency in localization from admin. Still 0

 

Here:

http://extrapc.co.uk/catalog/

Link to comment
Share on other sites

I'm sorry but I don't see zero. I see actual prices listed in GBP.

 

jon

 

Hi, Jon,

I got a problem which shows a price but without a dollar sign. I use USD or AUS dollars. Can you help me to fix it.

 

thanks,

 

charles

Link to comment
Share on other sites

Admin >> Localization >> click on one of your currencies >> Edit

 

In the "Symbol Left or "Symbol Right", enter your symbol. Or you can put "USD" or "AUD" on the right or left.

 

Update

 

Here is a list of symbols for currencies and 3-letter abbreviations worldwide: http://www.xe.com/symbols.htm

 

jon

It's all just ones and zeros....

Link to comment
Share on other sites

Admin >> Localization >> click on one of your currencies >> Edit

 

In the "Symbol Left or "Symbol Right", enter your symbol. Or you can put "USD" or "AUD" on the right or left.

 

Update

 

Here is a list of symbols for currencies and 3-letter abbreviations worldwide: http://www.xe.com/symbols.htm

 

jon

Thanks Jon ! fix it.

 

Charles

Link to comment
Share on other sites

Thanks to all of you, I got my problem fixed thanks to you ... I'm not very good in this but, it looks that it will works just fine, because of you.

Thanks again!

Link to comment
Share on other sites

Thanks to all of you, I got my problem fixed thanks to you ... I'm not very good in this but, it looks that it will works just fine, because of you.

Thanks again!

Hi, seiconet, can you tell me how you fixed it? I'm having the same problem and have followed the advice here, but the price still shows "0".

Thanks

Link to comment
Share on other sites

Hi, seiconet, can you tell me how you fixed it? I'm having the same problem and have followed the advice here, but the price still shows "0".

Thanks

Just let everyone know, the problem is solved after I went to "Display Product Price at "*****/admin/Configuration/Product Listing", and changed the value from the original "3" to "1". I think this is because I have removed all other currencies except one from my system and this part should be adjusted accordingly for the system to work properly.

 

Hope this helps other people in the same boat.

Link to comment
Share on other sites

Hi, seiconet, can you tell me how you fixed it? I'm having the same problem and have followed the advice here, but the price still shows "0".

Thanks

Hi, and sorry for not respond sooner ... What I did was this

 

In this file: includes\languages\english.php( Line 39 ):

define('LANGUAGE_CURRENCY', 'EUR');

 

Thanks to ice_n_sugar.com for this .... I had to create a new currency acording to my languaje and make the php file this change ....

 

In this file: includes\languages\spanish.php( Line 39 ):

define('LANGUAGE_CURRENCY', 'MXN');

 

Of course in currency I put MXN as my currency code, in Languajes I put Spanish to fit my currency settings, and that was all ... It works fine for me

Link to comment
Share on other sites

Just let everyone know, the problem is solved after I went to "Display Product Price at "*****/admin/Configuration/Product Listing", and changed the value from the original "3" to "1". I think this is because I have removed all other currencies except one from my system and this part should be adjusted accordingly for the system to work properly.

 

Hope this helps other people in the same boat.

Well I haawe tryed all but it wan't show other than 0 in produkt lisit. The prevjue sow reight but in catalog it show 0 I have onlu Euro and it's set to 1.00000 and I have EUR in the laguefile too. And leiter non of the tip here have help me I hope any one now wats wrong. Also the € will show up but I have set it to thow on the right of the ptice...

Link to comment
Share on other sites

  • 2 months later...
In english.php I have:

 

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

 

GBP is my only and default currency. I've updated currency in localization from admin. Still 0

 

Here:

http://extrapc.co.uk/catalog/

 

Renata,

 

I had the same problem and after changing the above file (english) define('LANGUAGE_CURRENCY', 'AUD'); I had to do the following:

 

 

In Admin, My Store set 'Switch To Default Language Currency' to 'true'.

 

This is what did the trick for me.

 

Just for info purposes, I have English as the only language and AUD as my only currency

 

Cheers

 

Andy

Link to comment
Share on other sites

  • 3 months later...
In english.php I have:

 

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

 

GBP is my only and default currency. I've updated currency in localization from admin. Still 0

 

Here:

http://extrapc.co.uk/catalog/

 

 

Thanks for this fix, I had exactly the same problem, changed the 'define('LANGUAGE_CURRENCY', 'USD');' to GBP and all was fine and dandy :)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...