Skip to content
Advertisement

Tag: shopping-cart

JS doesn’t change the value of input

I’m writing cart-box that will change the quantity of products in cart. It works only if I have one box (one product) in cart, but when I have more products in cart it changes the value of the first input only. This is my html code (earlier in the code I’ve got loop for my products): And this is JS

Advertisement