Jump to content

Chosing language by domain and not by cookie part 2


west28

Recommended Posts

I have Presta Shop v 1.5.4.1. in multidomain installation.

Based on this topic http://www.prestasho...16-development/ I made changes in FrontController.php change currency by domain and change language by domain [not by default language / currency in BO] Code [line 151]:

 

if(...)
$currency = Currency::getCurrencyInstance((int)('3'));
else(...)
$currency = Tools::setCurrency($this->context->cookie);

 

Currency works fine but there's a problem with language. Do you have any idea were is the problem?

Edited by west28 (see edit history)
Link to comment
Share on other sites

  • 4 months later...
  • 2 weeks 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...