Through Product restrictions settings available in the General settings tab, you can prevent users from checking out if the number of products added to the cart or the spend amount doesn’t match the values you have configured.

Enable the option Enable product quantity restrictions if you want to set a minimum and a maximum number of products that must be added to the cart to complete the order.
- Minimum quantity restriction: define the minimum number of items for each product to be added to the cart. If you don’t want to apply any restriction, set the value to 0;
- Maximum quantity restriction: define the maximum number of items for each product to be added to the cart. If you don’t want to apply any restriction, set the value to 0;
- Quantity groups of: define the number of products that must be purchased in groups (e.g. groups of 4 products);
- Unlock variation quantities: enable this option to calculate the product quantity as the sum of all variations of variable products. (E.g., by setting the minimum quantity to 4, users will be able to add to cart 2 variations A, 1 variation B, and 1 variation C).

The values inserted in the settings dashboard are globally applied to all the products.
To exclude a product from the general restrictions, go to the WooCommerce product page and enable the option Exclude product. On the contrary, if you want to override the global restrictions enable the option Override product restrictions and specify the new values.
