{"id":3984,"date":"2019-11-21T18:01:23","date_gmt":"2019-11-21T12:31:23","guid":{"rendered":"https:\/\/magecomp.com\/support\/?post_type=manual_documentation&#038;p=3984"},"modified":"2023-04-10T15:45:46","modified_gmt":"2023-04-10T10:15:46","slug":"in-frontend","status":"publish","type":"manual_documentation","link":"https:\/\/magecomp.com\/support\/docs\/magento-2-restrict-order-extension\/in-frontend\/","title":{"rendered":"In Frontend"},"content":{"rendered":"<p>Once you have setup all the configuration, the extension will allow customer to place an order if they fulfilled all the conditions.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-9639\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/11\/4_allowed_order_from_specified_location.png\" alt=\"allowed_order_from_specified_location\" width=\"1343\" height=\"595\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/11\/4_allowed_order_from_specified_location.png 1343w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/11\/4_allowed_order_from_specified_location-300x133.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/11\/4_allowed_order_from_specified_location-1024x454.png 1024w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/11\/4_allowed_order_from_specified_location-768x340.png 768w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/11\/4_allowed_order_from_specified_location-600x266.png 600w\" sizes=\"(max-width: 1343px) 100vw, 1343px\" \/><\/p>\n<p>If the customer uses the pin code that is not listed in backend, then extension will not allow customer to place an order.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-9640\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/11\/5_restricted_order_from_non_listed_zipcode.png\" alt=\"restricted_order_from_non_listed_zipcode\" width=\"1338\" height=\"598\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/11\/5_restricted_order_from_non_listed_zipcode.png 1338w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/11\/5_restricted_order_from_non_listed_zipcode-300x134.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/11\/5_restricted_order_from_non_listed_zipcode-1024x458.png 1024w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/11\/5_restricted_order_from_non_listed_zipcode-768x343.png 768w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/11\/5_restricted_order_from_non_listed_zipcode-600x268.png 600w\" sizes=\"(max-width: 1338px) 100vw, 1338px\" \/><\/p>\n<p>Same way, if the customer uses the country that is not added by the admin in the backend grid then customer will not able to place an order.<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-9641\" src=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/11\/6_restricted_order_from_non_listed_country.png\" alt=\"restricted_order_from_non_listed_country\" width=\"1351\" height=\"604\" srcset=\"https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/11\/6_restricted_order_from_non_listed_country.png 1351w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/11\/6_restricted_order_from_non_listed_country-300x134.png 300w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/11\/6_restricted_order_from_non_listed_country-1024x458.png 1024w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/11\/6_restricted_order_from_non_listed_country-768x343.png 768w, https:\/\/magecomp.com\/support\/wp-content\/uploads\/2019\/11\/6_restricted_order_from_non_listed_country-600x268.png 600w\" sizes=\"(max-width: 1351px) 100vw, 1351px\" \/><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":3977,"menu_order":3,"template":"","manualdocumentationcategory":[2280],"manual_doc_tag":[],"class_list":["post-3984","manual_documentation","type-manual_documentation","status-publish","hentry","manualdocumentationcategory-m2-restrict-order"],"_links":{"self":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/3984","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation"}],"about":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/types\/manual_documentation"}],"author":[{"embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/3984\/revisions"}],"predecessor-version":[{"id":9642,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/3984\/revisions\/9642"}],"up":[{"embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_documentation\/3977"}],"wp:attachment":[{"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/media?parent=3984"}],"wp:term":[{"taxonomy":"manualdocumentationcategory","embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manualdocumentationcategory?post=3984"},{"taxonomy":"manual_doc_tag","embeddable":true,"href":"https:\/\/magecomp.com\/support\/wp-json\/wp\/v2\/manual_doc_tag?post=3984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}