Global expansion, localizing content, and selling in multiple currencies and languages
I've recently updated a theme for a client using Markets to change all URLs to locale aware ones instead of hardcoded ones.
However I can't find a way to do this with links within areas like Product Description text, has anyone come up with a solution there?
I had thought about using JS to check through anchor tags in the description html and add the locale code if needed, but seems a bit of a hacky solution.
Hey @StephenK!
Not sure if you're still looking for an answer here, but incase anyone else comes across this post, you can just use relative links in the product description.
As an example, instead of "https://store.com/products/name", use "/products/name". Shopify will automatically convert them to the correct market.
Not including the "market code" (ie en-GB) in the url causes the user to be bounced back to the default detected market. Which if someone is overseas (say in fr-FR), but has manually changed the market to their home one (en-GB) and clicks a URL without the code in, it will default back to (fr-FR).
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024