How to make zip/postal code optional for checkout in magento 2

I am using Magneto 1.7, I want to make zip/postal code not require (optional) in customer form. When I add new customer address or edit customer address .I need to remove zip/postal as optional. I do Google lots of and found some solution like below and remove the client side validation form these file but this solution is not working for me.

Bạn đang xem: How to make zip/postal code optional for checkout in magento 2

I am also giving the screen shot of the customer form where I need to make the zip code not require!<1>

Please suggest me how can I make zip/postal code as optionalThanks


We have in built feature in Magento to Specify Countries for Optional Postal Code. Using this feature you can select countries from which you want to remove validation.

You can access this option after logged in admin panel. From Top Navigation System >> Configuration >> General. In Countries Options Group you can find the dropdown with named " Postal Code is Optional for the following countries ".

Xem thêm: Danh Sách Các Ngân Hàng Nhà Nước Lớn Nhất Hiện Nay? Danh Sách Ngân Hàng Tại Việt Nam

Hope this help!!


Thanks for contributing an answer to Stack Overflow!

Please be sure to answer the question. Provide details and share your research!

But avoid

Asking for help, clarification, or responding to other answers.Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.

Post Your Answer Discard

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged magento or ask your own question.


site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. rev2021.7.2.39633

Stack Overflow works best with JavaScript enabled

Your privacy

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.