Site icon MageComp Blog

To Make the Zip/Postal Code Optional for Checkout in Magento 2, You can Follow These Steps:

How to Make ZipPostal Code Optional for Checkout in Magento 2

Howdy Magento Folks,

As we all know, Magento 2 comes with several built-in features compared to Magento 1.x for which you don’t need to do even a single line of coding. Among that, Magento 2 checkout is now much improved that is now divided into different checkout steps to take required customer information. To fulfil any order two factors plays an important role in any Ecommerce store, one is the payment and another is shipping. These two factors are powerful enough to make or break your business in multiple ways. Whenever the customer adds any products to cart and proceeds to checkout, Magento will ask the customer to enter their shipping address, city, state, country and zip code. But if you know not every country has Pincode and Magento 2 Checkout doesn’t allow the customer to proceed further without entering zip code and your customer will be stuck there.

So, it’s your responsibility to rescue your customer from this trouble by marking zip code as a non-required field for a specific country. But how to do that? But before that take a look at below list.

A-B

C

D-F

G-K

L-M

N-Q

R-T

U-Z

By default, Zipcode is a mandatory field in Magento 2 while checkout, so instead of disabling zip code field for all countries we can disable it for a specific country using backend option. It will help you to stop ruining your customer shopping experience.

You can refer above list to see countries with optional zip code. Now Go to 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 set zip code as an optional field and save the configuration.

That’s it! Now during frontend checkout, Magento 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 Magento Experts who have deep knowledge Magento all Admin Functionalities. It will help you to save and time efforts instead of wasting your money on paid extensions.

Lastly, share this tutorial with your colleagues and Magento Friends and Let us know if you are facing an issue we are happy to help you.

Exit mobile version