Guest Posted November 21, 2006 Posted November 21, 2006 I have changed my currency to GBP but it does not seem to be updating. I have changed the LANGUAGE_CURRENCY to GBP in my includes/languages/english.php file. I have added a new currecny with GBP then updated currencies to get the correct conversion rate, then set the GBP one to be default and updated again. Now the prices are showing but the $ sign is still there. GBP is set to be the default in the admin panel. Any idea why it might be using the $ symbol when the settings under GBP currency says to put ? symbol to the left? Thanks
Guest Posted November 21, 2006 Posted November 21, 2006 Now my currency is just displaying as 0 without any symbol at all. I think it may have something to do with the following. I have changed both includes/languages/english.php and admin/includes/languages/english.php I edited the date for the DOB, i did this by folloing these instructions I also made some changes to a file right near the begining of learning osc and i cant remember the file name but its where you can set the page description which shows up in the browser information bar. I have tried so many things to try and get this sorted but cant fix it. Has anyone else had this problem or does anyone know how to fix it?
GemRock Posted November 21, 2006 Posted November 21, 2006 Now my currency is just displaying as 0 without any symbol at all. This is possibly an indication of the currency Code is wrong: it should be GBP (localisation - currencies), and not anything else. Ken commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile). over 20 years of computer programming experience.
GemRock Posted November 21, 2006 Posted November 21, 2006 Code is GBP, any other ideas? No, not really. Perhaps too many changes have been made to try to get this right. In fact, to get it shows GBP, you only need to set up the UK currency and make sure all the settings there are correct, and set it as default. Any others are not relevant, not even the define('LANGUAGE_CURRENCY', 'USD'), ie, just leave everything else as default. That's what I can remember. At the moment, I can only re-produce the all zero w/o symbol error but that you said was not your case. Ken commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile). over 20 years of computer programming experience.
jdvb Posted November 21, 2006 Posted November 21, 2006 alter table currencies set symbol_left varchar(13) value for GBP £ that should do the trick
GemRock Posted November 21, 2006 Posted November 21, 2006 ...In fact, to get it shows GBP, you only need to set up the UK currency and make sure all the settings there are correct, and set it as default. Any others are not relevant, ... I just install a new osc on local server (5 minutes work), and go straight to localisation - currencies, set up UK currency and entered all its settings ( symbol, decimal point decimal place etc, set it as default, came back to the shop front, and it shows UK ? currency w/o problem. I touched NOTHING else. So I can confirm what I said above. Ken commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile). over 20 years of computer programming experience.
jdvb Posted November 21, 2006 Posted November 21, 2006 It was not that problem, but a problem with character encoding. utf versus latin I guess
GemRock Posted November 21, 2006 Posted November 21, 2006 It is this problem that is being asked: Now my currency is just displaying as 0 without any symbol at all. First, all prices are ZERO; secondly, no currency symbol. Character set causes prices to be zero? Not in my mind. Meddling about these character sets to show prices? Only when I am not in my right mind I suppose. All that ought to be said has already been said as far as I am concerned. Good luck! Ken commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile). over 20 years of computer programming experience.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.