Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gatsby-starter-shopify - Variant Stock Issue #73

Open
hamiltonbrooke opened this issue Oct 3, 2022 · 0 comments
Open

gatsby-starter-shopify - Variant Stock Issue #73

hamiltonbrooke opened this issue Oct 3, 2022 · 0 comments

Comments

@hamiltonbrooke
Copy link

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) => (
handleOptionChange(index, event)} > {`Select ${name}`} {values.map((value) => ( {value} ))}
))}

What is the best way to resolve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant