{"id":1688,"date":"2024-12-13T06:52:29","date_gmt":"2024-12-13T06:52:29","guid":{"rendered":"https:\/\/synctrack.io\/?post_type=knowledgebase&#038;p=1688"},"modified":"2024-12-26T08:14:27","modified_gmt":"2024-12-26T08:14:27","slug":"auto-display-eta-edd-banner-to-visitors-based-on-location","status":"publish","type":"knowledgebase","link":"https:\/\/synctrack.io\/knowledge-base\/edd\/general-settings\/auto-display-eta-edd-banner-to-visitors-based-on-location\/","title":{"rendered":"Auto-detect location &#038; Zipcode validity"},"content":{"rendered":"\n<p>This guide explains how to configure the <strong>Geolocation &amp; Validity<\/strong> settings in the General Settings tab to optimize the behavior of rules based on the visitor\u2019s location.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Auto-detect Zipcode\/Country<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Purpose<\/strong>: Automatically detects the zipcode or country of your website visitors to apply rules with location-based conditions.<\/li>\n\n\n\n<li><strong>Behavior:<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>Toggle On<\/strong>: Enable this feature to allow the system to identify and use the visitor\u2019s location automatically.<\/li>\n\n\n\n<li><strong>Toggle Off<\/strong>: If disabled, location detection will not occur, and location-based rules may show for all visitors.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Only Display Rules for the Detected Location<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Purpose<\/strong>: Restricts the display of rules to only those that match the visitor\u2019s detected location.<\/li>\n\n\n\n<li><strong>Behavior<\/strong>:\n<ul class=\"wp-block-list\">\n<li>When <strong>Enabled<\/strong>, only rules matching the visitor\u2019s location will be shown, ensuring relevance. Rules without location conditions will still be displayed globally.<\/li>\n\n\n\n<li>When <strong>Disabled<\/strong>, display all rules regardless of the visitor\u2019s location.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Require Valid Zipcode to Add to Cart<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Purpose<\/strong>: Enforces zipcode validation before customers can add products to their cart.<\/li>\n\n\n\n<li><strong>Behavior<\/strong>:\n<ul class=\"wp-block-list\">\n<li>When <strong>Enabled<\/strong>, customers must enter a valid zipcode if the product is associated with location-based rules. Invalid zipcodes will prevent products from being added to the cart.<\/li>\n\n\n\n<li>When <strong>Disabled<\/strong>, the cart does not validate the zipcode, and products can be added without location restrictions.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>This guide explains how to configure the Geolocation &amp; Validity settings in the General Settings tab to optimize the behavior of rules based on the visitor\u2019s location. Auto-detect Zipcode\/Country Only Display Rules for the Detected Location Require Valid Zipcode to [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"open","template":"","knowledgebase_cat":[267],"class_list":["post-1688","knowledgebase","type-knowledgebase","status-publish","hentry","knowledgebase_cat-general-settings"],"acf":[],"_links":{"self":[{"href":"https:\/\/synctrack.io\/wp-json\/wp\/v2\/knowledgebase\/1688","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/synctrack.io\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"https:\/\/synctrack.io\/wp-json\/wp\/v2\/types\/knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/synctrack.io\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/synctrack.io\/wp-json\/wp\/v2\/comments?post=1688"}],"version-history":[{"count":9,"href":"https:\/\/synctrack.io\/wp-json\/wp\/v2\/knowledgebase\/1688\/revisions"}],"predecessor-version":[{"id":1949,"href":"https:\/\/synctrack.io\/wp-json\/wp\/v2\/knowledgebase\/1688\/revisions\/1949"}],"wp:attachment":[{"href":"https:\/\/synctrack.io\/wp-json\/wp\/v2\/media?parent=1688"}],"wp:term":[{"taxonomy":"knowledgebase_cat","embeddable":true,"href":"https:\/\/synctrack.io\/wp-json\/wp\/v2\/knowledgebase_cat?post=1688"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}