1

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

1

Copy file from vendor\magento\module-customer\view\frontend\templates\form\register.phtml and paste this path

app\design\frontend\Vendor\theme\Magento_Customer\templates\form\register.phtml

and comment this code or and remove line 104 to 109

and go to stores->Configuration->general->general->country options -> Zip/Postal Code is Optional for
here is you can remove zip code and please check url to remove validation
Remove postal code required

| improve this answer | |

Your Answer

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 or ask your own question.