Message: Invalid Postcode – but Postcode is all right
-
Hi, I have installed Version 5.1.5 and in my settings I have a shipping zone for Germany.
It works but if anybody set postcode 32423 in Germany (this zip-code is valid in Germany https://www.suche-postleitzahl.org/plz-gebiet/32423) order can not be done because I get the error message to insert a valid zip-code.At the moment I have disabled the billing and shipping postcode validate in function.php but this is not the solution I want to have.
add_filter( ‘woocommerce_checkout_fields’ , ‘custom_override_checkout_fields’, 99 );function custom_override_checkout_fields( $fields ) {
unset($fields[‘billing’][‘billing_postcode’][‘validate’]);
unset($fields[‘shipping’][‘shipping_postcode’][‘validate’]);return $fields;
}What can I do?
Kind regards
UschiThe page I need help with: [log in to see the link]
The topic ‘Message: Invalid Postcode – but Postcode is all right’ is closed to new replies.