/cart/update.js bug

robbyklein
New Member
1 0 0

Having some issues with /cart/update.js route on multilingual stores:

GET /de/cart.js - Sends back the cart object translated properly.

POST /de/cart/update.js - Sends back most translated, but items[i].variant_options is sent back in the original language.

 

Any ideas?

0 Likes
_JCC_
Shopify Staff
Shopify Staff
145 20 26

Hey @robbyklein ,

Happy to help you out with this.

I've completed some preliminary testing and wanted to confirm I'm able to reproduce the issue. I've logged an issue internally but I don't have a timeline for a fix. I will of course follow up when I do. In the meantime, the only workaround I see is doing a subsequent GET request from the successful response to the POST request modifying the cart.

Regards,
John

John C | Developer Support @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

0 Likes