{"id":3878,"date":"2024-12-16T09:42:10","date_gmt":"2024-12-16T09:42:10","guid":{"rendered":"https:\/\/ithemelandco.com\/docs\/woommp\/?p=3878"},"modified":"2025-11-08T12:27:39","modified_gmt":"2025-11-08T12:27:39","slug":"set-min-max-qty-for-category-tag","status":"publish","type":"post","link":"https:\/\/ithemelandco.com\/docs\/woommp\/set-min-max-qty-for-category-tag\/","title":{"rendered":"How to Manage Minimum and Maximum Quantity Per Category\/Tag? (all\/individual)"},"content":{"rendered":"\n<p><a href=\"https:\/\/ithemelandco.com\/plugins\/woocommerce-min-max-quantity\/?utm_source=docs&amp;utm_content=min-max-qty-cat-tag\" target=\"_blank\" rel=\"noreferrer noopener\">MINMAXiT &#8211; Min and Max Quantity for WooCommerce plugin<\/a> is a powerful tool allowing store managers to apply quantity limits on all or individual product categories and tags. In this tutorial, we want to show you how to set minimum and maximum quantity restrictions for product categories and tags with this plugin.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Set quantity limits to all product categories in WooCommerce<\/h2>\n\n\n\n<p>If you want to apply the same quantity limit rule on all categories in your WooCommerce store, follow the below steps:&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to <strong>WordPress Dashboard &gt; iThemeland &gt; Min Max quantity.&nbsp;<\/strong><\/li>\n\n\n\n<li>Open the <strong>General<\/strong> tab.<\/li>\n\n\n\n<li>Locate the <strong>Category Restrictions<\/strong> section and mark the <strong>Enable category restrictions<\/strong> field.<\/li>\n\n\n\n<li>Set the rule items, including:<\/li>\n<\/ol>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Minimum quantity restrictions<\/strong>: The minimum number of products that customers are allowed to order from each category in your shop.<\/li>\n\n\n\n<li><strong>Maximum quantity restrictions<\/strong>: The maximum number of products that customers are allowed to order from each category of your store.<\/li>\n<\/ul>\n\n\n\n<p><strong>Note:<\/strong> If you set the quantity of the above fields to 0, it means no restriction will be applied to that specific field.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Quantity group of<\/strong>: The customers are allowed to order the products from each category in group of specified number in this field.<\/li>\n<\/ul>\n\n\n\n<ol start=\"5\" class=\"wp-block-list\">\n<li>Press the <strong>Save Options<\/strong> button to apply the rule on all WooCommerce categories.&nbsp;<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/ithemelandco.com\/docs\/woommp\/wp-content\/uploads\/sites\/21\/2024\/12\/01-set-quantity-limit-to-all-product-categories.png\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1213\" height=\"746\" src=\"https:\/\/ithemelandco.com\/docs\/woommp\/wp-content\/uploads\/sites\/21\/2024\/12\/01-set-quantity-limit-to-all-product-categories.png\" alt=\"Set quantity limit to all product categories\" class=\"wp-image-3879\"\/><\/a><\/figure>\n\n\n\n<p>For example, if you want to let customers purchase 5 to 10 products from each category of your site, set the rule items as below:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Minimum quantity restrictions: 5<\/li>\n\n\n\n<li>Maximum quantity restrictions: 10<\/li>\n\n\n\n<li>Qty groups of: 1<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/ithemelandco.com\/docs\/woommp\/wp-content\/uploads\/sites\/21\/2024\/12\/02-enable-category-quantity-restriction.png\"><img decoding=\"async\" width=\"777\" height=\"253\" src=\"https:\/\/ithemelandco.com\/docs\/woommp\/wp-content\/uploads\/sites\/21\/2024\/12\/02-enable-category-quantity-restriction.png\" alt=\"Enable category quantity restriction\" class=\"wp-image-3880\"\/><\/a><\/figure>\n\n\n\n<p>By applying this rule, customers are not able to order less than 5 or more than 10 items from each category in your online shop.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Set quantity limits to Individual product categories in WooCommerce<\/h2>\n\n\n\n<p>if you have already set a general rule for all categories in your website but you need to override the restrictions of one or more categories with different rules, set a new rule on a single category, by following the below steps:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to <strong>Products &gt; Categories.<\/strong>&nbsp;<\/li>\n\n\n\n<li>Hover over one of the categories in the list and press the <strong>Edit<\/strong> option.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/ithemelandco.com\/docs\/woommp\/wp-content\/uploads\/sites\/21\/2024\/12\/03-select-category-edit-option.png\"><img decoding=\"async\" width=\"1220\" height=\"370\" src=\"https:\/\/ithemelandco.com\/docs\/woommp\/wp-content\/uploads\/sites\/21\/2024\/12\/03-select-category-edit-option.png\" alt=\"Select category edit option\" class=\"wp-image-3881\"\/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Scroll down the <strong>Edit<\/strong> category form and mark <strong>Override quantity restrictions<\/strong>.<\/li>\n\n\n\n<li>Set the rule items as we described before including:\n<ul class=\"wp-block-list\">\n<li>Minimum quantity restrictions&nbsp;<\/li>\n\n\n\n<li>Maximum quantity restrictions&nbsp;<\/li>\n\n\n\n<li>Quantity groups of<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Press the <strong>Update<\/strong> button.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><a href=\"https:\/\/ithemelandco.com\/docs\/woommp\/wp-content\/uploads\/sites\/21\/2024\/12\/04-set-quantity-limit-to-individual-product-categories.png\"><img loading=\"lazy\" decoding=\"async\" width=\"663\" height=\"843\" src=\"https:\/\/ithemelandco.com\/docs\/woommp\/wp-content\/uploads\/sites\/21\/2024\/12\/04-set-quantity-limit-to-individual-product-categories.png\" alt=\"set quantity limit to individual product categories in min-max quantity plugin\" class=\"wp-image-3882\"\/><\/a><\/figure>\n\n\n\n<p>For example, if you set the following limits for the <strong>Clothing<\/strong> category :<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Minimum quantity: 2<\/li>\n\n\n\n<li>Maximum quantity: 4<\/li>\n\n\n\n<li>Quantity groups of: 1<\/li>\n<\/ul>\n\n\n\n<p>It means customers are not allowed less than 2 and more than 4 quantities from the products in the clothing category.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Set quantity limits to all product tags in WooCommerce<\/h2>\n\n\n\n<p>You can set quantity restrictions for all tags just like all categories as we described above. Let\u2019s make an example to review the steps:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to <strong>WordPress Dashboard &gt; iThemeland &gt; Min Max quantity.&nbsp;<\/strong><\/li>\n\n\n\n<li>Go to the <strong>General<\/strong> tab.&nbsp;<\/li>\n\n\n\n<li>Locate <strong>Tag restrictions <\/strong>and mark <strong>Enable tag quantity restrictions<\/strong>.<\/li>\n\n\n\n<li>Set the following limits:<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Minimum quantity: 3<\/li>\n\n\n\n<li>Maximum quantity: 6<\/li>\n\n\n\n<li>Quantity groups of: 1<\/li>\n\n\n\n<li>Apply changes on all tags by clicking on the <strong>Save Options<\/strong> button.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/ithemelandco.com\/docs\/woommp\/wp-content\/uploads\/sites\/21\/2024\/12\/05-set-quantity-limit-to-all-products-tag.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1056\" height=\"358\" src=\"https:\/\/ithemelandco.com\/docs\/woommp\/wp-content\/uploads\/sites\/21\/2024\/12\/05-set-quantity-limit-to-all-products-tag.png\" alt=\"set quantity limi to all products tags\" class=\"wp-image-3883\"\/><\/a><\/figure>\n\n\n\n<p>Once you have applied the changes, customers can only order 3 to 6 products from all product tags in your store.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Set quantity limits to individual product tags in WooCommerce<\/h2>\n\n\n\n<p>The MINMAXiT &#8211; Min and Max Quantity for WooCommerce plugin allows you to set different restrictions for individual tags. Let\u2019s suppose that you have created a <strong>Bright<\/strong> tag and assigned some products to it. Now, you want to apply a minimum and maximum limit quantity only on the products related to this tag.\u00a0<\/p>\n\n\n\n<p>To make this happen, follow the below steps:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to <strong>Products &gt; Tags<\/strong> to see the list of all tags in your store.<\/li>\n\n\n\n<li>Find the <strong>Bright<\/strong> tag and hover over it to see the <strong>Edit<\/strong> option and click on it.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/ithemelandco.com\/docs\/woommp\/wp-content\/uploads\/sites\/21\/2024\/12\/06-select-products-tag-edit-option.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1211\" height=\"375\" src=\"https:\/\/ithemelandco.com\/docs\/woommp\/wp-content\/uploads\/sites\/21\/2024\/12\/06-select-products-tag-edit-option.png\" alt=\"Edit products tag option in min-max quantity plugin\" class=\"wp-image-3884\"\/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Scroll down the tag edit page to find <strong>Minimum Maximum Quantity options<\/strong>.<\/li>\n\n\n\n<li>Mark <strong>Override quantity restrictions<\/strong>&nbsp;<\/li>\n\n\n\n<li>Set the minimum and maximum limits as below:\n<ul class=\"wp-block-list\">\n<li>Min qty: 2<\/li>\n\n\n\n<li>Max qty: 4<\/li>\n\n\n\n<li>Qty group of: 1<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Press the <strong>Update<\/strong> button to apply changes to this product tag.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><a href=\"https:\/\/ithemelandco.com\/docs\/woommp\/wp-content\/uploads\/sites\/21\/2024\/12\/07-set-quantity-limit-to-individual-products-tags.png\"><img loading=\"lazy\" decoding=\"async\" width=\"669\" height=\"450\" src=\"https:\/\/ithemelandco.com\/docs\/woommp\/wp-content\/uploads\/sites\/21\/2024\/12\/07-set-quantity-limit-to-individual-products-tags.png\" alt=\"set quantity limit to individual product tags\" class=\"wp-image-3885\"\/><\/a><\/figure>\n\n\n\n<p>In this way, when customers want to order less than 2 or more 4 products from this tag, an error will occur as illustrated below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/ithemelandco.com\/docs\/woommp\/wp-content\/uploads\/sites\/21\/2024\/12\/08-error-if-not-met-tag-quantity-condition.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1462\" height=\"822\" src=\"https:\/\/ithemelandco.com\/docs\/woommp\/wp-content\/uploads\/sites\/21\/2024\/12\/08-error-if-not-met-tag-quantity-condition.png\" alt=\"Result error if not met tag quantity condition\" class=\"wp-image-3886\"\/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>MINMAXiT &#8211; Min and Max Quantity for WooCommerce plugin is a powerful tool allowing store managers to apply quantity limits on all or individual product categories and tags. In this tutorial, we want to show you how to set minimum and maximum quantity restrictions for product categories and tags with this plugin. Set quantity limits [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3878","post","type-post","status-publish","format-standard","hentry","category-plugin-usage"],"_links":{"self":[{"href":"https:\/\/ithemelandco.com\/docs\/woommp\/wp-json\/wp\/v2\/posts\/3878","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ithemelandco.com\/docs\/woommp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ithemelandco.com\/docs\/woommp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ithemelandco.com\/docs\/woommp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ithemelandco.com\/docs\/woommp\/wp-json\/wp\/v2\/comments?post=3878"}],"version-history":[{"count":1,"href":"https:\/\/ithemelandco.com\/docs\/woommp\/wp-json\/wp\/v2\/posts\/3878\/revisions"}],"predecessor-version":[{"id":4515,"href":"https:\/\/ithemelandco.com\/docs\/woommp\/wp-json\/wp\/v2\/posts\/3878\/revisions\/4515"}],"wp:attachment":[{"href":"https:\/\/ithemelandco.com\/docs\/woommp\/wp-json\/wp\/v2\/media?parent=3878"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ithemelandco.com\/docs\/woommp\/wp-json\/wp\/v2\/categories?post=3878"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ithemelandco.com\/docs\/woommp\/wp-json\/wp\/v2\/tags?post=3878"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}