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

ISSUE #202 Update quantity if product already exist in cart #203

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

developeryashraj
Copy link

@developeryashraj developeryashraj commented Jan 17, 2022

Issue #202

Checking if product exist in store then call updateCart function with existing quantity + 1 on click of "Add to Cart"

Before

image

After

image

Note :- Only the initial store has id of product as Number. And then if we do "Add to cart" from anywhere it is being added as string. Hence made it string in initial store as well.

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 this pull request may close these issues.

None yet

1 participant