Shopify Buy SDK fetch checkout is returning a response with line items that have been deleted

Shopify Buy SDK fetch checkout is returning a response with line items that have been deleted

Sutch
Visitor
1 0 0

We are using the Shopify headless and use Shopify Buy SDK for the cart creation/retrieval - The problem we've found now is that if a customer has an item in their cart and the item is removed from the store in Shopify, we are still getting the extra line item when fetching the cart with some basic details. The total price of the cart includes the missing product so we're unable to do anything about it.

Has anybody experienced this before? Part of the response for a test product that has been deleted in Shopify is shown below.

Sutch_0-1698669023651.png

 

Replies 0 (0)