1. WooCommerce Quantity Manager
  2. Getting Started

Setting global quantity rules

This article explains how to add global quantity rules and default quantities using the WooCommerce Quantity Manager plugin.

All of these WooCommerce quantity rules are controlled at WooCommerce → Settings → Products → Quantity Manager in the WordPress admin. The rules set on this page will apply to all the products in your store, unless you override them by setting category, product or variation rules.

Order quantity rules

These options control the number of items that customers can purchase in a single order. Enter a whole number in the Minimum and Maximum fields.

The global WooCommerce quantity rules apply to the entire cart. For example, if you set a minimum of 5 and a maximum of 10 then the cart can contain between 5 and 10 products, regardless of which products they are and which categories they are in. It could be 5-10 of the same product or variation, or 5-10 different products or variations.

You can enter a minimum quantity, maximum quantity, or both. If you leave either field blank then no rule will be set. For example, if you enter a minimum of 5 and no maximum then customers will be forced to add at least 5 products to their cart in order to check out, but there will be no maximum.

Order value rules

Enter a price without the currency symbol (e.g. 10 or 15.99) to set a minimum and/or maximum value for the entire cart.

The global order value rules apply to the entire cart. For example, if you set a minimum of $20 and a maximum of $100 then the cart can contain any combination of products, but their total cart value must fit within this range.

You can enter a minimum order value, maximum order value, or both. If you leave either field blank then no rule will be set. For example, if you enter a minimum cart value of $20 and no maximum then customers will be forced to spend at least $20 before they can check out, but there will be no maximum.

Default quantity

The default quantity in WooCommerce itself is 1. This means that a quantity of 1 will always appear in the quantity field when the product page first loads.

You can change the default quantity using this option. Enter any whole number, including 0.

The global default quantity will appear as the starting value in the quantity picker throughout your store, except for any products where you have overridden this on a category or product basis. The default quantity just sets the initial quantity starting value, which the customer can then change. It does not affect the quantity they can add to the cart, and you can do this with the other options in WooCommerce Quantity Manager.

Quantity step values

By default, customers can purchase products in any quantity increment - i.e. 1, 2, 3, and so on. Enter a whole number to add step values/quantity groups to your store. This forces customers to purchase products in specific quantity increments.

For example, if you enter 5 then products can only be bought in a quantity of 5, 10, 15, 20, etc. Again, this can be overridden for specific categories, products or variations.

Step value calculation

This option controls the logic for how the step values/quantity increments are calculated in your store:

  • Individual products/variations - Step value increments apply to each product individually. If you set a global step value of 5 then you must order 5/10/15/etc. of Product A and 5/10/15/etc. of Product B. You cannot buy 2 of Product A and 3 of Product B.
  • Share across multiple products - Step value increments are calculated across multiple proudcts. For example, if you set a global step value of 5 then customers must order any combination of products in increments of 5/10/15/etc. If you set a category step value of 5 then customers must order any combination of products from that category in increments of 5/10/15/etc.

User roles

By default, the quantity rules will apply to everyone who buys from your store, regardless of their user role. If you want to control the WooCommerce quantity per user then you can select the rules that you want the roles to be used for.

For example, you might be using Quantity Manager with our Wholesale Pro plugin, which creates a 'wholesale' role. You can select the 'Wholesale' rule so that the WooCommerce quantity rules will only apply to logged in wholesale users. All other users and guests can purchase in any quantity, as usual.

The WooCommerce quantity per user option affects all your quantity rules, increments and defaults, including those for individual categories, products and variations.

Related Articles

Still need help?
If searching the knowledge base hasn't answered your question, please contact support.