This plugin allows you to set up maximum purchase rules for products in your store. Purchases must meet these rules to proceed to checkout payment.
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.
Fully tested with WooCommerce 2.0 .
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.
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.