Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
At the moment the request to the cart.js doesn't fetch the translated content of the products such as the title.
Would it be possible to prefix the request url with the current root url?
For example when you translate your shop to French the root url will be /fr.
The ajax request to
/cart.jsfetches the products in the default language.The products will be translated when you change the request to
/fr/cart.js.As a side note this should be mentioned in the docs as well:
https://shopify.dev/docs/themes/ajax-api/reference/cart