Alternate products in multi-language shops
Guide to creating hreflang alternate tags for products in Shoporama stores running in multiple languages.
If you have a shop in multiple languages, you should use hreflang tags to tell Google which language versions belong together. Shoporama automatically supports this for products.
How it works
When you have set up multiple languages in your shop, Shoporama automatically generates hreflang links in the HTML header:
<link rel="alternate" hreflang="en" href="https://dinshop.dk/produkt-url" /> <link rel="alternate" hreflang="en" href="https://dinshop.dk/en/product-url" />
How to set it up
To get hreflang tags on your products:
- Make sure your languages are configured under Settings → Language
- Translate your product titles and descriptions into the active languages
- Shoporama automatically generates hreflang tags based on the active languages
Multiple shops on different domains
If you have separate shops for different countries (e.g. dinshop.dk and dinshop.no), you can link them together via hreflang. Add hreflang tags manually in your theme:
<link rel="alternate" hreflang="en" href="https://dinshop.dk<{$product->getUrl()}>" /> <link rel="alternate" hreflang="no" href="https://dinshop.no<{$product->getUrl()}>" />
Tip
Hreflang tags help Google show the correct language version to users in different countries. This improves SEO for international shops.
Do you need help? Contact us at support@shoporama.dk.
Related articles
Add multiple products to the basket at a time
Guide to implementing an 'add more to cart' feature, for example on landing pages or wholesale pages.
Update the cost price of multiple products at once
Guide to mass edit the cost price (purchase price) of multiple products in the Shoporama admin.
Age verification on products
Guide to setting up age verification on products in Shoporama. Set the age requirement to 16 or 18 years and let the payment gateway handle the...