Tested Updated Perfect rating

Maximum Products per User for WooCommerce

(2 customer reviews)

From: $19.99 / year

Limit number of items your WooCommerce customers can buy (lifetime or in selected date range).

Clear

Description

With Maximum Products per User for WooCommerce Pro plugin you can limit number of items your WooCommerce customers (logged) can buy. Item quantity for user is limited on lifetime basis or in selected date range (i.e. not per order).

Quantity limits can be set for all products at once, on per product basis, per product category or per product tag.

Please note that there is no maximum quantity set for guest (i.e. not-logged) users. Possible solution would be to disable guest checkout via “Allow customers to place orders without an account” option in WooCommerce > Settings > Accounts & Privacy > Guest checkout.

Product quantities are updated, when order status is changed to Completed.

While data is recalculated automatically (but only after the plugin was enabled), you can also force manual recalculation by running Recalculate sales data tool. This is useful on initial plugin install (i.e. to calculate sales data from before the plugin was enabled).

Options

Plugin settings are located in “WooCommerce > Settings > Maximum Products per User”.

All Products

Maximum Products per User for WooCommerce - All Products Options

All products
Enables “All products” section.
Default: no
Maximum quantity per user
Maximum allowed each product’s quantity per user.
Default: 1

Per Product Taxonomy

Maximum Products per User for WooCommerce - Per Product Taxonomy Options

Per product tag
This will add new meta box to each product tag term’s edit page.
Default: no
Per product category
This will add new meta box to each product category term’s edit page.
Default: no

When section is enabled, you will see new “Maximum quantity per user” option in “Products > Categories > Your category > Edit” and/or “Products > Tags > Your tag > Edit”:

Maximum Products per User for WooCommerce - Per Product Taxonomy Options - Meta Box

Per Product

Maximum Products per User for WooCommerce - Per Product Options

Per product
Enables “Per product” section. This will add new meta box to each product’s edit page.
Default: no

Per product meta box for variable product with “Use variations” option enabled:

Maximum Products per User for WooCommerce - Per Product Meta Box - Variations

Per product meta box for simple product or for variable product with “Use variations” option disabled:

Maximum Products per User for WooCommerce - Per Product Meta Box - Simple

General Options

Maximum Products per User for WooCommerce - General Options

Date range
Possible values: Lifetime; This hour; This day; This week; This month; This year; Last hour; Last 24 hours; Last 7 days; Last 30 days; Last 365 days.
Default: Lifetime
Time function
Possible values: Server time; WordPress time.
Default: Server time
Use variations
Use variations in “All products” and “Per product” calculations.
Default: no
Validate on add to cart
Enable this if you want to check user quantities right away, on add to cart button click, instead of notice on cart and checkout pages only.
Default: yes
Customer message
Placeholders: %max_qty%, %product_title%, %qty_already_bought%, %remaining_qty%. You can also use HTML and/or shortcode here. E.g.: [alg_wc_mppu_translate] for WPML/Polylang translations.
Default:
You can only buy maximum %max_qty% pcs. of %product_title% (you already bought %qty_already_bought% pcs.).
Block checkout page
This will stop customer from accessing the checkout page on exceeded quantities. Customer will be redirected to the cart page.
Default: no
Exclude products
You will need to “Recalculate sales data” for products to be excluded from sales data.
Default: None

Tools

Maximum Products per User for WooCommerce - Tools Options

Recalculate sales data
Check the box and save settings to run the tool. Please note that there is no undo for this action.
Default: no
Delete & recalculate sales data
Check the box and save settings to run the tool. Please note that there is no undo for this action.
Default: no

Sales Data

You can check saved sales data for each product, by opening admin product’s edit page. For variable products you will see data for each variation as well. Similar “Sales Data” tables can be found on each category/tag edit pages:

Maximum Products per User for WooCommerce - Product Sales Data

2 reviews for Maximum Products per User for WooCommerce

  1. marco (verified owner)

    Excellent support from the team. Works as expected, and 1 on 1 support from the developer too. Thank you very much.

  2. Adam

    Simply perfect!

Add a review

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

8 thoughts on "Maximum Products per User for WooCommerce"

  1. Hi,

    I would like to put a limit on my customers’ purchase per day. But the only options that are available in “Date range” section are: Lifetime, This Month, This Year, Last 30 Days, Last 365 Days.
    No DAILY option 🙁

    1. Hi,

      I’ve just checked the plugin code and it seems that adding daily option shouldn’t be too hard. Will release new plugin version shortly.

    2. Hi,

      As promised, we’ve just released a new plugin version 2.1.0, where I’ve added these new date ranges to the plugin: “This hour”, “This day”, “This week”, “Last hour”, “Last 24 hours”, “Last 7 days”.

      Please let me know if something is not working as expected or if you have any questions. And if you like the plugin, please consider leaving me a rating.

  2. Greetings — This doesn’t appear to be working; perhaps it’s a conflict with the plugin, Direct Checkout Pro? Could someone please contact me to log into my WP site to see what might be happening? Thank you — Adam Jacobi

  3. Does this work with variation products too? Can I set a maximum purchase limit on a variation but allow other variations of the same product to also be purchased?

    1. Hi Kim,

      Sorry for a late reply.

      Yes, since plugin version 2.0.0 you can set maximum quantity on per variation basis. You need to enable “Use variations” option in plugin’s settings (in “WooCommerce > Settings > Maximum Products per User > General”).

      Hope that helps. Please let me know if you have any questions.

  4. Hi There,

    I’ve just installed and activated the plugin. It is showing on the product page and I have selected the max products per user but when I preview the product it has removed the delegate booking info which are fields added by woocommerce box office plugin and instead I see the following error message:

    Fatal error: Call to undefined method WC_Product_Simple::get_max_purchase_quantity() in /var/sites/y/yarlsideteachingschool.co.uk/public_html/wp-content/plugins/product-quantity-for-woocommerce-pro/includes/class-alg-wc-pq-core.php on line 476

    I use the woocommerce box office plugin to sell places on the courses we run and I’ve bought your plugin so that I could limit the maximum qty for certain courses.

    I suspect your plugin conflicts with woocommerce box office – I can’t manage without this plugin and I bought your plugin to enhance the functionality.

    Do you have any suggestions as to what I can do?

    Many thanks in advance.

    Kind Regards,

    Deb

    1. Hi Deb,

      Maybe I could log in to your server to check it out? If that’s possible – my private email is [email protected]. WP and FTP access would be perfect.

Leave a Reply

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

Changelog

2.2.0 - 10/11/2019

  • Dev - General Options - "Order statuses" option added.
  • Dev - General Options - "User roles" option added.
  • Dev - Admin Options - "Editable sales data" options added (sales data can now be edited in backend on user's edit page).
  • Dev - alg_wc_mppu_get_max_qty filter added.
  • Dev - Admin settings restyled and split into sections.
  • Dev - Code refactoring.
  • WC tested up to: 3.8.

2.1.0 - 01/10/2019

  • Dev - General Options - Date range - "This hour", "This day", "This week", "Last hour", "Last 24 hours", "Last 7 days" ranges added.
  • Dev - General Options - "Time function" option added.
  • Dev - alg_wc_mppu_date_range filter added.
  • Dev - alg_wc_mppu_date_to_check filter added.
  • WC tested up to: 3.7.

2.0.0 - 28/07/2019

  • Dev - Per Product Taxonomy - "Per product tag" option added.
  • Dev - Per Product Taxonomy - "Per product category" option added.
  • Dev - General Options - "Use variations" option added.
  • Dev - General Options - "Validate on add to cart" option added.
  • Dev - General Options - "Date range" option added.
  • Dev - General Options - "Exclude products" option added.
  • Dev - Tools - "Delete & recalculate sales data" tool added.
  • Dev - Tools - Recalculate sales data - Button replaced with checkbox.
  • Dev - [alg_wc_mppu_translate] shortcode added (for "Customer message").
  • Dev - Major code refactoring.
  • Tested up to: 5.2.

1.1.2 - 20/04/2019

  • Dev - Admin settings descriptions updated.
  • Dev - "WC tested up to" updated.

1.1.1 - 08/04/2019

  • Dev - Code refactoring.
  • Dev - Data sanitized and escaped.

1.1.0 - 22/10/2018

  • Dev - Admin settings descriptions updated.
  • Dev - Code refactoring.

1.0.0 - 18/06/2018

  • Initial Release.

Frequently Asked Questions

Q. I'm seeing No data yet text in "Maximum Products per User: Sales Data" meta box.

A. While data is recalculated automatically (but only after the plugin was enabled), you can force manual recalculation by pressing Recalculate sales data button in "General Options" section (in "WooCommerce > Settings > Maximum Products per User"). This is useful on initial plugin install (i.e. to calculate sales data from before the plugin was enabled). Please note that product quantities are updated when order status is changed to Completed.

Free version

This plugin is a premium version of free "Maximum Products per User for WooCommerce" plugin.

Prices & Licenses

Single siteUnlimited sites
1 year[buy] $19.99 / year[buy] $29.99 / year
Lifetime[buy] $39.99[buy] $59.99

Installation and Updates

  • Buy the plugin 🙂
  • Download plugin's zip to your computer (you will receive an email with download link, or you can always download the plugin from your account).
  • Go to "Admin Dashboard > Plugins > Add New > Upload Plugin" and browse for downloaded zip file.
  • If plugin is successfully installed - you should see it added to the Plugins list.
  • To keep WPFactory items up to date, please install WPFactory Helper plugin and enter your site key.

Refunds

We want to ensure that you are 100% happy with your purchase, so if you feel the product(s) you purchased are not the best fit for your requirements and you attempted to resolve issues with product's author, we are offering 30 day money back guarantee refund policy.