Disable postcode/zip field on the checkout page

Post code / zip is required field by default. But you may want to change it. So if you want to remove post code / zip field on the checkout page, it’s very simple.

Woocommerce Remove Postcode/ZIP Field

woocommerce disable postcodezip field
  1. Go to wp-content/themes/your-child-theme/
  2. Open functions.php with note++ or etc editor
  3. add this code
function my_billing_postcode( $address_fields ) {
 $address_fields['postcode']['required'] = false;
 return $address_fields;
}
add_filter( 'woocommerce_default_address_fields', 'my_billing_postcode' );

Official Documentation

If you have a question, please comment! I always want to help.

That’s All!

2 comments on “Disable postcode/zip field on the checkout page

Leave a Reply to Mert Cancel reply

Your email address will not be published. Required fields are marked *