Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

Min and Max Purchase for WooCommerce

Descripción

The Min and Max Purchase plugin for WooCommerce gives you the ability to set up minimum and 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 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.

FULLY TESTED with

  • WordPress 6.0+
  • Gutenberg
  • WooCommerce 7.0+
  • PHP 8.1+

Now with Custom Messaging!

You can enter your own Custom Minimum Purchase Messages by Rule

Now with Extended Message Display

Show error message immediately on any MORE pages than the Cart and Checkout – Setting on Rule Options Settings page

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

Rule type? [Min or Max]

  • Minimum Purchase threshhold – amount/price amount must meet or exceed the min/max amount.
  • Maximum Purchase limit – amount/price amount must not exceed the min/max amount.

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

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

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 Min and Max Purchase Category, and/or By Role/Membership/logged in status

=> Min and Max 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 less 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 VarkTech.com

  1. Minimum Purchase for WooCommerce
  2. Maxmimum Purchase for WooCommerce
  3. Pricing Deals Pro for WooCommerce

Pricing Deals Pro offers you complete flexibility creating pricing deals

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

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

Role/Membership/logged in status, for Search Criteria – More Info

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 Min and Max Purchase Rule. So when the user logs into your site, their Role interacts with the appropriate Rule. A rule can also check against ‘not logged in’ status, making the rule apply to ‘all in cart’.

Capturas

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

Instalación

Min and Max Requirements

  • WooCommerce 1.0+
  • WordPress 3.3+
  • PHP 5+

Install Instructions

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

FAQ

Please review the following printed and video documentation.

Tutorials |
Documentation |
Videos |
Shameless E-Commerce

Please post questions at the Support page at varktech.com.

Reseñas

12 de octubre de 2018 1 respuesta
I have been using the premium version of this plugin 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
9 de septiembre de 2017 1 respuesta
OK - I am talking about the paid version, but wanted to report back here that the paid version is the BEST plugin if you want to create some rules around min and max purchases, quantities or prices. Plus, the support is amazing - always replies within 24 hours - official WooCommerce extensions often take 3 days or more. This kind of support is so worth the money as I wasted days on other plugins waiting for support.
8 de septiembre de 2017
Big cheater as he wasted our time by posting a paid plugin that will never work unless you pay them it is misleading and I will report it to WP
11 de enero de 2017
This plugin is made simply to make money, not to be helpful. Nothing worked in the "basic" version. To do anything you'll need to upgrade. I considered it, but then it's $70.00, which is way too much to have a plugin that I'll only need every once in a great while to limit special purchases. I'd rather deal with plugins that have good functionality that make me want to upgrade, than those that force you to because it won't function without payment. Not a good deal here.
Leer todas las 25 reseñas

Colaboradores y desarrolladores

«Min and Max Purchase for WooCommerce» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Registro de cambios

2.0.0 – 2022-10-06

  • 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.

1.08.2.6 – 2020-08-17

  • Enhancement – Turn off auto updates
  • Fix – update is_admin testing

1.08.2.5 – 2019-04-20

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

1.08.2.4 – 2019-04-16

  • Enhancement – Updates to accomodate Woo 3.6

1.08.2.3 – 2018-11-11

  • Enhancement – Code changes for WP 5.0

1.08.2.2 – 2018-05-22

  • Enhancement – Code changes for Woo 3.4

1.08.2.1 – 2018-01-30

  • Enhancement – Code changes for Woo 3.3

1.08.2 – 2017-10-05

  • Enhancement – Code changes for Woo 3.2

1.08.1 – 2017-05-21

  • Enhancement – Show error message immediately on all website pages

            To select, go to wp-admin/Min and Max 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.
    

1.08 – 2017-04-03

  • Enhancement – Updates to accomodate Woocommerce 3.0.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.91 – 2015-08-18

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

1.07.9 – 2015-05-19

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

1.07.8 – 2015-05-09

  • Fix – Lifetime history tracking

1.07.7 – 2015-05-04

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

1.07.6 – 2014-12-28

  • Fix – added ‘doing ajax’ to lifetime fix of 1.07.5
  • Fix – pull displayed unit cost from cart price rather than db

1.07.5 – 2014-12-06

  • Fix – Full error msg for Lifetime rule when combo of cart + rule history exceeds rule limit

1.07.4 – 2014-06-04

  • Fix – post-purchase processing

1.07.3 – 2014-05-23

  • Enhancement – Update Nag additional message.

1.07.2 – 2014-05-16

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

1.07.1 – 2014-05-16

  • Fix – currency sign issues

1.07 – 2014-05-15

  • Enhancement – change currency sign and currency formatting to follow parent plugin, removed setting from this plugin
  • Enhancement – Add Min and Max Purchase categories to Plugin Submenu
  • Fix – Https issue resolved
  • Fix – Warnings damped
  • Enhancement – Custom Messaging! Overrides default messaging for rule.
  • Fix – New rule add – stutter removed
  • Fix – change add_error to add_notice.
  • Fix – removed add capability in backbone

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