WooCommerce - Minimum/Maximum Quantities

Introduction

The Minimum/Maximum Quantities extension for WooCommerce allows you to define minimum and maximum allowable product quantities per product, order or variation. It also lets you define a group quantity if your product must be bought in groups of x.

Features:

  • Easy to customize, setup and use.
  • Set a minimum and maximum quantity required to checkout.
  • Set a minimum and maximum cost (of cart items) required to checkout.
  • Exclude product from rules.
  • Group of features(e.g. You must purchase in group of X).
  • Support minimum and maximum rules on variation level also.
  • Support Group of option on Category level also.

Installing the Plugin

  1. The installation of the plugin is just like any other plugin installation for WordPress. Login to your WordPress site and go to Plugins > Add New.
  2. At the Install Plugins Page click on Upload from the top navigation and then click on browse.
  3. Go to the location on your computer where you saved the downloaded plugin zip file and upload this zipped file. You need to unzip the file first to get the plugin zip file.
  4. Now click on Install Now.
  5. Wait until WordPress has uploaded the file. If it's done click on Activate Plugin.
  6. Now you should see a message 'Plugin activated' at the top of the window.

Order-level Rules

Go to WooCommerce > Settings > Minimum/Maximum Quantities:

Order-level Rules

All settings are optional and should be numeric values.

Minimum order quantity
Customer must purchase no less than this quantity of items to checkout.

Maximum order quantity
Customer must purchase no more than this quantity of items to checkout.

Minimum order value
Customer’s cart contents must cost more than this amount.

Maximum order value
Customer’s cart contents must cost less than this amount.

Customers can make products exempt from these rules within their settings. See next Product-level Rules

Product-level Rules

Product-level Rules

Like the order-level settings, these are all optional.

Minimum quantity
Customer must purchase more than this amount.

Maximum quantity
Customer must purchase less or equal to this amount.

Group of…
Customer must purchase a multiple of this amount.

Order rules: Do not count
Exclude orders from the counts of the above per-order rules.

Order rules: Exclude
Exclude from the per-order rules entirely.

Category rules
Exclude from category group-of-quantity rules.


Variation-level Rules

Variations inherit the main product settings (above), however you can also define them per variation. To enable the settings to appear per-variation, check the Min/Max Rules box:

Vairation-level Rules

Category-level Rules

If you go to Products > Categories and edit a category, you can set the group of option:

Category-level Rules

This lets you set up rules, such as "Customers must buy products in X category in groups of X only."

What the customer sees

The extension modifies the frontend in the following ways:

  • When adding items to the cart, if they have met the 'maximum' limits an error will be shown and the item not added to the cart.
  • When using the quantity selectors on single product pages only, there will be a min, max, and step attribute added. Corrections are possible.
  • When viewing the cart, errors will be shown if any rules are not met.
What customer sees

Compatible Plugins

There are following plugins compatible

WP All Import

This will require WP ALL Import & WP ALL Import WooCommerce addon
Step 1
Step 2
Step 3


Need Support
 
Created: Sep 10, 2015
By: WPElitePlugins
Email: wpeliteplugins@gmail.com
If you have any questions that are beyond the scope of this help file, please feel free to email me on wpeliteplugins@gmail.com . Thanks so much!