Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
I was trying to use createCart to create a cart. It can return all the data I need, but the quantity is always 0.
Go to the solution
This is an accepted solution.
Make sure the item has inventory in the store, otherwise this is what it does.
View solution in original post