Jump to content

[SOLVED] In Back office the main currencies = $, but in front office i need RON


Recommended Posts

Hello

  In back office the default curencies is $ , the product prices are in $

 

post-888776-0-26471800-1428920001_thumb.jpg

 

, but in front office i need that the currencie displayed to be RON, without going to Currency  and selecting RON

 

post-888776-0-74135500-1428920002_thumb.jpg

 

 

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 by HUHA (see edit history)
Link to comment
Share on other sites

 

 

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

  • 4 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...