Cannot remove items on abandoned carts using Ajax Cart API

Topic summary

Main issue: Items cannot be removed from a cart once it has been flagged as an abandoned checkout when using Shopify’s Ajax Cart API (cart.js endpoints). “Abandoned checkout” here refers to a cart flagged as abandoned after some time away.

Repro steps and behavior:

  • POST /cart/add.js to add items, wait until the cart becomes abandoned.
  • GET /cart.js shows the items as expected.
  • POST /cart/clear.js returns HTTP 200 OK, but a subsequent GET /cart.js shows no items were removed.
  • Attempting item-by-item removal via POST /cart/update.js (setting quantities to 0) removes the first item (GET shows 1 item), but after removing the second item, GET /cart.js unexpectedly restores the original two items.

Status and outcomes:

  • No confirmed solution or workaround provided. Original poster asks if others can reproduce. Issue remains unresolved/ongoing.

Additional posts (off-topic):

  • Questions about migrating a WordPress site to Shopify and whether Shopify can serve as a CMS for a blog. No guidance or decisions offered on these side topics.
Summarized with AI on January 1. AI used: gpt-5.

I cannot clear cart or remove items on cart flagged as abandoned.

this is what is happening me now:

-Add products to cart using POST /cart/add.js

-Wait some time until cart as been flagged as abandoned checkout

-Return to store and call GET /cart.js

You will get what you have previously

-But, now you call POST cart/clear.js, It returns 200 ok.

-Call again GET /cart.js, nothing was removed from cart.

Now, I tried to remove one by one element using POST cart/update.js to update quantities to zero.

And this is what happens, lest say I have 2 items on my abandoned cart.

GET /cart.js gets 2 items

POST cart/update.js update to zero item one

GET /cart.js gets 1 item

POST cart/update.js update to zero item two

Call GET /cart.js and boom! I get the two original items.

Is someone having the same issue?

any help would be greatly appreciated

Hi,

I have a luxury rental car business website. I am using WordPress as a CMS for my website. I learned that Shopify is more simple and easy to manage as WordPress.

How I will migrate all the data of WordPress Website on Shopify Store? Can the expert guys guide me on this? Should I go for Shopify?

I am also wondering about my website as well. What if shopify starts giving cms platform to my medical billing exam blog?