Este plugin não foi testado com as 3 atualizações principais mais recentes do WordPress. Pode ser que não tenha mais manutenção ou suporte e talvez tenha problemas de compatibilidade quando usado com versões mais recentes do WordPress.

Minimum Purchase for WooCommerce


The Minimum Purchase plugin for WooCommerce gives you the ability to set up minimum 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 minimum 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 6.0+
  • Gutenberg
  • WooCommerce 7.0+
  • PHP 8.1+

Show Error Messages on More Pages – New

  • You can now show error messages on all pages – select on Rules Options Settings page

Now with Repeating Groups and Custom Messaging!

  • Require purchasing minimum of 6, 12, 18, 24 ….
  • 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 Minimum 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 Minimum Purchase Category, and/or By Role/Membership

=> Minimum 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 minimum purchase rule:

  • If the purchaser is a Subscriber – [search criteria:Subscriber]
  • The minimum 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

Mais informações

Tutorials |
Documentation |
Videos |
Shameless E-Commerce

Additional Plugins by

  1. Minimum Purchase for WooCommerce
  2. Maximum 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!

Imagens de tela

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


Requisitos mínimos

  • WooCommerce 1.0
  • WordPress 3.3+
  • PHP 5+

Install Instructions

  1. Upload the folder minimum-purchase-for-woocommerce to the /wp-content/plugins/ directory of your site
  2. Ative o plugin por meio do menu “Plugins” no WordPress


Please review the following printed and video documentation.

Tutorials |
Documentation |
Videos |
Shameless E-Commerce

Please post questions at the Support page at


3 outubro, 2022
I had a few issues with the update, so I contacted tech support. And I can't remember ever having such top-notch support from any company.
4 outubro, 2022 3 respostas
It was easy to use and working well but it wasn't compatible to PHP 8 until September 2022. I had to switch to a Code Snippet in the meantime. The author reports that he realized PHP 8.1 compatibilty now.
25 novembro, 2020
This plugin is very powerful and we've been running it now for a few months. The admin panel has a bit of a learning curve however if you can take the time to read and test it you become to understand its power. The slight complexity is because you can ask the plugin to run different checks and on specific categories of products - depending on how your ecommerce needs. We bought the Pro version, and VarkTech went out of their way to add one customisation that really helped us out. In these last few months we have experienced no errors, nor any bugs, nor any broken plugin at all. If you have an ecommerce site and want people to have a minimum quantity of items in their basket - then this is the plugin that deserves 5 stars. Can highly recommend this plugin and the developer VarkTech always responds to queries
Leia todas as 37 avaliações

Colaboradores e desenvolvedores

“Minimum Purchase for WooCommerce” é um software com código aberto. As seguintes pessoas contribuíram para este plugin.


Registro de alterações – 2022-10-06

  • Fix – Rule array delete fix.
  • Fix – Processing managers interaction with plugin (ManageWP and InfiniteWP for example).
  • Enhancement – Additional error message handling.

2.0.0 – 2022-09-26

  • Fix – accomodate php8.1+
    – php8.1 is returning many types of deprecated warnings, which all come from WordPress and Woocommerce.
    These warning issues will be solved in later releases of WordPress and Woocommerce, according to the help boards.
  • Tech Note – now requiring a minimum of php 7+, due to the use of a “null coalescing operator”, which is was first available in php 7. – 2020-08-17

  • Enhancement – Added logic to include all roles a user belongs to.
    A User can belong to a whole group of roles, but only logs into a single one.
    Rules will now interrogate the whole list of rules for a logged-in user,
    to determine if a rule applies to any.
  • Enhancement – Added switch to allow requiring the population of a given rule
  • Fix – Added translation of message title “Minimum Purchase Error” to PO file.
  • Fix – Added translation of ‘dollar’ to PO file.
  • Fix – removed type of admin test which no longer functions in WP 5.4+. – 2019-04-20

  • Fix – Prevent some resources from loading in wp-admin which were causing woo api issues.

1.09.91 – 2019-04-16

  • Enhancement – Updates to accomodate Woo 3.6
  • Fix – Documentation URL

1.09.90 – 2018-11-11

  • Enhancement – Updates to accomodate WordPress 5.0
  • Enhancement – Registration prep

1.09.83 – 2018-05-22

  • Enhancement – Show error message immediately on all website pages

            To select, go to wp-admin / Minimum Purchase Rules / Rules Options Settings
            at "Show Error Messages on More Pages"
            select 'all'
    PLEASE NOTE ==> when "ALL" chosen, the Shop and Category pages will REFRESH after an on-page add-to-cart.
  • Enhancement – Code changes for Woo 3.4

1.09.82 – 2018-01-30

  • Enhancement – Code changes for Woo 3.3

1.09.81 – 2017-10-05

  • Enhancement – Code changes for Woo 3.2

1.09.8 – 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.09.7 – 2015-05-23

  • Fix – Repeating groups ‘each’ fix

1.09.6 – 2015-05-19

  • Enhancement – Added variable for repeating groups – min of 6, 12, 18, 24 …. purchases

1.09.5 – 2015-05-04

  • Enhancement – Refactor all messaging to now be all Woo-based

1.09.4 – 2015-04-20

  • Fix – with WP 4.2, fix needed to prevent checkout button from carrying on when an error situation exists.

1.09.3 – 2014-12-28

  • Enhancement – pick up unit price from line subtotal only –
    will include active price, all taxation and price adjustments from other plugins

1.09.2 – 2014-05-23

  • Enhancement – Update Nag additional message.

1.09.1 – 2014-05-16

  • Fix – Added backwards compatibility for WooCommerce pre-2.1 error messaging

1.09 – 2014-05-13

  • Fix – Bug from 1.08 caused install to fail on some hosts. Thanks to Adriana for pointing it out.
  • Fix – change add_error to add_notice.

1.08 – 2014-05-11

  • Enhancement – Custom Messaging! Overrides default messaging for rule.
  • Fix – New rule add – stutter removed

1.07 – 2014-05-07

  • Enhancement – change currency sign and currency formatting to follow parent plugin, removed setting from this plugin
  • Fix – Https issue resolved
  • Fix – Warnings damped

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