• I have customers who try to create an account or order from:
    Sweden, Germany, France (these for sure, maybe others too), but cannot, because during registration, there’s a “state” field that is marked as required, but not shown.
    I’ve been searching, this looks like a common issue, but most of the posts was related to specific payment plugins. This happens during registration and checkout. Please advise.

Viewing 3 replies - 1 through 3 (of 3 total)
  • How are you handling registrations? Are you using an specific plugin such as WooCommerce?

    Thread Starter vilmarci

    (@vilmarci)

    I try to use as much out of the box as possible. The only plugin related to registration is “Simple Registration for WooCommerce”.
    But the same issue appears when I try to change shipping address for an existing account: “State / County is a required field.”

    Thread Starter vilmarci

    (@vilmarci)

    Update:
    I solved Germany with this plugin:
    https://github.com/jckronbauer/woocommerce-germany-states

    If I get the list of French states, could I, based on this one, add other countries like this?

    `function wc_add_france_states( $states ) {

    $states[‘FR’] = array(
    ‘XX’ => ‘…’,
    ‘YY’ => ‘…’
    );

    return $states;

    }

    add_filter( ‘woocommerce_states’, ‘wc_add_france_states’ );

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘registration issue from certain countries’ is closed to new replies.