When a customer visits a product page, the order quantity is standard set to 0.
I want it to be automatically set to 1, but I have no clue how to do this. How do you do this?
Translation: Normale prijs = Normal price; Aantal = Amount/Quantity; Aan winkelwagen toevoegen = Add to cart
Thanks in advance.
Best Answer
--
The easiest way is that we can change the input value from template: (override this template - not recommend)vendor/magento/module-catalog/view/frontend/templates/product/view/addtocart.phtml
--The second way is the Magento default config: STORES > Configuration > Catalog > Inventory > Product Stock Options > Minimum Qty Allowed in Shopping Cart > > Add Customer Group > change to 1