You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the native translation API from Shopify, we can now have this kind of URL : site.com and site.com/fr or site.com/de
But the response from CartJS is always using this structure :
site.com/cart.js,
site.com/cart/add.js
site.com/cart/change.js
site.com/cart/update.js
site.com/cart/clear.js
It would be great to add the current language in the structure : site.com/fr/cart.js (or site.com/de/cart.js)
Currently, when we are using CartJS.addItem, whichever language is being used in the front-office, the response from CartJS is awlays to /cart.js instead of /fr/cart.js (as an example)
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Just realized this was also affecting some of our stores.
We use CartJS with Rivets.
And whenever a line item is updated, the front actually shows a cart in the root locale !
Hi,
With the native translation API from Shopify, we can now have this kind of URL : site.com and site.com/fr or site.com/de
But the response from CartJS is always using this structure :
It would be great to add the current language in the structure : site.com/fr/cart.js (or site.com/de/cart.js)
Currently, when we are using
CartJS.addItem
, whichever language is being used in the front-office, the response from CartJS is awlays to/cart.js
instead of/fr/cart.js
(as an example)Thanks in advance.
The text was updated successfully, but these errors were encountered: