Web Analytics

Fill the form & Get Installation Support

Magento 2: How to remove postcode field in checkout?

Today we are going to talk about how to remove the postcode field in checkout in Magento 2?

The field is dynamically created from EAV attributes on the LayoutProcessor class.

All we need to do is to set is_user_defined to 1 for the postcode eav_attribute. I recommend doing this via a setup resource, like this:

also, we need to remove validation for that, so we can direct set 0 to DB in eav_attribute table

that’s it.


Fill the below form if you have any Magento programming need.

    Recent Articles

    Author Info

    Author Image

    Magento 2 Developer

    Hire P. Garchar

    Get a Free Quote

      /* second popup */

      Connect With Us