Jump to content

Diferrent currencies BO and FO


Recommended Posts

Hello,
I have a question regarding currencies. I need to insert prices in BO in Euro and USD but I need them to be listed in FO in RON (romanian lei). Because of the currency ratio is changing, the RON prices will be different every day. That means a lot of work changing prices every day.
Any solution please?

Thank you,
Petru

Link to comment
Share on other sites

  • 8 months later...

Hi,

1. In your admin panel, go to "Payment > Currencies"
2. Add/choose you default currency = the currency used to enter your prices (ie. USD or EUR)
3. Add the currency you want your customers to be able to use (ie. RON)
4. Edit /prestashop/classes/FrontController.php

Replace:

$currency = Tools::setCurrency();



By:

$currency = new Currency(4);

(assuming your "RON" currency ID is 4)

This should work, and of course disable the module at the top of the shop which allows the customer to change currency.

Regards,

Link to comment
Share on other sites

Hi Bruno! I thought it worked the first time, but a customer sent me an email.
The back office prices is in Korean Won while the front office is in Dollars.
Using the code above, it just changed the currency to Dollars but the value is in Korean Won.

What worked is using the "Force Currency" modification posted by Radu.
http://www.prestashop.com/forums/viewthread/9473/third_party_modules/module_force_currency

In my back office, I am using Korean Won to input prices while the Front office shows the prices converted to USD.

Thanks for the help!

Link to comment
Share on other sites

×
×
  • Create New...