You can create some special links. 

  1. Give your link the additional class name path-link
  2. You can add the parameter %path% to the end of the HREF attribute to create a deep link to the new domain with the actual path structure.
  3. You can use the attribute name "data-as-method" to redirect the outer page to the new URL.
  4. With the attribute name "data-with-close" the redirect closes the popup and redirects then the outer page to the new URL.


Here some examples:

<a class="... path-link" href="http://de.<yourdomain>.com/%path%" data-as-method="true" data-with-close="true">German version</a>


If the customer comes to this URL: https://www.<yourdomain>.com/collections/all then the link will show to https://de.<yourdomain>.com/collections/all.

If the customer clicks on the link the popup will be closed for the actual domain and if you have "Remember close state" of on, the closed state will be saved in a cookie for the domain.