Abandoned Checkout - How to test?

Highlighted
New Member
1 0 0

I'm making an API call to get abandoned checkouts using:

ShopifyAPI::AbandonedCheckout.all

This shows successful but returns empty. I assume this is because I have no abandoned checkouts in my development store. How can I create checkouts in my dev store to test this? I tried adding products to the cart, but that does nothing. I'm blocked from going to checkout in the public-facing dev store.

It seems like such a basic question, but I'm stuck. Thank you in advance for your help!

0 Likes
Highlighted
Shopify Staff
Shopify Staff
1040 140 165

Hey @thurston217,

 

From the docs:

 

A checkout is considered abandoned when a customer leaves the checkout after the first page without completing their purchase.

Try adding products to cart, head to checkout and fill out the first page, proceed to shipping and then close the window.

0 Likes