react-storefront icon indicating copy to clipboard operation
react-storefront copied to clipboard

ISSUE #202 Update quantity if product already exist in cart

Open developeryashraj opened this issue 2 years ago • 0 comments

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.

developeryashraj avatar Jan 17 '22 09:01 developeryashraj