This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Maximum Purchase for WooCommerce


The Maximum Purchase plugin for WooCommerce gives you the ability to set up maximum purchase rules for products in your WooCommerce 1.0+ store. Customer purchases must then meet these rules, to proceed to checkout payment.

If a purchase in your store fails a maximum purchase rule, an error message appears at the top of the checkout page, identifying the error situation and rule requirements. The customer must resolve the error, before the purchase can be completed.


  • WordPress 5.9+
  • Gutenberg
  • WooCommerce 5.6+
  • PHP 7.2+

Now with Custom Messaging!

You can enter your own Custom Minimum Purchase Messages by Rule

Unparalleled Customer Service

  • Customer Service is as important as the plugin functionality itself
  • Support is open 7 days for questions and 1-on-1 assistance.

Introductory Video

Tutorials |
Documentation |
Videos |
Shameless E-Commerce

How does the rule choose to examine the cart? [Search Criteria]

  • By Role/Membership for cart contents (allows different pricing rules for customer types / logged-in role, such as wholesalers or preferred customers).

Role/Membership Info for Search Criteria

Role/Membership is used within WordPress to control access and capabilities, when a role is given to a user. WordPress assigns certain roles by default such as Subscriber for new users or Administrator for the site’s owner. Roles can also be used to associate a user with a pricing level. Use a role management plugin like User Role Editor to establish custom roles, which you can give to a user or class of users. Then you can associate that role with a Maximum Purchase Rule. So when the user logs into your site, their Role interacts with the appropriate Rule.

How does the rule choose to examine the cart? [Search Criteria – Pro Plugin]

  • By cart contents
  • For a single product
  • For a single product’s variations
  • By Product Category or Maximum Purchase Category, and/or By Role/Membership

=> Maximum Purchase Pro Plugin

How is the rule applied to the cart search results? [Rule applied to]

  • All : work with the total of the units/prices
  • Each : apply the rule to each product in the Rule Population
  • Any : Same as each, but limits the rule testing to the first X number of products.

Rule Applies To Either:

  • Units Quantity Amount
  • Price Amount

A sample of a maximum purchase rule:

  • If the purchaser is a Subscriber – [search criteria:Subscriber]
  • The maximum total for all purchases – [rule applied to: all]
  • Must be greater than $20. – [price amount: $20]

Checkout Error Messaging

At checkout, the rules are tested against the cart contents. If products are found in error, an error message (in two possible locations) will be displayed. The error situation must be resolved, before the customer is allowed to leave the checkout and proceed to payment.

Error messaging css can be customized using the custom css option on the Rule Options Settings screen. There are also currency sign options, and a comprehensive debugging mode option.

Checkout Error Message Formats

  • Text-based descriptive format
  • Table-based format

More Info

Tutorials |
Documentation |
Videos |
Shameless E-Commerce

Additional Plugins by

  1. Maximum Purchase for WooCommerce
  2. Min or Max Purchase for WooCommerce
  3. Pricing Deals Pro for WooCommerce

Pricing Deals Pro offers you complete flexibility creating pricing deals

  1. Buy two of these, get 10% off of both
  2. Buy two of these, get 10% off another purchase
  3. Buy two of these, get one of those free
  4. Pricing Deals of any sort, by Role/Membership
  5. etc….

=> Pretty much any deal you can think of, you”ll be able to do!


  • Maximum Purchase Rule Screen
  • Group Search Criteria
  • Rule application method – Any
  • Rule application method – Each
  • Rule application method – All
  • Quantity or Price Maximum Amount
  • Error Message at Checkout


Maximum Requirements

  • WooCommerce 1.0
  • WordPress 3.3+
  • PHP 5+

Install Instructions

  1. Upload the folder maximum-purchase-for-woocommerce to the /wp-content/plugins/ directory of your site
  2. Activate the plugin through the ‘Plugins’ menu in WordPress


Please review the following printed and video documentation.

Tutorials |
Documentation |
Videos |
Shameless E-Commerce

Please post questions at the Support page at


October 12, 2019 1 reply
Rule Selection fields are disabled, and its unclear why. Editing the HTML in Wordpress to remove disabled=”disabled” got past this. But once a rule is set up, it doesn’t do anything. Useless.
June 17, 2019
Plugin does exactly what it was built to do and some! Very slick and intuitive interface makes interaction cake! I had a bit of an issue that turned out to be user error, and vark responded very quickly. Highly recommend this plugin!
June 15, 2022
UPDATE: I have been using this plugin (Pro version) for several years now. It works absolutely perfect and have never had any issues. Props to the author and I hope this plugin stays updated forever. Thanks again ————————————————————————– First off, I left this comment for another limit plugin by mistake. I intended it for this one the VarkTech Maximum Purchase for WooCommerce. I have purchased several and these different limit plugins and got confused about what plugin I was reviewing.(My bad) ————————————————————————– I have been using the premium version of this (VarkTechplugin) for the last several months. It works exactly as described. I have purchased two other similar plugins on code canyon and neither worked. Requested support for this plugin twice since I purchased and Mark responded immediately and helped solve my problem. Can’t say enough great things about this plugin and support. Worth every penny. Keep up the excellent work! Thank you Alec
May 12, 2017
I needed a plugin to limit purchases on my website (believe it or not). I have the Woo Min/Max plugin, but it doesn’t work with categories. I wanted something that was up-to-date with the latest WooCommerce. Normally I don’t go for plugins that have PRO versions, but I decided to give this one a try as the freebie didn’t quite meet my needs. Have no fears. This plugin is well-written and WORKS. I contacted the plug-in support on the vendor’s website, as I wasn’t sure if it would work in my particular situation. To my surprise, a response was in my inbox almost immediately (I’m in Canada, they are in NZ). I would definitely recommend this plugin. 5 stars well-earned. I don’t mind paying for a well-written plugin.
Read all 7 reviews

Contributors & Developers

“Maximum Purchase for WooCommerce” is open source software. The following people have contributed to this plugin.


Changelog – 2020-08-17

  • Enhancement – Turn off auto updates
  • Fix – update is_admin testing – 2019-04-16

  • Enhancement – Updates to accomodate Woo 3.6 – 2018-11-01

  • Enhancement – Updates to accomodate WordPress 5.0 – 2018-05-22

  • Enhancement – Code changes for Woo 3.4 – 2018-01-30

  • Enhancement – Code changes for Woo 3.3

1.07.7 – 2017-10-05

  • Enhancement – Code changes for Woo 3.2

1.07.6 – 2017-04-03

  • Enhancement – Code changes for Woo 3.0
  • Fix – New facility to clear hanging messages.
    Sometimes, a warning message is not cleared successfully without a page refres.
    Javascript is now used to fix the issue.
    If you’d like to turn off the Javascript, use the following:
    1. ADD the following wordpress filter:
    // Sample filter execution ==>> put into your theme’s functions.php file (at the BOTTOM is best), so it’s not affected by plugin updates
    function do_not_use_clear_cart_msgs() {
    return FALSE;
    add_filter(‘vtmax_use_clear_cart_msgs’, ‘do_not_use_clear_cart_msgs’, 10);

1.07.5 – 2015-08-18

  • Fix – Prevent message duplication
  • Fix – Lifetime history tracking

1.07.4 – 2015-05-09

  • Fix – Lifetime history tracking

1.07.3 – 2015-05-05

  • Enhancement – Refactor all messaging to now be all Woo-based
  • Fix – added ‘doing ajax’ to lifetime
  • Fix – pull displayed unit cost from cart price rather than db

1.07.2 – 2014-06-04

  • Fix – post-purchase processing

1.07.1 – 2014-05-23

  • Enhancement – Update Nag additional message.

1.07 – 2014-05-16

  • Fix – change add_error to add_notice.
  • Enhancement – Custom Messaging! Overrides default messaging for rule.
  • Fix – New rule add – stutter removed
  • Enhancement – change currency sign and currency formatting to follow parent plugin, removed setting from this plugin
  • Fix – Https issue resolved
  • Fix – Warnings damped
  • Enhancement – Pro version check from Free version

1.06 – 2013-02-23

  • Bug Fix – “unexpected T_CLASS/T_PUBLIC” – File admin/vtmXX-rules-ui.php was corrupted, but the corruption only showed up on some hosts (?!). Huge thanks to Don for allowing full access to his installation to debug.

1.05 – 2013-02-13

  • Bug Fix – Rule Add screen was being overwritten by some other plugins’ global metaboxes – thanks to Dagofee for debug help
  • Bug Fix – PHP version check not being executed correctly on activation hook (minimum PHP version 5 required)
  • Bug Fix – Nuke and Repair buttons on Options screen were also affecting main Options settings, now fixed

1.0 – 2013-01-15

  • Initial Public Release