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

BUG CartReservation and Sidecart - can still add to cart if product is unavailable after a cart reservation #18

Open
jsirish opened this issue Dec 4, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@jsirish
Copy link
Member

jsirish commented Dec 4, 2019

Describe the bug
When a cart reservation causes a product to become unavailable, and I close the sidecart, the add to cart button is still available on the product detail page.

The product page will either have to be refreshed so the add to cart form is disabled, or we'll need another endpoint call from the JS to disable the add to cart form/button

Expected behavior
If a product is added to the cart, and the cart reservation causes the product to become unavailable, the add to cart button is disabled upon closing the sidecart.

@jsirish jsirish added the bug Something isn't working label Dec 4, 2019
@jsirish jsirish added this to the 1.0.3 milestone Dec 4, 2019
@muskie9 muskie9 modified the milestones: 1.0.3, 1.0.4 Dec 11, 2019
@muskie9 muskie9 removed this from the 1.0.4 milestone Nov 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants