Quantcast
Channel: Customized Commerce 13 and earlier versions
Viewing all articles
Browse latest Browse all 9642

Fallback languages and URLs in Commerce

$
0
0

Hello,

We are trying to mimic support for Fallback languages in Commerce. For now we are able to take the entry content with fallback support, but we are having an issue with the URLs. For example,

  • we have 2 languages: {en-us} Master language and {en-gb}.
  • 1 product is created in {en-us} language and does not have a version in {en-gb} language
  • The URL for en-us language is /en-us/catalog/node/product1 and when browsing to it we see the product detail page. However when we navigate to /en-gb/catalog/node/product1 we get 404 which is understandable, because there is no content published in that language.

My question is: is there a way to allow /en-gb/ URLs for commerce (even if no version is published in that language) and handle the loading of the content myself?

Thank you!


Viewing all articles
Browse latest Browse all 9642

Trending Articles