{"id":3726,"date":"2023-11-07T07:11:23","date_gmt":"2023-11-07T07:11:23","guid":{"rendered":"https:\/\/addify.store\/documentation\/?page_id=3726"},"modified":"2023-11-07T07:11:23","modified_gmt":"2023-11-07T07:11:23","slug":"how-to-add-reset-days-for-restriction-for-example-only-two-hats-can-be-purchased-in-seven-days","status":"publish","type":"page","link":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-cart-order-restriction\/how-tos\/how-to-add-reset-days-for-restriction-for-example-only-two-hats-can-be-purchased-in-seven-days\/","title":{"rendered":"How to Add Reset Days for Restriction (for example, only two hats can be purchased in seven days)?"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Adding Reset Days for Restriction<\/h2>\n\n\n\n<p>To add a reset duration for a restriction in the WooCommerce Cart &amp; Order Restriction plugin, such as allowing customers to purchase a limited number of items within a specified time frame (e.g., only two hats can be purchased in seven days), follow these steps:<\/p>\n\n\n\n<p><strong>Install and Activate the Plugin:<\/strong><\/p>\n\n\n\n<p>Make sure you have already installed and activated the WooCommerce Cart &amp; Order Restriction plugin on your WordPress website.<\/p>\n\n\n\n<p><strong>Access the Plugin Settings:<\/strong><\/p>\n\n\n\n<p>Go to your WordPress dashboard and navigate to <strong>WooCommerce <\/strong>&gt; <strong>Order Restriction<\/strong>.<\/p>\n\n\n\n<p><strong>Create or Edit a Restriction Rule:<\/strong><\/p>\n\n\n\n<p>To set up a reset duration for a restriction, you can either create a new cart and order restriction rule by clicking <strong>&#8220;Add New Rule&#8221; <\/strong>or edit an existing rule.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Configure the Reset Duration<\/h3>\n\n\n\n<p>In the rule settings, you&#8217;ll find a section for <strong>&#8220;Restricting Orders Based on Duration.&#8221;<\/strong><\/p>\n\n\n\n<p><strong>Reset Duration:<\/strong><\/p>\n\n\n\n<p>Select the &#8220;Reset duration&#8221; option.<\/p>\n\n\n\n<p><strong>Duration:<\/strong><\/p>\n\n\n\n<p>Specify the number of days for which the rule applies to orders. For example, if you want to allow customers to purchase only two hats in a seven-day period, you would set the &#8220;Duration&#8221; to 7 days.<\/p>\n\n\n\n<p><strong>Save the Rule:<\/strong><\/p>\n\n\n\n<p>After configuring the reset duration, click the<strong> &#8220;Save Changes&#8221;<\/strong> button to save the rule.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/DbFxbN-GcC8_E0sBtYNxne85KqxR1Fu6-gzrPa_QBGPWuFqWiJ3smYTCov9mK-KyLTPNzUAfDjel18lD6fhO5swH1uOCEAeXmEJ6T-hV8CDQE6Wby2TtIQ39ZyVnwSrmHC6EQQiUkEDjDKWnBJoDkyXP5op2zpPPR7L2rKy8lreFwsesvHy_d7HAyNnuBg\" alt=\"\"\/><\/figure>\n\n\n\n<p><strong>Test the Restriction:<\/strong><\/p>\n\n\n\n<p>To ensure that the reset duration is working as intended, you can test it by adding products to your cart and going through the checkout process. The system should track the number of products purchased within the specified duration and prevent customers from exceeding the allowed quantity.<\/p>\n\n\n\n<p>By following these steps, you can set up a reset duration for a restriction using the WooCommerce Cart &amp; Order Restriction plugin. This feature allows you to limit the number of specific items that can be purchased within a defined time frame, helping you control and manage your store&#8217;s order restrictions more effectively.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Adding Reset Days for Restriction To add a reset duration for a restriction in the WooCommerce Cart &amp; Order Restriction plugin, such as allowing customers to purchase a limited number of items within a specified time frame (e.g., only two hats can be purchased in seven days), follow these steps: Install and Activate the Plugin: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":3720,"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-3726","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 Reset Days for Restriction (for example, only two hats can be purchased in seven days)? - 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\/how-tos\/how-to-add-reset-days-for-restriction-for-example-only-two-hats-can-be-purchased-in-seven-days\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Add Reset Days for Restriction (for example, only two hats can be purchased in seven days)? - Documentation\" \/>\n<meta property=\"og:description\" content=\"Adding Reset Days for Restriction To add a reset duration for a restriction in the WooCommerce Cart &amp; Order Restriction plugin, such as allowing customers to purchase a limited number of items within a specified time frame (e.g., only two hats can be purchased in seven days), follow these steps: Install and Activate the Plugin: [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-cart-order-restriction\/how-tos\/how-to-add-reset-days-for-restriction-for-example-only-two-hats-can-be-purchased-in-seven-days\/\" \/>\n<meta property=\"og:site_name\" content=\"Documentation\" \/>\n<meta property=\"og:image\" content=\"https:\/\/lh7-us.googleusercontent.com\/DbFxbN-GcC8_E0sBtYNxne85KqxR1Fu6-gzrPa_QBGPWuFqWiJ3smYTCov9mK-KyLTPNzUAfDjel18lD6fhO5swH1uOCEAeXmEJ6T-hV8CDQE6Wby2TtIQ39ZyVnwSrmHC6EQQiUkEDjDKWnBJoDkyXP5op2zpPPR7L2rKy8lreFwsesvHy_d7HAyNnuBg\" \/>\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=\"2 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\\\/how-tos\\\/how-to-add-reset-days-for-restriction-for-example-only-two-hats-can-be-purchased-in-seven-days\\\/\",\"url\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-cart-order-restriction\\\/how-tos\\\/how-to-add-reset-days-for-restriction-for-example-only-two-hats-can-be-purchased-in-seven-days\\\/\",\"name\":\"How to Add Reset Days for Restriction (for example, only two hats can be purchased in seven days)? - Documentation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-cart-order-restriction\\\/how-tos\\\/how-to-add-reset-days-for-restriction-for-example-only-two-hats-can-be-purchased-in-seven-days\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-cart-order-restriction\\\/how-tos\\\/how-to-add-reset-days-for-restriction-for-example-only-two-hats-can-be-purchased-in-seven-days\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/lh7-us.googleusercontent.com\\\/DbFxbN-GcC8_E0sBtYNxne85KqxR1Fu6-gzrPa_QBGPWuFqWiJ3smYTCov9mK-KyLTPNzUAfDjel18lD6fhO5swH1uOCEAeXmEJ6T-hV8CDQE6Wby2TtIQ39ZyVnwSrmHC6EQQiUkEDjDKWnBJoDkyXP5op2zpPPR7L2rKy8lreFwsesvHy_d7HAyNnuBg\",\"datePublished\":\"2023-11-07T07:11:23+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-cart-order-restriction\\\/how-tos\\\/how-to-add-reset-days-for-restriction-for-example-only-two-hats-can-be-purchased-in-seven-days\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-cart-order-restriction\\\/how-tos\\\/how-to-add-reset-days-for-restriction-for-example-only-two-hats-can-be-purchased-in-seven-days\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-cart-order-restriction\\\/how-tos\\\/how-to-add-reset-days-for-restriction-for-example-only-two-hats-can-be-purchased-in-seven-days\\\/#primaryimage\",\"url\":\"https:\\\/\\\/lh7-us.googleusercontent.com\\\/DbFxbN-GcC8_E0sBtYNxne85KqxR1Fu6-gzrPa_QBGPWuFqWiJ3smYTCov9mK-KyLTPNzUAfDjel18lD6fhO5swH1uOCEAeXmEJ6T-hV8CDQE6Wby2TtIQ39ZyVnwSrmHC6EQQiUkEDjDKWnBJoDkyXP5op2zpPPR7L2rKy8lreFwsesvHy_d7HAyNnuBg\",\"contentUrl\":\"https:\\\/\\\/lh7-us.googleusercontent.com\\\/DbFxbN-GcC8_E0sBtYNxne85KqxR1Fu6-gzrPa_QBGPWuFqWiJ3smYTCov9mK-KyLTPNzUAfDjel18lD6fhO5swH1uOCEAeXmEJ6T-hV8CDQE6Wby2TtIQ39ZyVnwSrmHC6EQQiUkEDjDKWnBJoDkyXP5op2zpPPR7L2rKy8lreFwsesvHy_d7HAyNnuBg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-cart-order-restriction\\\/how-tos\\\/how-to-add-reset-days-for-restriction-for-example-only-two-hats-can-be-purchased-in-seven-days\\\/#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\":\"How To\u2019s WCOR\",\"item\":\"https:\\\/\\\/addify.store\\\/documentation\\\/woocommerce\\\/woocommerce-cart-order-restriction\\\/how-tos\\\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"How to Add Reset Days for Restriction (for example, only two hats can be purchased in seven days)?\"}]},{\"@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 Reset Days for Restriction (for example, only two hats can be purchased in seven days)? - 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\/how-tos\/how-to-add-reset-days-for-restriction-for-example-only-two-hats-can-be-purchased-in-seven-days\/","og_locale":"en_US","og_type":"article","og_title":"How to Add Reset Days for Restriction (for example, only two hats can be purchased in seven days)? - Documentation","og_description":"Adding Reset Days for Restriction To add a reset duration for a restriction in the WooCommerce Cart &amp; Order Restriction plugin, such as allowing customers to purchase a limited number of items within a specified time frame (e.g., only two hats can be purchased in seven days), follow these steps: Install and Activate the Plugin: [&hellip;]","og_url":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-cart-order-restriction\/how-tos\/how-to-add-reset-days-for-restriction-for-example-only-two-hats-can-be-purchased-in-seven-days\/","og_site_name":"Documentation","og_image":[{"url":"https:\/\/lh7-us.googleusercontent.com\/DbFxbN-GcC8_E0sBtYNxne85KqxR1Fu6-gzrPa_QBGPWuFqWiJ3smYTCov9mK-KyLTPNzUAfDjel18lD6fhO5swH1uOCEAeXmEJ6T-hV8CDQE6Wby2TtIQ39ZyVnwSrmHC6EQQiUkEDjDKWnBJoDkyXP5op2zpPPR7L2rKy8lreFwsesvHy_d7HAyNnuBg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-cart-order-restriction\/how-tos\/how-to-add-reset-days-for-restriction-for-example-only-two-hats-can-be-purchased-in-seven-days\/","url":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-cart-order-restriction\/how-tos\/how-to-add-reset-days-for-restriction-for-example-only-two-hats-can-be-purchased-in-seven-days\/","name":"How to Add Reset Days for Restriction (for example, only two hats can be purchased in seven days)? - Documentation","isPartOf":{"@id":"https:\/\/addify.store\/documentation\/#website"},"primaryImageOfPage":{"@id":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-cart-order-restriction\/how-tos\/how-to-add-reset-days-for-restriction-for-example-only-two-hats-can-be-purchased-in-seven-days\/#primaryimage"},"image":{"@id":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-cart-order-restriction\/how-tos\/how-to-add-reset-days-for-restriction-for-example-only-two-hats-can-be-purchased-in-seven-days\/#primaryimage"},"thumbnailUrl":"https:\/\/lh7-us.googleusercontent.com\/DbFxbN-GcC8_E0sBtYNxne85KqxR1Fu6-gzrPa_QBGPWuFqWiJ3smYTCov9mK-KyLTPNzUAfDjel18lD6fhO5swH1uOCEAeXmEJ6T-hV8CDQE6Wby2TtIQ39ZyVnwSrmHC6EQQiUkEDjDKWnBJoDkyXP5op2zpPPR7L2rKy8lreFwsesvHy_d7HAyNnuBg","datePublished":"2023-11-07T07:11:23+00:00","breadcrumb":{"@id":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-cart-order-restriction\/how-tos\/how-to-add-reset-days-for-restriction-for-example-only-two-hats-can-be-purchased-in-seven-days\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-cart-order-restriction\/how-tos\/how-to-add-reset-days-for-restriction-for-example-only-two-hats-can-be-purchased-in-seven-days\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-cart-order-restriction\/how-tos\/how-to-add-reset-days-for-restriction-for-example-only-two-hats-can-be-purchased-in-seven-days\/#primaryimage","url":"https:\/\/lh7-us.googleusercontent.com\/DbFxbN-GcC8_E0sBtYNxne85KqxR1Fu6-gzrPa_QBGPWuFqWiJ3smYTCov9mK-KyLTPNzUAfDjel18lD6fhO5swH1uOCEAeXmEJ6T-hV8CDQE6Wby2TtIQ39ZyVnwSrmHC6EQQiUkEDjDKWnBJoDkyXP5op2zpPPR7L2rKy8lreFwsesvHy_d7HAyNnuBg","contentUrl":"https:\/\/lh7-us.googleusercontent.com\/DbFxbN-GcC8_E0sBtYNxne85KqxR1Fu6-gzrPa_QBGPWuFqWiJ3smYTCov9mK-KyLTPNzUAfDjel18lD6fhO5swH1uOCEAeXmEJ6T-hV8CDQE6Wby2TtIQ39ZyVnwSrmHC6EQQiUkEDjDKWnBJoDkyXP5op2zpPPR7L2rKy8lreFwsesvHy_d7HAyNnuBg"},{"@type":"BreadcrumbList","@id":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-cart-order-restriction\/how-tos\/how-to-add-reset-days-for-restriction-for-example-only-two-hats-can-be-purchased-in-seven-days\/#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":"How To\u2019s WCOR","item":"https:\/\/addify.store\/documentation\/woocommerce\/woocommerce-cart-order-restriction\/how-tos\/"},{"@type":"ListItem","position":5,"name":"How to Add Reset Days for Restriction (for example, only two hats can be purchased in seven days)?"}]},{"@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\/3726","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=3726"}],"version-history":[{"count":1,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/3726\/revisions"}],"predecessor-version":[{"id":3727,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/3726\/revisions\/3727"}],"up":[{"embeddable":true,"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/pages\/3720"}],"wp:attachment":[{"href":"https:\/\/addify.store\/documentation\/wp-json\/wp\/v2\/media?parent=3726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}