Global expansion, localizing content, and selling in multiple currencies and languages
Hi All,
My shop setup language English, Deutsch. Default is English.
When I use Default language open a product, the link show: *.myshopify.com/de/product/*, added to wishlist.
Open wishlist page, the address is *.myshopify.com/de/wishlist, I click the product, that auto open *.myshopify/com/product/*, so the page change to default language(english). How can I fix.
Wishlist use theme.js: e.url: code as follow:
{var i=n[t];Shopify.getProduct(i,function(e){var t="",a=e.price_varies?"from "+theme.Currency.formatMoney(e.price_min,theme.moneyFormat):theme.Currency.formatMoney(e.price,theme.moneyFormat),
n=0!==e.compare_at_price_min?theme.Currency.formatMoney(e.compare_at_price_min,theme.moneyFormat):"";t+='<div class="wishlist-item-wrapper price--on-sale">',
t+='<div class="wishlist-item-wrapperbox">',t+='<div class="wishlist-main-wrapper">',t+='
<a class="wishlist-img-wrapper" href="'+e.url+'">',t+=' <img src="'+e.featured_image+'"/>',t+=" </a>",t+=' <div class="wishlist-name-wrapper">
<a href="'+e.url+'" class="title-prouct" >'+e.title+"</a>",t+=' <s class="price-item price-item--regular">'+n+"</s>",t+=" <span> "+a+"</span></div>",
Thanks!
Hi @JonathanG it sounds like something is not using the routes object. There's a good guide here.
To learn more visit the Shopify Help Center or the Community Blog.
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025