I have a shop where I need some products to be sold in groups (you cannot but only 1 qty of this product, you have to buy groups of 2:2,4,6,8….)
There are some plugins that do this, for example i use WooCommerce Min/Max Quantities extension
It works well and does the job on quantity selector of the shop and product pages,
In the normal cart, it works well, putting on the selector the quantity of this product that is really in the cart
On the mini-cart widget, the products sold in groups, instead of showing on the selector the quantity that are in the cart, it shows the minimum group quantity to add. For example, if you have a product in groups of 2 and you have added 10 to the cart, on the mini cart the selector shows 2 qty of this product instead of 10