I have a WooCommerce site where I have different customer groups that I manage via a plugin from German Market (B2B). There you can also set different minimum quantities for a product and customer group.
So I have created a condition for the add to cart button in the shop, where this minimum quantity should also be used for the attribute data-quantity
.
This is also output correctly in the html code.
Nevertheless, only one piece is placed in the shopping cart instead of 10 in this case! It also does not work if you enter a number manually.