Guest Posted January 22, 2007 Share Posted January 22, 2007 Hi If this as already been answered elsewhere, my apolgoies, I did spend over 100 minutes searching the site but found no answer. Just similar unanswered postings of the same question. If there is anything in either web or printed pdf documentation, then I have missed it. My web store shows the followng price: £0.00 for all products, and attributes, even though I have the correct price inserted into the product description and the relevant attribute entries. (as a + to the base price entered in the product record). Part of the original demo database remains, those products also show a £0.00; whereas when I first installed the store, these prices were visible. This is a new store I am configuring for the first time. It does have a DWT I purchased. I seem to have integrated that fine, and did so before uploading the store to the web. I've made only minimal changes to code (see below) and nothing to do with price. All my other changes have been through the admin interface. Code changes: The only php changes I have made were to the date format, from a post here (by Vger) when I copied wholesale chunks of code that defined date format, from spanish to english pages. That all seems fine except for one date entry glitch I have yet to resolve. Any suggestions would be appreciated. Regards David Link to comment Share on other sites More sharing options...
Guest Posted January 22, 2007 Share Posted January 22, 2007 http://www.oscommerce.com/forums/index.php?sho...mp;#entry997639 The_Bear Link to comment Share on other sites More sharing options...
Guest Posted January 22, 2007 Share Posted January 22, 2007 http://www.oscommerce.com/forums/index.php?sho...mp;#entry997639 The_Bear :) Thanks... :rolleyes: I suppose £0.000000 x £199 is still just £0.00000000 I've corrected the currency value to 1.000000 as you explained. Thanks. Works perfectly now. Regards David Link to comment Share on other sites More sharing options...
asgmedia Posted January 22, 2007 Share Posted January 22, 2007 :) Thanks... :rolleyes: I suppose £0.000000 x £199 is still just £0.00000000 I've corrected the currency value to 1.000000 as you explained. Thanks. Works perfectly now. Regards David I still have 0 showing on my website. I have checked the currency and thats fine along with english.php set to 'GBP' for UK prices. What else can I check? The only thing I have really done is edit the existing currency and changed that to UK settings. Regards Andy Link to comment Share on other sites More sharing options...
Guest Posted January 22, 2007 Share Posted January 22, 2007 I still have 0 showing on my website. I have checked the currency and thats fine along with english.php set to 'GBP' for UK prices. What else can I check? The only thing I have really done is edit the existing currency and changed that to UK settings. Regards Andy Well I'm probably more in the dark than you are... I've only been looking at OS Commerce for a couple of days... but.. In my case I have two copies of the english.php file. I found it necessary to edit both of them; \catalog (or root)\includes\languages\english.php \catalog (or root)\templates\<your template>\languages\english.php in my default configuration <your template> shows as "osc-standard". So that path would be: catalog (or root)\templates\osc-standardlanguages\english.php But you may be using something other than a default template so check. Check that you have definitely changed the english.php file in the sub-directory of the template you are using. Hope that makes sense... and that someone else will correct me, if I have misunderstood. Regards D Link to comment Share on other sites More sharing options...
clashstore Posted January 23, 2007 Share Posted January 23, 2007 it is the easiest and the most obvious solution of this problem. but where should I check if the currency value is OK?? I try to insert a new good into the shop. I filled in all necessary fields, previewed the product info page from admin module - the price is ok (everywhere). but if I open the catalog from the users side - the price is 0. I don't know what to do. Link to comment Share on other sites More sharing options...
jonquil Posted January 23, 2007 Share Posted January 23, 2007 I still have 0 showing on my website. I have checked the currency and thats fine along with english.php set to 'GBP' for UK prices. What else can I check? The only thing I have really done is edit the existing currency and changed that to UK settings. Regards Andy One thing that worked on someone else's site the other day was to add another currency (in Admin), e.g., EUR. Click Update Currencies. Then go back into the GBP currency, edit, and be sure that it is set as the default currency. jon It's all just ones and zeros.... Link to comment Share on other sites More sharing options...
riskok Posted January 25, 2007 Share Posted January 25, 2007 One thing that worked on someone else's site the other day was to add another currency (in Admin), e.g., EUR.Click Update Currencies. Then go back into the GBP currency, edit, and be sure that it is set as the default currency. jon I have the same problem. When i Update it goes down to 0.00000000 /Patrik Link to comment Share on other sites More sharing options...
jonquil Posted January 25, 2007 Share Posted January 25, 2007 Give this a look. Match the default currency in your Admin to the following: includes/languages/english.php(39): define('LANGUAGE_CURRENCY', 'EUR'); jon It's all just ones and zeros.... Link to comment Share on other sites More sharing options...
♥Vger Posted January 25, 2007 Share Posted January 25, 2007 The Euro is not the currency for the UK, so it should be: define('LANGUAGE_CURRENCY', 'GBP'); Vger Link to comment Share on other sites More sharing options...
jonquil Posted January 25, 2007 Share Posted January 25, 2007 Give this a look. Match the default currency in your Admin to the following: includes/languages/english.php(39): define('LANGUAGE_CURRENCY', 'EUR'); jon As Vger pointed out, yes. I'm sorry I was not clear. I should have written: Match your chosen Admin default currency within the following line of code. If your Admin's default currency is the EURO, then EUR would be defined, as in the following example. If British Pounds, then GBP; if US Dollars, then USD, etc. includes/languages/english.php(39): define('LANGUAGE_CURRENCY', 'EUR'); jon It's all just ones and zeros.... Link to comment Share on other sites More sharing options...
riskok Posted January 25, 2007 Share Posted January 25, 2007 As Vger pointed out, yes. I'm sorry I was not clear. I should have written: Match your chosen Admin default currency within the following line of code. If your Admin's default currency is the EURO, then EUR would be defined, as in the following example. If British Pounds, then GBP; if US Dollars, then USD, etc. includes/languages/english.php(39): define('LANGUAGE_CURRENCY', 'EUR'); jon This is what it tells me Warning: The primary exchange rate server (oanda) failed for USD (us) - trying the secondary exchange rate server. The exchange rate for USD (us) was updated successfully via xe. And then it goes down to 0.00000 again. Regards Patrik Link to comment Share on other sites More sharing options...
jonquil Posted January 25, 2007 Share Posted January 25, 2007 I can duplicate your error. Going into my Admin, I have two currencies: USD and EUR (default). When USD was selected, I clicked Update Currency. Got your warning. I set USD as default, entered 1 as the value, saved and updated currencies. Same warning. I then went into EUR and deleted anything shown in the value, saved, selected the USD as default and Updated Currency. Success. Is it possible that you have a value of 1 in both your currencies? The above may not resolve your problem but it's what I can offer. jon It's all just ones and zeros.... Link to comment Share on other sites More sharing options...
riskok Posted January 26, 2007 Share Posted January 26, 2007 I can duplicate your error. Going into my Admin, I have two currencies: USD and EUR (default). When USD was selected, I clicked Update Currency. Got your warning. I set USD as default, entered 1 as the value, saved and updated currencies. Same warning. I then went into EUR and deleted anything shown in the value, saved, selected the USD as default and Updated Currency. Success. Is it possible that you have a value of 1 in both your currencies? The above may not resolve your problem but it's what I can offer. jon I found the problem. Make sure that the CODE says what it says in english.php. I used "us" before but you should us "USD" Best regards Patrik Link to comment Share on other sites More sharing options...
clashstore Posted January 26, 2007 Share Posted January 26, 2007 I had the same reason of null price as riskok. Make sure the string includes/languages/english.php(39): define('LANGUAGE_CURRENCY', 'EUR'); is the same as in your admin module settings of currency. Link to comment Share on other sites More sharing options...
ice_n_sugar.com Posted January 29, 2007 Share Posted January 29, 2007 I had the same reason of null price as riskok. Make sure the string includes/languages/english.php(39): define('LANGUAGE_CURRENCY', 'EUR'); is the same as in your admin module settings of currency. And if all of the above has been tried, any suggestions? Link to comment Share on other sites More sharing options...
ice_n_sugar.com Posted January 29, 2007 Share Posted January 29, 2007 And if all of the above has been tried, any suggestions? Answering myself - then open your eyes and read ALL the forum and knowledge base AGAIN. Did it! Thanks everyone :) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.