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 - Variant Stock Issue #73

Open hamiltonbrooke opened 2 years ago

hamiltonbrooke commented 2 years ago

The following component from the product page template renders variants that are out of stock, in the select dropdown and allows you to add them to your cart.

{hasVariants && options.map(({ id, name, values }, index) => (
))}

What is the best way to resolve this?