Merging two stores and setting HREFLANGS

Merging two stores and setting HREFLANGS

FranZurita
Shopify Partner
5 0 1

Hi everyone. 

 

We were in the process of merging two Magento stores into one Shopify, and would like to know how to properly set the HREFlangs

 

1) The first magento was for Spain/International, with hreflangs es-Es and en-ES

2) The second magento was for Germany with hreflangs en-DE and de-DE

 

Currently we are using Shopify Markets to manage some diferences beetween countries (prices, text, etc) manged throught diferent pages ( optical and optical-germany)

 

Also both markets (Spain & International and German, are translated to Spanish, German and English

 

This would be the expected result 

 

<link rel="alternate" hreflang="es-ES" href="https://www.client.com/collections/gafas-graduadas">
<link rel="alternate" hreflang="es-DE" href="https://www.client.com/collections/gafas-graduadas-alemania">

<link rel="alternate" hreflang="de-ES" href="https://www.client.com/de/collections/brillen">

<link rel="alternate" hreflang="de-DE" href="https://www.client.com/de/collections/brillen-deutschland">
<link rel="alternate" hreflang="en-ES" href="https://www.client.com/en/collections/optical">
<link rel="alternate" hreflang="en-DE" href="https://www.client.com/en/collections/optical-germany">
<link rel="alternate" hreflang="x-default" href="https://www.client.com/en/collections/optical">
 
But instead Shopify is displaying this one, only es-ES, en-ES, de-ES
 
Screenshot_6.jpg
 
Could you please let us now how to proceed with this? Kind regards and trully thanks in advance, we are struggling with this
Replies 2 (2)

FranZurita
Shopify Partner
5 0 1

Please need help with this.

 

Kind regards

FranZurita
Shopify Partner
5 0 1

Let me know, we are stuck on this, thanks in advance.