WooCommerce Max Quantity Documentation

WooCommerce Max Quantity is a WooCommerce plugin that helps you control your inventory. It let’s you set a maximum quantity limit for each product, per order. This is useful if you want to control your WooCommerce inventory: for example, if you don’t want to let one customer purchase all of your inventory at once.

You can read about the WooCommerce Max Quantity features on the plugin’s page.

Jump down to:

Installation   |   Settings   |   Variety of Ways To Use   |   Troubleshooting   |   Questions & Comments   |   Ask a Question


  1. To install the plugin, go to your WordPress dashboard –> Plugins –> Add New.
  2. Search for “WooCommerce Max Quantity” to find the plugin.
  3. When you see “WooCommerce Max Quantity”, click “Install Now” to install the plugin.
  4. Click “Activate” to activate the plugin.



WooCommerce Max Quantity has only two settings. You can use these settings in a variety of ways to accomplish the unique goals of your store. You can use either one setting, or the other, or both.

The two settings are:

  1. The Universal Max Limit
    A universal limit means that this limit affects all products in your WooCommerce store. This is the max quantity limit that can be added to the cart, per each product. The universal limit works like this: for example, if you set it to 3, then people can only add a maximum of 3 of each product to their cart.

    WooCommerce Maximum Quantity Limit Per Product Setting

    This is the universal max setting. It is labeled, “Maximum Quantity Limit Per Product.”

    To find this setting, go to WooCommerce -> Settings -> Products tab. Click “Inventory”. Scroll down to “Maximum Quantity Limit Per Product.” Set your desired limit, there.

    Each product can override this setting from its own product inventory tab (see the next setting).

  2. The Individual Product Max

    The individual product max limit is a quantity limit that is only set for a single product. This lets you set a different limit for each product. If you set this limit for a product, then that product’s own limit will always override the universal limit.

    Woocommerce Individual Product Max Quantity Per Order Setting

    An individual product’s “Max Quantity Per Order” setting.

    To find this setting for an existing product, go to the product’s own “Edit product” page. (In your WordPress dashboard, go to “Products” then click one of your products to edit it.) (You will also see this setting when adding a new product.) Scroll down to the “Product Data” box. Click on the Inventory tab. There, you’ll see the setting called, “Max Quantity Per Order.” Set your desired max limit for that product, there. You must remember to click “Update” to save your changes.


Variety of Ways To Use

The following examples are meant to explain the possibilities available for putting a limit on quantities because every store has unique needs. WooCommerce Max Quanity helps you control the quantity per order, per each product in several ways. This, in turn, helps you control your inventory.

You can use this plugin in several ways. For example:

  • You can set the universal limit to affect all products, and then set the individual product limit for only a few products.

    The products which have their own limit set will use their own limit, rather than the universal limit. All other products will use the universal limit.

  • You could NOT set a universal limit (just leave it blank). For example, if you don’t want any limit set on most products, and you only want to set a limit on one or two products. You can do that by setting the limits only for those products, individually, and don’t set a universal limit.

  • You could just set the universal limit, and never use the individual product limits. The universal limit will automatically place the limit on all products.



Here are some points to consider when troubleshooting a problem with this plugin.

  • There is one known issue that only applies to Variable products when backorders are enabled/allowed. (Variable products are products with variations.) When backorders are allowed for Variable products, the limit does not work. This issue is effective since version 1.4. I will fix this in the next update.

  • If you go back and set an individual product limit on an existing product, you must remember to click “Update” to save your changes.

  • If you enter a limit of “0” it will be considered as a blank setting, which means that there is no limit. (A blank setting is considered as “no limit.”) So, setting the limit to “0” is useless for this plugin. (If you want to stop a product from being purchased, even temporarily, the correct and standard way to do that with WooCommerce would be to mark the item “out of stock.” You don’t need this plugin to do that.)


Updated on March 6, 2017

We've 4 Responses

  1. February 11th, 2017 at 10:54 am

    Hi! Is there a way to make that the Maximum quantity be defined by the Available stock? For example a universal rule that doesn’t let you add yo cart more than 50% of the current stock?

  2. February 22nd, 2017 at 7:09 am

    Hello is there a way to limit the quantity to the whole cart whatever product we try to add?
    I mean limit the cart to 1 (for exemple) item whatever the product chosen ?



Questions and Comments are Welcome

Your email address will not be published. All comments will be moderated.

Please wrap code in "code" bracket tags like this: