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
Add to Cart functionality issue #202
Comments
developeryashraj
added a commit
to developeryashraj/react-storefront
that referenced
this issue
Jan 17, 2022
…rt if product already exist in cart
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Describe the bug
When you click multiple times on "Add to Card" button multiple times. It pushes same product for multiple times in array. Whether it should only update the quantity if product is already in cart.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Expected behavior
Quantity of the product should get updated in case if it's already in cart and user clicks on "Add to Card"
Screenshots
Product Page
Cart Page
System information
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: