Ajax add to cart not displaying product details

Highlighted
Shopify Partner
51 3 9

Anyone else experiencing an issue where an Ajax add to cart call is showing an empty line item in the cart?

This was working fine until a few days ago. Did I miss something?

Was this helpful? Press like!
Did it fix the problem? Mark it as the solution for others!
Buy me a beer? Well, sure!
0 Likes
Highlighted
Shopify Partner
51 3 9

BStubbs_0-1600270086673.png

This is how the cart is displaying. After hitting refresh, the product details are displayed.

Any ideas?

Was this helpful? Press like!
Did it fix the problem? Mark it as the solution for others!
Buy me a beer? Well, sure!
0 Likes
Highlighted
Shopify Staff
Shopify Staff
587 71 128

Hey @BStubbs,

Is the AJAX call providing the expected response? This looks more to me like a theme issue than an issue with the API, so I recommend testing by building a cart while viewing an unedited theme preview. If the cart works as expected in the other theme, this suggests there's an issue with your currently published theme template.

JB | Developer Support @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes