Jump to content

[SOLVED] Currency set by language


Recommended Posts

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

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

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

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
  • 10 months later...

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

×
×
  • Create New...