{"id":2914,"date":"2023-09-25T06:35:19","date_gmt":"2023-09-25T06:35:19","guid":{"rendered":"https:\/\/addify.store\/documentation\/?page_id=2914"},"modified":"2023-10-26T10:57:02","modified_gmt":"2023-10-26T10:57:02","slug":"how-to-add-quantity-restrictions-based-on-user-roles-in-woocommerce","status":"publish","type":"page","link":"https:\/\/addify.store\/documentation\/woocommerce\/advanced-product-quantity-for-woocommerce\/how-tos\/how-to-add-quantity-restrictions-based-on-user-roles-in-woocommerce\/","title":{"rendered":"How to Add Quantity Restrictions Based on User Roles in Woocommerce?"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Setting User Role Based Quantity Restrictions&nbsp;<\/h2>\n\n\n\n<p>User role-based quantity restrictions enable you to apply pricing strategies that align with specific customer segments.<\/p>\n\n\n\n<p>To add quantity restrictions based on user roles in WooCommerce using the Advanced Product Quantity plugin, follow these steps:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Navigate to <strong>WooCommerce &gt; Product Quantity<\/strong>.<\/li>\n\n\n\n<li>Either <strong>Create <\/strong>a new rule or Edit an existing one.<\/li>\n\n\n\n<li>In the rule editing page, scroll down to the &#8220;User Restrictions&#8221; section and choose the user role(s) for the rule.<\/li>\n\n\n\n<li>Save the changes.&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>Now, the quantity restrictions you&#8217;ve defined will be enforced based on the selected user roles. If no role is chosen, the rule will be applied universally to all user roles.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh6.googleusercontent.com\/giJ_5xx4hy5WR1-9NOLMd_guOR_i3W_ptAkLbIM61gVR-JPBYpiZa5E7RraS2vmFvTtryswWm79SqaVxNWB9c5ioEgVbQp2ViMyRsgoUDHl7oXUsXX9V8KHiwhyG0ZUy4fbQn8_Jefy7QEpte5OQTjE\" alt=\"\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Setting User Role Based Quantity Restrictions&nbsp; User role-based quantity restrictions enable you to apply pricing strategies that align with specific customer segments. To add quantity restrictions based on user roles in WooCommerce using the Advanced Product Quantity plugin, follow these steps: Now, the quantity restrictions you&#8217;ve defined will be enforced based on the selected user [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2908,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"template-parts\/multiple-page-template.php","meta":{"_themeisle_gutenberg_block_has_review":false,"footnotes":""},"class_list":["post-2914","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Add Quantity Restrictions Based on User Roles in Woocommerce? - Documentation<\/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:\/\/addify.store\/documentation\/woocommerce\/advanced-product-quantity-for-woocommerce\/how-tos\/how-to-add-quantity-restrictions-based-on-user-roles-in-woocommerce\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Add Quantity Restrictions Based on User Roles in Woocommerce? - Documentation\" \/>\n<meta property=\"og:description\" content=\"Setting User Role Based Quantity Restrictions&nbsp; User role-based quantity restrictions enable you to apply pricing strategies that align with specific customer segments. To add quantity restrictions based on user roles in WooCommerce using the Advanced Product Quantity plugin, follow these steps: Now, the quantity restrictions you&#8217;ve defined will be enforced based on the selected user [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/addify.store\/documentation\/woocommerce\/advanced-product-quantity-for-woocommerce\/how-tos\/how-to-add-quantity-restrictions-based-on-user-roles-in-woocommerce\/\" \/>\n<meta property=\"og:site_name\" content=\"Documentation\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-26T10:57:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/lh6.googleusercontent.com\/giJ_5xx4hy5WR1-9NOLMd_guOR_i3W_ptAkLbIM61gVR-JPBYpiZa5E7RraS2vmFvTtryswWm79SqaVxNWB9c5ioEgVbQp2ViMyRsgoUDHl7oXUsXX9V8KHiwhyG0ZUy4fbQn8_Jefy7QEpte5OQTjE\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/advanced-product-quantity-for-woocommerce\\\/how-tos\\\/how-to-add-quantity-restrictions-based-on-user-roles-in-woocommerce\\\/\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/advanced-product-quantity-for-woocommerce\\\/how-tos\\\/how-to-add-quantity-restrictions-based-on-user-roles-in-woocommerce\\\/\",\"name\":\"How to Add Quantity Restrictions Based on User Roles in Woocommerce? - Documentation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/advanced-product-quantity-for-woocommerce\\\/how-tos\\\/how-to-add-quantity-restrictions-based-on-user-roles-in-woocommerce\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/advanced-product-quantity-for-woocommerce\\\/how-tos\\\/how-to-add-quantity-restrictions-based-on-user-roles-in-woocommerce\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/lh6.googleusercontent.com\\\/giJ_5xx4hy5WR1-9NOLMd_guOR_i3W_ptAkLbIM61gVR-JPBYpiZa5E7RraS2vmFvTtryswWm79SqaVxNWB9c5ioEgVbQp2ViMyRsgoUDHl7oXUsXX9V8KHiwhyG0ZUy4fbQn8_Jefy7QEpte5OQTjE\",\"datePublished\":\"2023-09-25T06:35:19+00:00\",\"dateModified\":\"2023-10-26T10:57:02+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/advanced-product-quantity-for-woocommerce\\\/how-tos\\\/how-to-add-quantity-restrictions-based-on-user-roles-in-woocommerce\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/advanced-product-quantity-for-woocommerce\\\/how-tos\\\/how-to-add-quantity-restrictions-based-on-user-roles-in-woocommerce\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/advanced-product-quantity-for-woocommerce\\\/how-tos\\\/how-to-add-quantity-restrictions-based-on-user-roles-in-woocommerce\\\/#primaryimage\",\"url\":\"https:\\\/\\\/lh6.googleusercontent.com\\\/giJ_5xx4hy5WR1-9NOLMd_guOR_i3W_ptAkLbIM61gVR-JPBYpiZa5E7RraS2vmFvTtryswWm79SqaVxNWB9c5ioEgVbQp2ViMyRsgoUDHl7oXUsXX9V8KHiwhyG0ZUy4fbQn8_Jefy7QEpte5OQTjE\",\"contentUrl\":\"https:\\\/\\\/lh6.googleusercontent.com\\\/giJ_5xx4hy5WR1-9NOLMd_guOR_i3W_ptAkLbIM61gVR-JPBYpiZa5E7RraS2vmFvTtryswWm79SqaVxNWB9c5ioEgVbQp2ViMyRsgoUDHl7oXUsXX9V8KHiwhyG0ZUy4fbQn8_Jefy7QEpte5OQTjE\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/advanced-product-quantity-for-woocommerce\\\/how-tos\\\/how-to-add-quantity-restrictions-based-on-user-roles-in-woocommerce\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WooCommerce\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Advanced Product Quantity for WooCommerce\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/advanced-product-quantity-for-woocommerce\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"How To\u2019s APQW\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/advanced-product-quantity-for-woocommerce\\\/how-tos\\\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"How to Add Quantity Restrictions Based on User Roles in Woocommerce?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#website\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/\",\"name\":\"Documentation\",\"description\":\"Documentation for Addify Extensions\",\"publisher\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/addify.store\\\/documentation\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#organization\",\"name\":\"Documentation\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Asset-21-2x.png\",\"contentUrl\":\"https:\\\/\\\/addify.store\\\/documentation\\\/wp-content\\\/uploads\\\/2023\\\/11\\\/Asset-21-2x.png\",\"width\":6761,\"height\":1853,\"caption\":\"Documentation\"},\"image\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Add Quantity Restrictions Based on User Roles in Woocommerce? - Documentation","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:\/\/addify.store\/documentation\/woocommerce\/advanced-product-quantity-for-woocommerce\/how-tos\/how-to-add-quantity-restrictions-based-on-user-roles-in-woocommerce\/","og_locale":"en_US","og_type":"article","og_title":"How to Add Quantity Restrictions Based on User Roles in Woocommerce? - Documentation","og_description":"Setting User Role Based Quantity Restrictions&nbsp; User role-based quantity restrictions enable you to apply pricing strategies that align with specific customer segments. To add quantity restrictions based on user roles in WooCommerce using the Advanced Product Quantity plugin, follow these steps: Now, the quantity restrictions you&#8217;ve defined will be enforced based on the selected user [&hellip;]","og_url":"https:\/\/addify.store\/documentation\/woocommerce\/advanced-product-quantity-for-woocommerce\/how-tos\/how-to-add-quantity-restrictions-based-on-user-roles-in-woocommerce\/","og_site_name":"Documentation","article_modified_time":"2023-10-26T10:57:02+00:00","og_image":[{"url":"https:\/\/lh6.googleusercontent.com\/giJ_5xx4hy5WR1-9NOLMd_guOR_i3W_ptAkLbIM61gVR-JPBYpiZa5E7RraS2vmFvTtryswWm79SqaVxNWB9c5ioEgVbQp2ViMyRsgoUDHl7oXUsXX9V8KHiwhyG0ZUy4fbQn8_Jefy7QEpte5OQTjE","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/addify.store\/documentation\/woocommerce\/advanced-product-quantity-for-woocommerce\/how-tos\/how-to-add-quantity-restrictions-based-on-user-roles-in-woocommerce\/","url":"https:\/\/addify.store\/documentation\/woocommerce\/advanced-product-quantity-for-woocommerce\/how-tos\/how-to-add-quantity-restrictions-based-on-user-roles-in-woocommerce\/","name":"How to Add Quantity Restrictions Based on User Roles in Woocommerce? - Documentation","isPartOf":{"@id":"https:\/\/addify.store\/documentation\/#website"},"primaryImageOfPage":{"@id":"https:\/\/addify.store\/documentation\/woocommerce\/advanced-product-quantity-for-woocommerce\/how-tos\/how-to-add-quantity-restrictions-based-on-user-roles-in-woocommerce\/#primaryimage"},"image":{"@id":"https:\/\/addify.store\/documentation\/woocommerce\/advanced-product-quantity-for-woocommerce\/how-tos\/how-to-add-quantity-restrictions-based-on-user-roles-in-woocommerce\/#primaryimage"},"thumbnailUrl":"https:\/\/lh6.googleusercontent.com\/giJ_5xx4hy5WR1-9NOLMd_guOR_i3W_ptAkLbIM61gVR-JPBYpiZa5E7RraS2vmFvTtryswWm79SqaVxNWB9c5ioEgVbQp2ViMyRsgoUDHl7oXUsXX9V8KHiwhyG0ZUy4fbQn8_Jefy7QEpte5OQTjE","datePublished":"2023-09-25T06:35:19+00:00","dateModified":"2023-10-26T10:57:02+00:00","breadcrumb":{"@id":"https:\/\/addify.store\/documentation\/woocommerce\/advanced-product-quantity-for-woocommerce\/how-tos\/how-to-add-quantity-restrictions-based-on-user-roles-in-woocommerce\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/addify.store\/documentation\/woocommerce\/advanced-product-quantity-for-woocommerce\/how-tos\/how-to-add-quantity-restrictions-based-on-user-roles-in-woocommerce\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/addify.store\/documentation\/woocommerce\/advanced-product-quantity-for-woocommerce\/how-tos\/how-to-add-quantity-restrictions-based-on-user-roles-in-woocommerce\/#primaryimage","url":"https:\/\/lh6.googleusercontent.com\/giJ_5xx4hy5WR1-9NOLMd_guOR_i3W_ptAkLbIM61gVR-JPBYpiZa5E7RraS2vmFvTtryswWm79SqaVxNWB9c5ioEgVbQp2ViMyRsgoUDHl7oXUsXX9V8KHiwhyG0ZUy4fbQn8_Jefy7QEpte5OQTjE","contentUrl":"https:\/\/lh6.googleusercontent.com\/giJ_5xx4hy5WR1-9NOLMd_guOR_i3W_ptAkLbIM61gVR-JPBYpiZa5E7RraS2vmFvTtryswWm79SqaVxNWB9c5ioEgVbQp2ViMyRsgoUDHl7oXUsXX9V8KHiwhyG0ZUy4fbQn8_Jefy7QEpte5OQTjE"},{"@type":"BreadcrumbList","@id":"https:\/\/addify.store\/documentation\/woocommerce\/advanced-product-quantity-for-woocommerce\/how-tos\/how-to-add-quantity-restrictions-based-on-user-roles-in-woocommerce\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/addify.store\/documentation\/"},{"@type":"ListItem","position":2,"name":"WooCommerce","item":"https:\/\/addify.store\/documentation\/woocommerce\/"},{"@type":"ListItem","position":3,"name":"Advanced Product Quantity for WooCommerce","item":"https:\/\/addify.store\/documentation\/woocommerce\/advanced-product-quantity-for-woocommerce\/"},{"@type":"ListItem","position":4,"name":"How To\u2019s APQW","item":"https:\/\/addify.store\/documentation\/woocommerce\/advanced-product-quantity-for-woocommerce\/how-tos\/"},{"@type":"ListItem","position":5,"name":"How to Add Quantity Restrictions Based on User Roles in Woocommerce?"}]},{"@type":"WebSite","@id":"https:\/\/addify.store\/documentation\/#website","url":"https:\/\/addify.store\/documentation\/","name":"Documentation","description":"Documentation for Addify Extensions","publisher":{"@id":"https:\/\/addify.store\/documentation\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/addify.store\/documentation\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/addify.store\/documentation\/#organization","name":"Documentation","url":"https:\/\/addify.store\/documentation\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/addify.store\/documentation\/#\/schema\/logo\/image\/","url":"https:\/\/addify.store\/documentation\/wp-content\/uploads\/2023\/11\/Asset-21-2x.png","contentUrl":"https:\/\/addify.store\/documentation\/wp-content\/uploads\/2023\/11\/Asset-21-2x.png","width":6761,"height":1853,"caption":"Documentation"},"image":{"@id":"https:\/\/addify.store\/documentation\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/2914","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/comments?post=2914"}],"version-history":[{"count":2,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/2914\/revisions"}],"predecessor-version":[{"id":3508,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/2914\/revisions\/3508"}],"up":[{"embeddable":true,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/2908"}],"wp:attachment":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/media?parent=2914"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}