0

I want to know how to remove Zip/postal code from the customer checkout page form in Magento 2?

1

1 Answer 1

0

You can create a custom module with just following 1 file or can add this line to any module less file.

view/frontend/web/css/source/_module.less

div[name$=".postcode"] {
    display: none;
}

After this, just make postal code as optional field from admin panel.

Store -> Configuration -> General -> General -> Country Options -> "Zip/Postal Code is Optional for"

Here uncheck "Use System Value" checkbox and select all countries.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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