How i Make no requirement billing postcode
-
Hi,
I Tred to make no requirement filed postcode on my website checkout page. below code, I used already but it does not work for postcode other files are works fine.
add_filter( ‘woocommerce_checkout_fields’ , ‘custom_override_checkout_fields’ );
function custom_override_checkout_fields( $fields ) {
$fields[‘billing’][‘billing_postcode’][‘required’] = false;
$fields[‘shipping’][‘shipping_postcode’][‘required’] = false;
return $fields;
}please help me with this.
Or have an option for making it visible for UAE or the country where not show zip-postcode filed.
please help me.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘How i Make no requirement billing postcode’ is closed to new replies.