HUHA Posted April 13, 2015 Share Posted April 13, 2015 (edited) Buna ziua In Back office am setat ca moneda implicita $ , preturile la produse sunt in $ , dar as dori ca in front office cand cineva viziteaza site-ul , fara sa mai schimbe din MONEDA in RON, sa-i arate preturile direct in RON. NU o sa fac update la ratele de schimb valutar. Cum as putea face acest lucru, sa-mi afiseze pretul direct in RON ? Se poate din interfata sau trebuie modificat un fisier ? PrestaShop version 1.6.0.13 Va multumesc Edited April 13, 2015 by HUHA (see edit history) Link to comment Share on other sites More sharing options...
HUHA Posted April 13, 2015 Author Share Posted April 13, 2015 (edited) 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. Unde am facut 2 cu rosu mai sus, se inlocuieste cu cifra ID-ului care are RON-ul in Localization Currencies Edited April 13, 2015 by HUHA (see edit history) 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