• Resolved urka

    (@urka)


    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
    Uschi

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Dan

    (@dangoodman)

    Hi Uschi,

    The plugin doesn’t process postcode validation. This is WooCommerce doing that and showing the message you provided. To see that, just deactivate the plugin and the message will still appear for the postcode.

    You can address your question to the WooCommerce support area.

Viewing 1 replies (of 1 total)

The topic ‘Message: Invalid Postcode – but Postcode is all right’ is closed to new replies.