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

PDP Add to cart button should always be active unless out of stock #221

Closed
agurumurthy96 opened this issue Nov 20, 2021 · 0 comments · Fixed by #222
Closed

PDP Add to cart button should always be active unless out of stock #221

agurumurthy96 opened this issue Nov 20, 2021 · 0 comments · Fixed by #222

Comments

@agurumurthy96
Copy link
Contributor

agurumurthy96 commented Nov 20, 2021

As a shopper, I need the "Add to Cart" button to be always active so that I'm not guessing what I have to do to add a product to cart.

Acceptance Criteria:
"Add to Cart button" is always active (unless the item is out of stock)
When the "Add to Cart" button is clicked but the product variants haven't been selected, show error state "Please select all your options above". See designs.

Implementation details:
Error message "Please select all your options above" is in the same place as "Out of Stock" error

This is a similar interaction with the forms during checkout
Working example on NTO demo: https://nto-pwakit-production.mobify-storefront.com/undefined/product/2010033?color=BE2

@W-9323464@

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

Successfully merging a pull request may close this issue.

1 participant