JRGandara Posted May 16, 2011 Share Posted May 16, 2011 Hello!I need some help on this:My store has 3 languages: English, Spanish and Portuguese. I need the following:- English and Spanish languages force currency to Dollar- Portuguese force currency to Real- The currency drop down menu would be hided, since I don´t want the visitors changing the currency.Any suggestions will be welcomed.Thank you! Link to comment Share on other sites More sharing options...
JRGandara Posted May 16, 2011 Author Share Posted May 16, 2011 Well, I launched my store this Saturday and I already having problems with this currency/language system. My default language is Portuguese, because 70% of our customers are in Brazil. But we have lots of US customers as well. And this weekend only, three orders were set with currency in Real, not dollar. They simple don´t realize the currency was in Real, even the symbol being different (R$ x U$) and the price more than double due conversion rates and taxes. I had to cancel the orders and explain and ask them to put a new one with Dollar currency selected. Looks like this will be a big headache. Is possible that nobody here have this very same problem? It´s the second time I ask for help and nobody have even a single suggestion.Please, someone can help me on this? Link to comment Share on other sites More sharing options...
JRGandara Posted May 16, 2011 Author Share Posted May 16, 2011 Looking for all codes about currency in this forum and outside, I finally did it. Here is what I did to someone having this very same problem and never getting helped:In the file init.php, add the following code in the line 31 (My Prestashop version is 1.3.2.3) if ($cookie->id_lang == 5) {$cookie->id_currency = 4; } else {$cookie->id_currency = 2; } In my case, if the language is Portuguese, will force Real currency, if English or Spanish, will force Dollar.As the currency selection drop down menu is not needed anymore, I commented all the code in the file blockcurrencies.tpl in the blockcurrencies module.Hope this will be useful for someone else.Cheers 1 Link to comment Share on other sites More sharing options...
emik Posted May 22, 2011 Share Posted May 22, 2011 works in 1.4?It is not me Link to comment Share on other sites More sharing options...
JRGandara Posted May 22, 2011 Author Share Posted May 22, 2011 Not sure, I tested in version 1.3. But worth a try. Link to comment Share on other sites More sharing options...
weit Posted June 26, 2011 Share Posted June 26, 2011 works in 1.4?It is not me Hi, for version 1.4 can use this solution. Simply replace the existing function switchLanguage.http://www.prestashop.com/forums/viewthread/52019/configuring___using_prestashop/change_currency_automatically_when_switching_from_one_language_to_another Link to comment Share on other sites More sharing options...
tomerg3 Posted June 26, 2011 Share Posted June 26, 2011 You can also check out http://www.prestashop.com/forums/viewthread/105240/ for that and more. Link to comment Share on other sites More sharing options...
export_miami Posted May 7, 2012 Share Posted May 7, 2012 Hello! I need some help on this: My store has 3 languages: English, Spanish and Portuguese. I need the following: - English and Spanish languages force currency to Dollar - Portuguese force currency to Real - The currency drop down menu would be hided, since I don´t want the visitors changing the currency. Any suggestions will be welcomed. Thank you! Olá qual seu site? Link to comment Share on other sites More sharing options...
Recommended Posts