Guest Posted October 18, 2005 Posted October 18, 2005 Hello. I have a slight problem. I'm in the early stages of setting up an online store, and for some reason I am getting a 0 for all of the prices of the products, as show below: Why is this happening?
annieoakley Posted October 18, 2005 Posted October 18, 2005 Hello.I have a slight problem. I'm in the early stages of setting up an online store, and for some reason I am getting a 0 for all of the prices of the products, as show below: Why is this happening? This may be a stupid question, but have you gone in through the Admin tool and added a price to your product?
Guest Posted October 18, 2005 Posted October 18, 2005 make sure the currency set in the catalog\includes\languages\english.php is the one you are using. Default is USD. (Same for the admin of course)
berkedam Posted October 18, 2005 Posted October 18, 2005 Please check all this: admin => Location / Taxes: Countries Zones Tax Zones Tax Classes Tax Rates admin => Languages / Valuta admin => My Store => Country admin => My Store => Zone admin => My Store => Display Price with tax "If you're working on something new, then you are necessarily an amateur."
Guest Posted October 18, 2005 Posted October 18, 2005 Thanks for the replies. I checked all of that and have set it how I want. Is there a code I should be using for UK sterling (Pounds - ?) ?? I was also wondering how I change the date format from mm/dd/yyyy, as in the UK we do it by dd/mm/yyyy, it would help prevent confusing registering customers. Thanks alot.
Guest Posted October 18, 2005 Posted October 18, 2005 for the pound use the £ what date you want to change? The one on the footer?
Guest Posted October 18, 2005 Posted October 18, 2005 Do I add that to the currency page in the admin area? If not, where do I put that? The date that has struck me most is the one on the registration page...
Guest Posted October 18, 2005 Posted October 18, 2005 yes for the pound sign (as I post it) enter it in the admin (where the currency sign is same place as the $) to change the gregorian date open the catalog\includes\languages\english.php locate functuib tep_date_raw change this: function tep_date_raw($date, $reverse = false) { to this function tep_date_raw($date, $reverse = true) { backup the dbase before this change, because further entries will be with date reversed
Guest Posted October 18, 2005 Posted October 18, 2005 Thankyou, I did all of that... On the registration page, where it asks for your date of birth, it states "(eg. 05/21/1970)". Do I have to change this in a language file to "(eg. 21/05/1970)". The currency problems still remains...Do you have any other ideas why this might be happening? It does show the price in the Edit product area now though. For the currency on the admin page I have the following: Title: UK Pound Code: UK Symbol Left: ? Decimal Point: . Thousands Point: , Decimal places: 2 Value: 1.00000000 And it it set to default....
Guest Posted October 18, 2005 Posted October 18, 2005 for the date yes you need to change the default strings (3 places) one is in the admin. for the currency make sure the currency code is correct its not UK its GBP And make sure the GBP is defined in the catalog\includes\languages\english.php Symbol left should read this £
Guest Posted October 19, 2005 Posted October 19, 2005 Thanks again. I tried that before, and changed it all back to GBP, and nothing have changed, the price is still displayed as 0. I changed symbol left to "£" but after it has saved and I edit the currency again, it is "?". This is frustrating
Guest Posted October 19, 2005 Posted October 19, 2005 ok the pound should be ok then. Now for the prices check the catalog\includes\languages\english.php make sure default currency there is GBP (osc default is USD)
Guest Posted October 19, 2005 Posted October 19, 2005 Hello, I changed that too. This is part of the file: // 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')
241 Posted October 19, 2005 Posted October 19, 2005 Thankyou,I did all of that... On the registration page, where it asks for your date of birth, it states "(eg. 05/21/1970)". Do I have to change this in a language file to "(eg. 21/05/1970)". For the currency on the admin page: Title: UK Pound Code: GBP Symbol Left: ? Decimal Point: . Thousands Point: , Decimal places: 2 Value: 1.00000000 set this to default in the admin mystore set Switch To Default Language Currency false this negates the next bit catalog/includes/languages/english.php / 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') then when entering prices make sure that you use the decimal point . and not a comma , clear your temp cache of internet files from your browser and check your site. No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Guest Posted October 19, 2005 Posted October 19, 2005 Thanks alot. That seemed to have work, I set the option to "True" though. I cannot thank everyone enough for the support, it was great :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.