• Resolved patryka

    (@patryka)


    I am trying to make postcode and country as optional fields – it’s possible in Booster plugin, and through PHP code, but in flexible-checkout-fields it says it’s not possible.

    Please make it possible.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Tomasz WP Desk

    (@tomaszwp)

    Hello @patryka

    WooCommerce controls when the Country and Postal Code fields are required. These fields enable tax calculation and assignment to the shipping zone.
    We are not planning a change that will violate this action.

    Thread Starter patryka

    (@patryka)

    Why I can disable this field in your plugin then but not make it optional?

    Plugin Support Tomasz WP Desk

    (@tomaszwp)

    Hello @patryka

    If the field is available then it is validated and it is checked if the required field has been filled in.
    If the field is disabled then it is not taken into account during validation.
    Therefore disable is possible and does not cause a validation error.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Make postcode field optional’ is closed to new replies.