{"id":100,"date":"2017-03-22T16:29:54","date_gmt":"2017-03-22T16:29:54","guid":{"rendered":"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/?p=100"},"modified":"2024-05-10T12:04:29","modified_gmt":"2024-05-10T12:04:29","slug":"set-quantity-restrictions","status":"publish","type":"post","link":"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/settings\/set-quantity-restrictions\/","title":{"rendered":"How to set quantity restrictions"},"content":{"rendered":"\n<p>The quantity control can be globally managed from the plugin settings dashboard or specifically on single products.<\/p>\n\n\n\n<p>Go to <b>YITH -> Minimum Maximum Quantity<\/b> <strong>-> General settings<\/strong> to configure the restriction rules for:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><b>cart<\/b>: the user can&#8217;t proceed with the checkout if the number of products added to the cart doesn&#8217;t match the inserted values. For further details about the settings, go to <a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/premium-version-settings\/cart-restrictions\/\" target=\"_blank\" rel=\"noopener\">this page<\/a>.<\/li>\n\n\n\n<li><b>products<\/b>: the quantity limits are applied to all the products of the shop (unless the product provides different settings). For further details about the settings, go to <a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/premium-version-settings\/product-restrictions\/\" target=\"_blank\" rel=\"noopener\">this page<\/a>.<\/li>\n\n\n\n<li><b>categories<\/b>: the quantity limits are applied to all the shop categories. This means the total product quantity of each category must correspond to the specified limits. If you want to exclude the category from the general limits, enable the option <b>&#8220;Exclude category&#8221;<\/b> that you can find on the WooCommerce category page. For further details about the settings, go to <a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/premium-version-settings\/category-restrictions\/\" target=\"_blank\" rel=\"noopener\">this page<\/a>.<\/li>\n\n\n\n<li><b>tag<\/b>: the quantity limits are applied to all the shop tags. The total products must correspond to the limits for each tag in the cart. If you want to exclude a tag from the general limits, enable the option <b>&#8220;Exclude tag&#8221;<\/b> that you can find on the WooCommerce tags page. For further details about the settings, go to <a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/premium-version-settings\/tag-restrictions\/\" target=\"_blank\" rel=\"noopener\">this page<\/a>.<\/li>\n<\/ul>\n\n\n\n<div id=\"multiple-rules\" class=\"alert alert-info\">\n<p>The restriction rules can be combined. <b>Pay attention<\/b> to their compatibility.<br>The general rules can be overridden on single product. If this doesn&#8217;t happen, the system will apply the quantity restriction rules based on the following priority ascending order:<\/p>\n<ul>\n<li>rules by tag<\/li>\n<li>rules by category<\/li>\n<li>rules by product<\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The quantity control can be globally managed from the plugin settings dashboard or specifically on single products. Go to YITH -> Minimum Maximum Quantity -> General settings to configure the restriction rules for: The restriction rules can be combined. Pay attention to their compatibility.The general rules can be overridden on single product. If this doesn&#8217;t &hellip; <a href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/settings\/set-quantity-restrictions\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How to set quantity restrictions<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-100","post","type-post","status-publish","format-standard","hentry","category-settings"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>YITH Minimum Maximum Quantity: How to set quantity restrictions<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/settings\/set-quantity-restrictions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"YITH Minimum Maximum Quantity: How to set quantity restrictions\" \/>\n<meta property=\"og:description\" content=\"The quantity control can be globally managed from the plugin settings dashboard or specifically on single products. Go to YITH -&gt; Minimum Maximum Quantity -&gt; General settings to configure the restriction rules for: The restriction rules can be combined. Pay attention to their compatibility.The general rules can be overridden on single product. If this doesn&#8217;t &hellip; Continue reading How to set quantity restrictions\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/settings\/set-quantity-restrictions\/\" \/>\n<meta property=\"og:site_name\" content=\"YITH WooCommerce Minimum Maximum Quantity\" \/>\n<meta property=\"article:published_time\" content=\"2017-03-22T16:29:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-10T12:04:29+00:00\" \/>\n<meta name=\"author\" content=\"Alessio Torrisi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alessio Torrisi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/settings\/set-quantity-restrictions\/\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/settings\/set-quantity-restrictions\/\",\"name\":\"YITH Minimum Maximum Quantity: How to set quantity restrictions\",\"isPartOf\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/#website\"},\"datePublished\":\"2017-03-22T16:29:54+00:00\",\"dateModified\":\"2024-05-10T12:04:29+00:00\",\"author\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5\"},\"breadcrumb\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/settings\/set-quantity-restrictions\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/settings\/set-quantity-restrictions\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/settings\/set-quantity-restrictions\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to set quantity restrictions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/#website\",\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/\",\"name\":\"YITH WooCommerce Minimum Maximum Quantity\",\"description\":\"Plugin documentation\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5\",\"name\":\"Alessio Torrisi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g\",\"caption\":\"Alessio Torrisi\"},\"url\":\"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/author\/alessio\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"YITH Minimum Maximum Quantity: How to set quantity restrictions","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/settings\/set-quantity-restrictions\/","og_locale":"en_US","og_type":"article","og_title":"YITH Minimum Maximum Quantity: How to set quantity restrictions","og_description":"The quantity control can be globally managed from the plugin settings dashboard or specifically on single products. Go to YITH -> Minimum Maximum Quantity -> General settings to configure the restriction rules for: The restriction rules can be combined. Pay attention to their compatibility.The general rules can be overridden on single product. If this doesn&#8217;t &hellip; Continue reading How to set quantity restrictions","og_url":"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/settings\/set-quantity-restrictions\/","og_site_name":"YITH WooCommerce Minimum Maximum Quantity","article_published_time":"2017-03-22T16:29:54+00:00","article_modified_time":"2024-05-10T12:04:29+00:00","author":"Alessio Torrisi","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Alessio Torrisi","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/settings\/set-quantity-restrictions\/","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/settings\/set-quantity-restrictions\/","name":"YITH Minimum Maximum Quantity: How to set quantity restrictions","isPartOf":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/#website"},"datePublished":"2017-03-22T16:29:54+00:00","dateModified":"2024-05-10T12:04:29+00:00","author":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5"},"breadcrumb":{"@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/settings\/set-quantity-restrictions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/settings\/set-quantity-restrictions\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/settings\/set-quantity-restrictions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/"},{"@type":"ListItem","position":2,"name":"How to set quantity restrictions"}]},{"@type":"WebSite","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/#website","url":"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/","name":"YITH WooCommerce Minimum Maximum Quantity","description":"Plugin documentation","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5","name":"Alessio Torrisi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g","caption":"Alessio Torrisi"},"url":"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/author\/alessio\/"}]}},"_links":{"self":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/wp-json\/wp\/v2\/posts\/100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/wp-json\/wp\/v2\/comments?post=100"}],"version-history":[{"count":13,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/wp-json\/wp\/v2\/posts\/100\/revisions"}],"predecessor-version":[{"id":494,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/wp-json\/wp\/v2\/posts\/100\/revisions\/494"}],"wp:attachment":[{"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/wp-json\/wp\/v2\/media?parent=100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/wp-json\/wp\/v2\/categories?post=100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-woocommerce-minimum-maximum-quantity\/wp-json\/wp\/v2\/tags?post=100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}