Jump to content

Language selector should redirect to a shop with different country tld


Recommended Posts

I have a multistore website. Prestashop 1.7.5.
Each shop has two or more languages. And sometimes the same.  For duplicate reason, I want to limit each shop to one language only.

And if the user chooses another language, for example German, he should be directed to the myshop.de store while remaining on the same product page. For example :  hippie pattern pant. 
Usually, the shop takes care to translate the url of the page into the language chosen, while remaining in the same shop : myshop.com.
I want him to go to myshop.de/de.
One difficulty more,  is that if the shop has only one language, it seems to me that the language code (fr, en, de) does not appear in the url.  

 Is there a solution to get this down ?  Someone tried this kind of hack ? Thank you for reading.

Larrson

 

Link to comment
Share on other sites

  • 2 years 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...