1

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

1 Answer 1

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

0

Your Answer

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

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