Create a shopping cart and add items to the cart for customer in Shopify

bluewave
Tourist
7 0 2

If you use the graphQL storefront api, treat the "checkout" as a cart, just assume it is the same until the checkout received the customer data.

If you store the checkout ID you can even retrieve it down the line to continue a user session (localstore, session store... or DB) that is the simplest way. The Storefront API doesn't have a "cart" mutation, only checkout.

 

Cheers

0 Likes