Perch Shop - Individual product quantity in cart
I am working on a shop. In my cart I have + and - buttons to increase or decrease item quantity in the cart. When I increase the first item in cart, the other items in the cart also show that same number as the first one.
Now when I increase the 2nd, 3rd etc. item, they individually increase, but when I update they jump back to 1.
I think there is something wrong with the identifier or something, maybe a newbie question, but what am I doing wrong?
My quantity form in cart.html:
<form action='#' class="qty-btns"> <div class="qtyminus"></div> <perch:input env-autofill="false" class="qty" id="qty:<perch:cartitem id="identifier" />" value="<perch:cartitem env-autofill="false" id="quantity" />" type="text" min="0" /> <div class="qtyplus"></div> </form>
Want to reply to this thread?Login with Perch