{"id":3718,"date":"2023-11-07T07:09:41","date_gmt":"2023-11-07T07:09:41","guid":{"rendered":"https:\/\/addify.store\/documentation\/?page_id=3718"},"modified":"2023-11-07T07:09:41","modified_gmt":"2023-11-07T07:09:41","slug":"setting-up-woocommerce-cart-order-restrictions","status":"publish","type":"page","link":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-cart-order-restriction\/setting-up-woocommerce-cart-order-restrictions\/","title":{"rendered":"Setting Up WooCommerce Cart &#038; Order Restrictions\u00a0"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Enable Cart and Order Restrictions on Your Store<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Viewing All Restriction Rules in a Log<\/h3>\n\n\n\n<p>Go to <strong>WooCommerce <\/strong>&gt; <strong>Order Restriction<\/strong>.&nbsp;<\/p>\n\n\n\n<p><strong>Log of Restriction Rules:<\/strong> You can view a complete log of all the order restriction rules applied to your store<\/p>\n\n\n\n<p><strong>Filtering Rules: <\/strong>You can filter rules based on dates, making it easier to manage and review your order restrictions<\/p>\n\n\n\n<p><strong>Bulk Actions:<\/strong> Perform bulk actions on your restriction rules as needed, streamlining your management process<\/p>\n\n\n\n<p><strong>Editing Rules: <\/strong>Choose to edit an existing rule from the list<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/f5TONX5i-ZJh1VLHquDVubWvB4eXz29vOVWeqOpKHYS7PDwGlQf_54lswaFMhukUYgAeDl24481viDmyCELUZXAUv_oBYR9wVR6P01UzundGu_bPoww7f_th9svHDdrGLI5UU-oKjQj235_Ev9DJ5Vy_SUxCDeeFCgXyMjc5k6pBkTDn-9xOXPwnaJEZ2w\" alt=\"\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Creating Multiple Cart &amp; Order Restriction Rules<\/h3>\n\n\n\n<p><strong>Adding a New Rule:<\/strong> To create a new cart and order restriction rule, click on &#8220;Add New Rule.&#8221;<\/p>\n\n\n\n<p><strong>Rule Setting:&nbsp;<\/strong><\/p>\n\n\n\n<p><strong>Rule Name:<\/strong> Specify a Rule Name for easy identification.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Choosing the Restriction Type<\/h4>\n\n\n\n<p><strong>Select Type:<\/strong> Select the appropriate rule type from the following options:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Product Quantity Base<\/li>\n\n\n\n<li>Category Quantity Base<\/li>\n\n\n\n<li>Total Order Amount Base<\/li>\n\n\n\n<li>Total Order Quantity Base<\/li>\n\n\n\n<li>Shipping Method<\/li>\n\n\n\n<li>Payment Method<\/li>\n<\/ul>\n\n\n\n<p>If you select the first two options, specify the product and categories to which the rule will apply.<\/p>\n\n\n\n<p><strong>Select Product:<\/strong> Select the products to apply the rule<\/p>\n\n\n\n<p><strong>Select Category:<\/strong> Select the categories to apply the rule<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Restricting Orders Based on User Roles<\/h4>\n\n\n\n<p>Under &#8220;User Option,&#8221; you can select the user role and user to which the rule applies. Leaving these fields empty will apply the rule to all user roles and customers.<\/p>\n\n\n\n<p><strong>Select Role:<\/strong> Specify user roles to apply the restriction rule<\/p>\n\n\n\n<p><strong>Select User: <\/strong>Specify individual customers to apply the restriction rule<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Restricting Orders Based on Quantity<\/h4>\n\n\n\n<p><strong>Minimum Quantity:<\/strong> Set the minimum product quantities for the rule<\/p>\n\n\n\n<p><strong>Maximum Quantity:<\/strong> Set the maximum product quantities for the rule<\/p>\n\n\n\n<p><strong>Range Option: <\/strong>Select a range option:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>None&nbsp;<\/li>\n\n\n\n<li>Comma Separated<\/li>\n\n\n\n<li>Steps<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Restricting Orders Based on Duration<\/h4>\n\n\n\n<p>Choose between &#8220;Reset duration&#8221; or &#8220;Date Range&#8221; to set limitations on the rule based on time.<\/p>\n\n\n\n<p><strong>Reset Duration:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Duration: Specify the number of days for which the rule applies to orders<\/li>\n<\/ul>\n\n\n\n<p><strong>Date Range:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Start:<\/strong> Set the start date for the rule&nbsp;<\/li>\n\n\n\n<li><strong>End:<\/strong> Set the end date for the rule&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>Leave these fields empty for no date limits.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Displaying Custom Error Restriction Message<\/h4>\n\n\n\n<p><strong>Error Message:<\/strong> Create an error message that will be shown on the cart or checkout page when the rule is violated.&nbsp;<\/p>\n\n\n\n<p>You can use placeholders like {products_name}, {products_max_quantity}, {products_min_quantity}, {range_option}, {use_limit}, and {remaining_limit} to display relevant information.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Specifying Rule Priority<\/h4>\n\n\n\n<p><strong>Rule Priority:<\/strong> Set the rule&#8217;s priority order to determine how it applies in case multiple rules conflict<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/koCx0bT9E05Q2kSRrZTR496PaZ_3KsFEWtrM5J6BSqu14b9twe_FnIqBYuPsgJbBLq3b3K1lF_UWThGL7vqAyKPmGbczZtzfJyCWAzupVePoStx7cGAajLwVVZCsMQpGBGpIUlKHvc6prq3F5CqAykAd9woMHRdbDXx712rHbTFLX7JMcH2EBj1fFdKffw\" alt=\"\"\/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Personalizing Notifications<\/h3>\n\n\n\n<p>Go to <strong>WooCommerce <\/strong>&gt; <strong>Settings <\/strong>&gt; <strong>Cart and Order Restrictions <\/strong>&gt; <strong>General Settings<\/strong>.<\/p>\n\n\n\n<p><strong>Notification Setting: <\/strong>Enable to show all notifications at once on the Cart page<\/p>\n\n\n\n<p><strong>Show Notification on Load (Cart Page):<\/strong> Enable to display notifications when the Cart page loads<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/B_6tzCQBzkwMYzDu1fUqZ8Kzj_IbRgJJxf32qwaLo-TV10nPxm8lRJZXnn0PWozIa76Mae6g9HF7DlsPHScL4RpmRWZENrJic6PNCkpkS6n8A_MWtuumy6qh3HW0BEpClz6uSLNeLDk0wZD36BffUnm5jZ-5_Ok-l1ceQWf8fH34ABQRewprHRt34P2VOA\" alt=\"\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Enable Cart and Order Restrictions on Your Store Viewing All Restriction Rules in a Log Go to WooCommerce &gt; Order Restriction.&nbsp; Log of Restriction Rules: You can view a complete log of all the order restriction rules applied to your store Filtering Rules: You can filter rules based on dates, making it easier to manage [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1753,"parent":3710,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"template-parts\/documentation-template.php","meta":{"_themeisle_gutenberg_block_has_review":false,"footnotes":""},"class_list":["post-3718","page","type-page","status-publish","has-post-thumbnail","hentry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Setting Up WooCommerce Cart &amp; Order Restrictions\u00a0 - 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\/woocommerce-cart-order-restriction\/setting-up-woocommerce-cart-order-restrictions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Setting Up WooCommerce Cart &amp; Order Restrictions\u00a0 - Documentation\" \/>\n<meta property=\"og:description\" content=\"Enable Cart and Order Restrictions on Your Store Viewing All Restriction Rules in a Log Go to WooCommerce &gt; Order Restriction.&nbsp; Log of Restriction Rules: You can view a complete log of all the order restriction rules applied to your store Filtering Rules: You can filter rules based on dates, making it easier to manage [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-cart-order-restriction\/setting-up-woocommerce-cart-order-restrictions\/\" \/>\n<meta property=\"og:site_name\" content=\"Documentation\" \/>\n<meta property=\"og:image\" content=\"https:\/\/addify.store\/documentation\/wp-content\/uploads\/2023\/06\/database-usage.png\" \/>\n\t<meta property=\"og:image:width\" content=\"512\" \/>\n\t<meta property=\"og:image:height\" content=\"512\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\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=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-cart-order-restriction\\\/setting-up-woocommerce-cart-order-restrictions\\\/\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-cart-order-restriction\\\/setting-up-woocommerce-cart-order-restrictions\\\/\",\"name\":\"Setting Up WooCommerce Cart & Order Restrictions\u00a0 - Documentation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-cart-order-restriction\\\/setting-up-woocommerce-cart-order-restrictions\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-cart-order-restriction\\\/setting-up-woocommerce-cart-order-restrictions\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/addify.store\\\/documentation\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/database-usage.png\",\"datePublished\":\"2023-11-07T07:09:41+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-cart-order-restriction\\\/setting-up-woocommerce-cart-order-restrictions\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-cart-order-restriction\\\/setting-up-woocommerce-cart-order-restrictions\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-cart-order-restriction\\\/setting-up-woocommerce-cart-order-restrictions\\\/#primaryimage\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/database-usage.png\",\"contentUrl\":\"https:\\\/\\\/addify.store\\\/documentation\\\/wp-content\\\/uploads\\\/2023\\\/06\\\/database-usage.png\",\"width\":512,\"height\":512},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-cart-order-restriction\\\/setting-up-woocommerce-cart-order-restrictions\\\/#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\":\"WooCommerce Cart &amp; Order Restriction\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-cart-order-restriction\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Setting Up WooCommerce Cart &#038; Order Restrictions\u00a0\"}]},{\"@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":"Setting Up WooCommerce Cart & Order Restrictions\u00a0 - 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\/woocommerce-cart-order-restriction\/setting-up-woocommerce-cart-order-restrictions\/","og_locale":"en_US","og_type":"article","og_title":"Setting Up WooCommerce Cart & Order Restrictions\u00a0 - Documentation","og_description":"Enable Cart and Order Restrictions on Your Store Viewing All Restriction Rules in a Log Go to WooCommerce &gt; Order Restriction.&nbsp; Log of Restriction Rules: You can view a complete log of all the order restriction rules applied to your store Filtering Rules: You can filter rules based on dates, making it easier to manage [&hellip;]","og_url":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-cart-order-restriction\/setting-up-woocommerce-cart-order-restrictions\/","og_site_name":"Documentation","og_image":[{"width":512,"height":512,"url":"https:\/\/addify.store\/documentation\/wp-content\/uploads\/2023\/06\/database-usage.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-cart-order-restriction\/setting-up-woocommerce-cart-order-restrictions\/","url":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-cart-order-restriction\/setting-up-woocommerce-cart-order-restrictions\/","name":"Setting Up WooCommerce Cart & Order Restrictions\u00a0 - Documentation","isPartOf":{"@id":"https:\/\/addify.store\/documentation\/#website"},"primaryImageOfPage":{"@id":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-cart-order-restriction\/setting-up-woocommerce-cart-order-restrictions\/#primaryimage"},"image":{"@id":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-cart-order-restriction\/setting-up-woocommerce-cart-order-restrictions\/#primaryimage"},"thumbnailUrl":"https:\/\/addify.store\/documentation\/wp-content\/uploads\/2023\/06\/database-usage.png","datePublished":"2023-11-07T07:09:41+00:00","breadcrumb":{"@id":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-cart-order-restriction\/setting-up-woocommerce-cart-order-restrictions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-cart-order-restriction\/setting-up-woocommerce-cart-order-restrictions\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-cart-order-restriction\/setting-up-woocommerce-cart-order-restrictions\/#primaryimage","url":"https:\/\/addify.store\/documentation\/wp-content\/uploads\/2023\/06\/database-usage.png","contentUrl":"https:\/\/addify.store\/documentation\/wp-content\/uploads\/2023\/06\/database-usage.png","width":512,"height":512},{"@type":"BreadcrumbList","@id":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-cart-order-restriction\/setting-up-woocommerce-cart-order-restrictions\/#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":"WooCommerce Cart &amp; Order Restriction","item":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-cart-order-restriction\/"},{"@type":"ListItem","position":4,"name":"Setting Up WooCommerce Cart &#038; Order Restrictions\u00a0"}]},{"@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\/3718","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=3718"}],"version-history":[{"count":1,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/3718\/revisions"}],"predecessor-version":[{"id":3719,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/3718\/revisions\/3719"}],"up":[{"embeddable":true,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/3710"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/media\/1753"}],"wp:attachment":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/media?parent=3718"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}