gatsbyjs / gatsby-starter-shopify

A Gatsby starter using the latest Shopify plugin showcasing a store with product overview, individual product pages, and a cart
https://shopify-demo.gatsbyjs.com/
BSD Zero Clause License
311 stars 137 forks source link

gatsby-starter-shopify - Inventory Issue #72

Open hamiltonbrooke opened 2 years ago

hamiltonbrooke commented 2 years ago

Using the Numeric Input component, you can add a quantity of an item to your cart that exceeds the inventory of the item.

For example, there might be 10 necklaces in stock but you're able to add 15 necklaces to your cart which then results in an 'Inventory Issues' page in the Shopify checkout:

Out of stock Some items are no longer available. Your cart has been updated.

What is the best way to resolve this?