HUHA Posted April 13, 2015 Share Posted April 13, 2015 (edited) Hello In back office the default curencies is $ , the product prices are in $ , but in front office i need that the currencie displayed to be RON, without going to Currency and selecting RON How can i make it that in front office, the prices to be dispalyed in RON by default ? PrestaShop version 1.6.0.13 Thank you Edited April 13, 2015 by HUHA (see edit history) Link to comment Share on other sites More sharing options...
PascalVG Posted April 13, 2015 Share Posted April 13, 2015 Have a look here: https://www.prestashop.com/forums/topic/84971-solved-different-currency-in-front-office-and-back-office/page-2?p=1956868&do=findComment&comment=1956868 Hope that indeed does the trick, Let us know, pascal. Link to comment Share on other sites More sharing options...
HUHA Posted April 13, 2015 Author Share Posted April 13, 2015 Have a look here: https://www.prestashop.com/forums/topic/84971-solved-different-currency-in-front-office-and-back-office/page-2?p=1956868&do=findComment&comment=1956868 Hope that indeed does the trick, Let us know, pascal. Thank you. I apply this changes and is seems that is working. Hi, For Prestashop 1.6.0.9 force currency in frontend. /public_html/classes/tools.php Replace line 431 $currency = Currency::getCurrencyInstance((int)$cookie->id_currency); with $currency = Currency::getCurrencyInstance((int)$cookie->id_currency=2); Replace line 433 $currency = Currency::getCurrencyInstance(Configuration::get('PS_CURRENCY_DEFAULT')); with $currency = Currency::getCurrencyInstance(Configuration::get('id_currency')); It works on my website. Link to comment Share on other sites More sharing options...
lucasdemenezes Posted August 20, 2015 Share Posted August 20, 2015 (edited) in my website this trick doens worked. please, can someone help me? this is great trick. in my website i got a white page. Edited August 20, 2015 by lucasdemenezes (see edit history) Link to comment Share on other sites More sharing options...
lucasdemenezes Posted August 20, 2015 Share Posted August 20, 2015 this trick really works, but when i try to save products or do anything in my website i get this error: Use of undefined constant PS_ROUND_HALF_DOWN - assumed 'PS_ROUND_HALF_DOWN' do you know how to solve this problem? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now