Min and Max Purchase Pro for WooCommerce

Price: $70.00

Please select product options before adding to cart

 

Item has been added to your cart!

 
Loading

Plugin Description

Min and Max Purchase Pro for WooCommerce allows you to set up minimum and maximum purchase rules for products in your WooCommerce 1.0+ store. Purchases must meet these rules to proceed to checkout payment.

The Pro plugin can search by any criteria

  • by the cart contents as a whole
  • by product and custom categories, and/or user roles
  • by a single product
  • by a single product's variation(s)
 

If a purchase in your store fails a min or max 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.

Lifetime Purchase Limit by Customer

Lifetime purchase limit is a maximum purchase rule option, which allows you use all rule criteria to set cumulative lifetime limits on purchases by customer. Purchasers are identified by optional criteria, including IP addess, email address, billto name, billto address, shipto name, shipto address.

 

Changelog Info

  • 1.0 - 2013-01-15 * Initial Public Release

Tutorials

.

Set Up a Basic Min and Max Purchase Rule

How does the rule choose what to look at in the cart? [Search Criteria]

  • by the cart contents as a whole
  • by product and custom categories, and/or user roles
  • by single product variation(s)
  • by single product id

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.


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

Does the Rule apply to Units Quantity amount or Price amount?

  • Units Quantity Amount
  • Price Amount

Here’s a sample of a min and max purchase rule:

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

Cart Search Criteria Choices

Search just what's in the cart

Select 'Apply to all products in cart', and the rule will alway analyze the cart contents.



Search using Selection Groups

Using selection groups allows the rule to apply to specified groups of products. You can use established (or new) product categories. If you want to apply the rule to a group of products which don't exist in product categories, using the custom 'Min and Max Amount Categories', and adding products to one of those categories. (Using Min and Max Amount Categories will not affect the usage or navigation of your regular product categories.) You can also use Role Membership to apply rules to only a certain class of logged-in (or not logged-in) users.

An advanced way of using selection groups, is to combine the possible group-defining criteria. You can select multiple categories, across both the Product Category and Min and Max Amount category types. You can use the relationship modifier (And/Or) choice to combine category choices with categories and roles. For example, if you choose 'And', the rule will require that the product participate in both a category and a role, in order to be applied.

Apply to Variation(s) from a Single Product

You can apply the rule to any in a list of variations belonging to a single product, by selecting this option, and supplying the product ID and hitting the button "Get Variations". A list of variations belonging to the product will appear to the left, and any/all of the variations can be selected.

Apply to a Single Product

You can apply the rule to a single product, by selecting this option, and supplying the product ID. After the rule is published or updated, the product name will appear below the product ID, showing that the rule has validated the product ID number.



Set up Min and Max Purchase Rule for User not logged in

Use Cart Search Criteria of 'Not Logged In'

  • in Cart Search Criteria Box
  • in membership List by Role Box
  • Select 'Not logged in (just visiting)'

With this set up, the rule will act as an 'Apply to all products in the cart' selection, for any customer who is not logged in. This will be very useful, as many stores do not require a login to make a purchase.


Documentation

Min and Max purchase rules are applied at checkout time. They are a tested against the cart contents, and if the purchase fails a rule, an error message is produced. And even if the 'continue to payment button' is selected, checkout won't proceed until the error is resolved.

Please note that the plugin allows all rules to apply to the cart. Multiple rules may apply to a single product or group of products, in order that minimum and maximum rules may be enforced at the same time.

Plugin Requirements

  • WooCommerce 1.0+
  • WordPress 3.3+
  • PHP 5+
  • Min and Max Purchase for WooCommerce (free) - must be installed and active!

Plugin Options

If a purchase in your store fails a min and max 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.

Show Error Messages in Table Format

Error message formatting is offered in text style by default (value="no"), and in table format as an option.

Show Error Messages Just Before Checkout Products List

The error message can be show in two places - just before the checkout products list, and just before the checkeout address area. This option sets the error message to display before the products list.

Show Error Messages Just Before Checkout Products List - HTML Selector

For the Product area error message, this option supplies the ID or Class HTML selector this message appears before. This selector would appear in your theme"s checkout area, just above the products display area. Be sure to include the "." or "#" selector identifier before the selector name.
Default value = ".checkout_cart".

Show Error Messages Just Before Checkout Address List

The error message can be show in two places - just before the checkout products list, and just before the checkeout address area. This is the 2nd second option showing the error message, and becomes particularly useful if your theme's checkout is a multi-pane design.

Show Error Messages Just Before Checkout Address List - HTML Selector

For the Address area error message, this option supplies the ID or Class HTML selector this message appears before. This selector would appear in your theme"s checkout area, just above the products display area. Be sure to include the "." or "#" selector identifier before the selector name.
Default value = ".wpsc_checkout_forms".

Show Rule ID in Error Message

There is an option to show the rule id in the error message. This is useful in testing to track error messages back to their originating rule.

Show Product Category Names in Min and Max Purchase Error Message

This option allows the display of Product Category names in the error message, if error message criteria is included. This more full explanation of the rule criteria will help the customer resolve any errors.

Show Rule Category Names in Min and Max Purchase Error Message

This option allows the display of Min and Max Purchase Rule Category names in the error message, if error message criteria is included. This more full explanation of the rule criteria will help the customer resolve any errors.

Custom Min and Max Purchase Error Message CSS, used at checkout time

There's an option to customize the css of the error message format chosen. Simply place the css in the option field, and it will override the standard css.

Select a Currency Sign

Error message currency sign can be selected from the options available.

Test Debugging Mode Turned On

The final option turns on the debugging mode. This mode will print to screen all of the structures used in rule testing and error message creation. Only use during testing.


The killer buttons at the bottom of the options screen

Use these buttons wisely. Great to clear out test rules or repair errant structures. Very powerful, handle with care.


Video Tutorials


Installation Instructions

Both the Free and Pro versions of the plugins are required.

First Download and install the Free Version from WordPress.Org

  1. Use the built-in WordPress plugin installer to download, install and activate the Free version of the plugin hosted at wordpress.org/extend/plugins/min-and-max-purchase-for-woocommerce

Then Download and install the Pro Version from www.varktech.com

  1. Download the zipped plugin from Downloads using your Session Id or Name and Email from Purchase email issued at Checkout.
  2. Unpack the zip file plugin folder
  3. Upload the lowest title level folder of the plugin name to the /wp-content/plugins/ directory via FTP (if this is an update, you would need to delete the original folder first)
  4. Activate the plugin through the 'Plugins' menu in WordPress. (Both the Free and Pro versions must be installed and active.)
  5. Please Note: WooCommerce 1.0 or above is needed to run this plugin successfully.


Tutorials

.

Set Up a Basic Min and Max Purchase Rule

How does the rule choose what to look at in the cart? [Search Criteria]

  • by the cart contents as a whole
  • by product and custom categories, and/or user roles
  • by single product variation(s)
  • by single product id

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.


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

Does the Rule apply to Units Quantity amount or Price amount?

  • Units Quantity Amount
  • Price Amount

Here’s a sample of a min and max purchase rule:

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

Cart Search Criteria Choices

Search just what's in the cart

Select 'Apply to all products in cart', and the rule will alway analyze the cart contents.



Search using Selection Groups

Using selection groups allows the rule to apply to specified groups of products. You can use established (or new) product categories. If you want to apply the rule to a group of products which don't exist in product categories, using the custom 'Min and Max Amount Categories', and adding products to one of those categories. (Using Min and Max Amount Categories will not affect the usage or navigation of your regular product categories.) You can also use Role Membership to apply rules to only a certain class of logged-in (or not logged-in) users.

An advanced way of using selection groups, is to combine the possible group-defining criteria. You can select multiple categories, across both the Product Category and Min and Max Amount category types. You can use the relationship modifier (And/Or) choice to combine category choices with categories and roles. For example, if you choose 'And', the rule will require that the product participate in both a category and a role, in order to be applied.

Apply to Variation(s) from a Single Product

You can apply the rule to any in a list of variations belonging to a single product, by selecting this option, and supplying the product ID and hitting the button "Get Variations". A list of variations belonging to the product will appear to the left, and any/all of the variations can be selected.

Apply to a Single Product

You can apply the rule to a single product, by selecting this option, and supplying the product ID. After the rule is published or updated, the product name will appear below the product ID, showing that the rule has validated the product ID number.



Set up Min and Max Purchase Rule for User not logged in

Use Cart Search Criteria of 'Not Logged In'

  • in Cart Search Criteria Box
  • in membership List by Role Box
  • Select 'Not logged in (just visiting)'

With this set up, the rule will act as an 'Apply to all products in the cart' selection, for any customer who is not logged in. This will be very useful, as many stores do not require a login to make a purchase.

Screenshots




Leave a Comment

Your email address will not be published. Required fields are marked *

*


*