I am trying to change a standard product quantity box.
My main problem, that this field is a text field... in product.twig:
If I change the input type from TEXT to NUMBER (and I also want to add skip="10" etc), add to cart button doesn't work correctly.<input type="text" name="quantity" value="{{ minimum }}" size="2" id="input-quantity" class="form-control" />
It does'nt matter what I write, it always add "1" product to the cart.
I am despered. I don't know where to look for the problem. Maby I need to change something in button ID (button-cart)?
But I don't know where to find all function of button-cart ID...
Maby someone can give me any advice?