Code-Ninjas supports this item


271 comments found.

I need to set a minimum order value (not quantity) on just one of my categories. Will this work?

Hi there,

Yes it will. You can send a value limit on your category and items in that category must had a total value that you specify in the cart before the user can checkout.


miamizx Purchased

I need to limit the purchase of 1 item of 1 category, forever. Basically I have a category of free samples, I want the user to be able to order only 1 item from that category, only 1 time. Is this possible with this plug?

Hi there,

Only allowing 1 item from the category is possible but not forever. We haven’t implemented account limits yet which is what you would need.

Its something thats on the road map for the plugin and should be implemented soon.


miamizx Purchased

ok so I got this working fine, only letting one product per category in the cart, but the user can order more than one of that product that is in the cart, is there a way to limit only 1 product (quantity)?

You can either set the limit for that product 1, or set the quantity limit on the cart to 1.

Hi, i want to import my products and i donÄt know what to write in the advanced custom field at wp all import:

purchase_limit » min

is this right or is there a special meta tag to insert for the import like:


kind regards

The limits are saved in a meta with a name of ‘purchase_limit’. The value is an array with the min and max value. i.e array( 'min' => X, 'max' => Y );

hy – yes i know but i’ve only one line to set the meta in the import form:

purchase_limit » min this doesn t work

Yes the array is serialized then stored in the database. If i remember correctly, you can run PHP during the import in WPALLImport? Is so then you can pass the array into the serialize() function.

Hi there – pre-sales question please. I have a small range of products but I need to limit one of the ranges/shipping classes to being ordered on its own, and not with other products. Can your plugin do this.?

Hi there,

Unfortunately, that is no possible with the plugin currently but its something we will look into adding in a future update.


Hello guys

Is it possible to set purchase limit per weight while purchasing on custom currency ?

Regards Kamil

Hi there,

No thats not possible currently but might be something we look into further. Thanks for the suggestion.


I have a couple of questions please. Pardon my first question. I just want to be sure…

1. Would it be possible to limit the quantity of order to only one or a couple of items?

2. When I tested a purchase of 19 units, which is 1 unit under the minimum 20 you set across the board, I got error messages.

I test ordered 19 units of “Flying Ninja” posters:

This is the error message I got above the page for adding only 19 units in the cart:

Notice: Undefined property: wpdb::$woocommerce_termmeta in /home/abbidmco/ on line 684 Notice: Undefined property: wpdb::$woocommerce_termmeta in /home/abbidmco/ on line 684 Notice: Undefined property: wpdb::$woocommerce_termmeta in /home/abbidmco/ on line 684

When I clicked on the Checkout link above the nav menu, I got this error message on this page below—

Error Message:

Notice: Undefined property: wpdb::$woocommerce_termmeta in /home/abbidmco/ on line 684

Checkout Page:

The reason I’m pointing this out is, could this also be an issue when the plugin is activated on an actual site.

Thank you.

Thanks. Back to my first question—

1. Would it be possible to limit the quantity of order to only one or a couple of items?

Sorry, forgot to answer the first question :)

You can limit the the total quantity of the cart or the quantity of individual products or the quantity of products from a particular category. So when you say limit the order, you could set a cart limit of 1.

Hope that makes sense

Thank you.

Hi, before buying the add-on I would like to know if you can put a monthly shopping limit, I will give away three digital products to customers and I need to put the limit of three monthly products for each user, I have found add-ons that limit purchases, But none works on a monthly basis, is this supplement what I need? Thank you very much!!

Hi there,

Unfortunately, user limits (based on time) are not available in the plugin at the moment. Its something thats on the roadmap for the future though.

I have a question before I buy. I have a shop and I have to make sure that every user can only buy one type of product per month. The user can buy more types of products, but for each type only one per month. Then the next month will be able to repurchase it. Is it possible to do this?

Hi there,

At the moment, no its not possible but we are looking user limits and time limits for a future update. Keep an eye out for it :)

Pre sales question: can I create multiple notices for cart purchase limits based on shipping zone tiers? For example: Zone 1 gets free shipping at $1500, Zone 2 gets free shipping at $2000 etc. Please advise. Thanks.

Hi there,

Unfortunately no, notices for shipping zones are not possible at the moment. I’ve made a note and we’ll look into it as soon as we can.

Will I be able to do this:

Minimum 3 dozens of any item.

Minimum of total order $500. Must equal

Hi there,

Yes, you can set a minimum quantity limit of 36 for all items and also set a minimum cart limit of $500. Both conditions must be satisfied before you can checkout.

Hope that helps

it have been 3 years no updated, is it could be used in WC 4.8.X?

Hi there,

I assume you mean Wordpress 4.8. Woocommrce is at version 3.2. The plugin is still fully compatible with both.