ghostantin Posted February 21, 2010 Share Posted February 21, 2010 Hi guys, I have a slight problem, I want to have the default currency in euro , but when a user enters the site to see the prices by default in $. I had managed to edit tools.php like this: $cookie->id_lang = $id_lang; switch($id_lang) { case '3': $cookie->id_currency=4; //1 is the currency id for selected language_id1 break; } So when i chose the language 3 , it automatically makes the prices viewable in $. But only when the user changes the language , even if this is the default language. Any ideea on this one ? Regards,Ghostantin Link to comment Share on other sites More sharing options...
uddhava Posted February 21, 2010 Share Posted February 21, 2010 What is the reason to have two currencies, when the default for users is dollars ???I think you should let the user change the currency setting, or just use 1 currency if possible.Hacking the core files is not recommended and makes upgrading harder Link to comment Share on other sites More sharing options...
ugur onur Posted June 27, 2010 Share Posted June 27, 2010 Read this please..http://www.prestashop.com/forums/viewthread/52019/regards.. Link to comment Share on other sites More sharing options...
Recommended Posts