Petru Posted September 11, 2010 Share Posted September 11, 2010 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 More sharing options...
betch Posted June 2, 2011 Share Posted June 2, 2011 I have the same dilemma... is there a solution to this?Please help... Link to comment Share on other sites More sharing options...
Bruno Leveque Posted June 2, 2011 Share Posted June 2, 2011 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.phpReplace: $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 More sharing options...
betch Posted June 2, 2011 Share Posted June 2, 2011 @Bruno - Thank you so much! Link to comment Share on other sites More sharing options...
Bruno Leveque Posted June 2, 2011 Share Posted June 2, 2011 You are welcome Let me know if this resolves your issue or if you need any help. Link to comment Share on other sites More sharing options...
betch Posted June 4, 2011 Share Posted June 4, 2011 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_currencyIn 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 More sharing options...
Recommended Posts