Jump to content

Multistore linking problem


Recommended Posts

Hello Community!

 

This is my first prestashop website. It was all going fine until now. So to cut to the case. Here is the problem:

 

we have multistore setup of 2 stores:

 

storeA: www.domain.com - (default language is English)

storeB: www.domain.com/storeb/es - (default language is spanish)

 

we need to have a "button" on storeA that will say "storeB" and provide a link to storeB

also

on storeB in the same place we need "a button" that will say "storeA" and provide a link to store A

 

we tried lot of different stuff, but no solution so far. All you help is more than welcome!

Link to comment
Share on other sites

there is no existing switch module like this that I know of...you could however put code in say the header.tpl that would check the current cookie language and display the switch link to the other domain.

 

else

 

you could copy modify the existing blocklanguage module to not switch languages but switch domains or copy the language switch module (to new name) modify it to switch but there are caveats to any approach to this...especially when a customer is referred to a product, then they want to switch to another of the offered languages, how would you switch to the other domain and correct product?

 

if both shops have the same products then why would you not simply create one domain with two languages?

 

surerte

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

×
×
  • Create New...