How to make zip/postal code optional for checkout
As we all know, Magento 2 comes with several built-in features compared to lớn Magenkhổng lồ 1.x for which you don’t need to lớn do even a single line of coding. Among muốn that, Magenkhổng lồ 2 checkout is now much improved that is now divided into different checkout steps lớn take required customer information. To fulfil any order two factors plays an important role in any Ecommerce store, one is the payment & another is shipping. These two factors are powerful enough to lớn make or break your business in multiple ways. Whenever the customer adds any products to lớn cart & proceeds khổng lồ checkout, Magento lớn will ask the customer to enter their shipping address, đô thị, state, country & zip code. But if you know not every country has Pincode & Magento 2 Checkout doesn’t allow the customer lớn proceed further without entering zip code & your customer will be stuông chồng there.
Bạn đang xem: How to make zip/postal code optional for checkout
So, it’s your responsibility khổng lồ rescue your customer from this trouble by marking zip code as a non-required field for a specific country. But how khổng lồ do that? But before that take a look at below menu.
A-B
Angola: No postal code used.Antigua and Barbuda: No postal code used.Aruba: No postal code used.Bahamas: No postal code used.Belize: No postal code used.Benin: No postal code used.Botswana: No postal code usedBurkina Faso: No postal code used.Burundi: No postal code used.C
Cameroon: No postal code used.Central African Republic: No postal code used.The postal services in Hong Kong and Macau Special Administrative sầu Regions remain separate from Mainlvà China, with no post code systems is currently used. See below for details.Comoros: No postal code used.Congo (Brazzaville): No postal code used.Congo, Democratic Republic: No postal code used.Cook Islands: No postal code used.Côte d’Ivoire: No postal code used.D-F
Djibouti: No postal code used.Dominica: No postal code used.East Timor: No postal code system in use since Indonesian withdrawal in 1999.Equatorial Guinea: No postal code used.Eritrea: No postal code used.Fiji: No postal code used.French Southern và Antarctic Territories: No postal code used.G-K
Gambia: No postal code used.Ghana: No postal code used.<citation needed>Grenada: No postal code used.Guinea: No postal code used.Guyana: No postal code used.Hong Kong: have postal code but not used.’For More information visit this Page Hong Kong Postal code ‘ Jamaica: Previously JMAAA99 The code consists of five letters & two digits. The first two letters are always ‘JM’ (for Jamaica) while the third is for one of the four zones (A-D) inkhổng lồ which the island is divided. The last two letters are for the parish, while the two digits are for the local post office.This has since been suspended, & Jamaica currently has no post code system. However, Kingston và Lower St. Andrew are divided inlớn postal districts numbered 1-20Kenya: 99999. Deliveries to lớn PO Boxes onlyKiribati: No postal code used.Korea, North: No postal code used.L-M
Macau: No postal code used.Xem thêm: Cổ Phiếu Bột Giặt Lix : Ctcp Bột Giặt Lix, Lix: Ctcp Bột Giặt Lix
Malawi: No postal code used.Mali: No postal code used.Mauritania: No postal code used.Mauritius: No postal code used.Montserrat: No postal code used.
N-Q
Nauru: No postal code used.Netherlands Antilles: No postal code used.Niue: No postal code used.Panama: No use of postal codes. Deliveries to PO Boxes onlyQatar: No postal code used.R-T
Rwanda: No postal code used.Saint Kitts & Nevis: No postal code used.Saint Lucia: No postal code used.Sao Tome and Principe: No postal code used.Saudi Arabia: 99999* Deliveries khổng lồ PO Boxes onlySeychelles: No postal code used.Sierra Leone: No postal code used.Solotháng Islands: No postal code used.Somalia: No postal code used. A 5 digit code has been publicized, but never taken inkhổng lồ use.South Africa: 9999* Included Namibia (ranges 9000-9299) until 1992, no longer used. See List of postal codes in South AfricaSuriname: No postal code used.Syria: No postal code used. A 4-digit system has been announced. Status unknown.Tanzania: No postal code used.Tokelau: No postal code used.Tonga: No postal code used.Trinidad and Tobago: No postal code used.Tuvalu: No postal code used.U-Z
Uganda: No postal code used.United Arab Emirates: No postal code used.–Vanuatu: No postal code used.Yemen: No postal code used.Zimbabwe: No postal code usedBy default, Zipcode is a mandatory field in Magento lớn 2 while checkout, so instead of disabling zip code field for all countries we can disable it for a specific country using backover option. It will help you to lớn stop ruining your customer shopping experience.

You can refer above menu lớn see countries with optional zip code. Now Go to lớn Store –> Configuration –> General –> Country Options here you will find an option of “Zip/Postal Code is Optional for”. Now make selection countries for which you want to lớn phối zip code as an optional field & save sầu the configuration.

That’s it! Now during frontkết thúc checkout, Magenkhổng lồ 2 will no longer ask your customer for zip code in selected countries as shown below.

That’s’ the reason why we always advise you to ask Magenkhổng lồ Experts who have deep knowledge Magento all Admin Functionalities. It will help you khổng lồ save sầu và time efforts instead of wasting your money on paid extensions.
Lastly, giới thiệu this tutorial with your colleagues và Magenlớn Friends and Let us know if you are facing an issue we are happy lớn help you.
Chuyên mục: Đầu tư