Through the Cart 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 fulfill the values you have configured.
Cart quantity restrictions
Enable the option Enable cart quantity restrictions 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 in 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 in 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 5 products);
Enable the option Enable cart spend restrictions to prevent users from completing their order if the amount is higher or lower than the values you have specified.
- Minimum spend restriction: define the minimum spend for products in the cart. If you don’t want to apply any restriction, set the value to 0;
- Maximum spend restriction: define the maximum spend for products in the cart. If you don’t want to apply any restriction, set the value to 0;
- Include shipping rates and relative fees: enable this option to include the shipping fees in the amount calculated for the restriction;
- Prevent coupons calculation: enable this option to exclude coupons from the amount calculated for the restriction.
The values inserted in the settings dashboard are globally applied to all the categories and/or tags.
The system checks that the total amount of the products of each category and/or tag fulfills the specified limits.
To exclude a category or a tag from the general restrictions, go to the WooCommerce category page and enable the option Exclude. On the contrary, if you want to override the global restrictions enable the option Override quantity restrictions and/or Override spend restrictions.