{"id":1180,"date":"2020-08-16T04:29:02","date_gmt":"2020-08-16T04:29:02","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/2020\/08\/16\/country-options-in-magento-2\/"},"modified":"2025-06-17T10:16:45","modified_gmt":"2025-06-17T04:46:45","slug":"country-options-in-magento-2","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/country-options-in-magento-2\/","title":{"rendered":"How to Configure Country Options in Magento 2"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The default Magento 2 offers features that allow the admin to easily manage the store, and improve the performance.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This post shows one such method to configure&nbsp;country options in Magento 2&nbsp;that identifies where the business is located and the countries from where the store accepts the orders.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With this tutorial, the store admin can restrict countries to place an order as the business may be local. Or the products offered may be restricted in some countries, or shipment may be costlier.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Even, the merchant would want to target specific countries only for the business and restrict other countries.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In such cases, the admin can set up country options accordingly and can refer the below steps:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Steps to Configure Country Options in Magento 2:<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2020\/08\/Annotation-on-2020-08-14-at-10-16-15.png\" alt=\"Country Options in Magento 2\" class=\"wp-image-10087\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">1. <strong>Login<\/strong>&nbsp;to admin panel<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2. Go to&nbsp;<strong>Stores &gt; Configuration<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3. Select&nbsp;<strong>General<\/strong>&nbsp;under&nbsp;<strong>General<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">4. Expand&nbsp;<strong>Country Options<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">   <strong>Default Country<\/strong>&nbsp;\u2013 Select the country where the business is located<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">   <strong>Allow Countries<\/strong>&nbsp;\u2013 Select the countries from which your store accepts orders<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">   <strong>Zip\/Postal Code is Optional for<\/strong>&nbsp;\u2013 Select the countries where you conduct business that does not require a ZIP or postal code to be included as part of the street address<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">   <strong>European Union Countries<\/strong>&nbsp;\u2013 Select the EU countries where you conduct business<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">   <strong>Top Destination<\/strong>&nbsp;\u2013 Select the countries that you target for sales<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">5. <strong>Save<\/strong>&nbsp;the configuration<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Once configured, the customers can only select the shipping to countries allowed from the country options in Magento 2 backend:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2020\/08\/frontend-Magento-2-country-options.png\" alt=\"frontend - Magento 2 country options\" class=\"wp-image-10083\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If there is requirement to add country, state, or city from the frontend and developer needs to <a href=\"https:\/\/meetanshi.com\/blog\/add-new-region-for-specific-country-in-magento-2\/\" data-type=\"link\" data-id=\"https:\/\/meetanshi.com\/blog\/add-new-region-for-specific-country-in-magento-2\">add a new region for specific country in Magento 2 database<\/a>, then you can refer to our blog regarding it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can also refer to Configure Country Options in Magento 2 from our&nbsp;<a href=\"https:\/\/www.youtube.com\/playlist?list=PLBTOxSAJzwEjM5MilmEqj98Ib80tKBu7r\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 video tutorial<\/a>&nbsp;series:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"How to Configure Country Options in Magento 2\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/vqS1fQTWFW0?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Also, please share the solution with the Magento community via social media.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The default Magento 2 offers features that allow the admin to easily manage the store, and improve the performance. This post shows one such method&#8230;<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-1180","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1180","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=1180"}],"version-history":[{"count":5,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1180\/revisions"}],"predecessor-version":[{"id":16981,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1180\/revisions\/16981"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=1180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=1180"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=1180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}