This topic has 3 replies, 2 voices, and was last updated 8 years by sharmstr.

  • Author
  • #102380
     verloren
    Participant

    Hello,

    on wooCommerce checkout page the state field seems to be buggy.

    When i change country the state field hides exact in the moment when country drop down closes. The town/city field gets cut by half.

    More details on attached screenshots.

    Attachments:
    You must be logged in to view attached files.
    #102384
     verloren
    Participant

    I forgot to mention that sometimes it is impossible to order because of that. When i try to order without seeing preloaded data, there is no chance to submit a fully filled form.

    When changing country, state hides. So no way to fill it out.
    When trying to submit form, it gets reloaded with warning that state is a required field. But all other fields are empty now, too.
    Trying to fill it again ends up in a hidden state field.

    #102385
     verloren
    Participant

    Sorry for third post….

    Tried to deactivate state field with Booster Plus for WooCommerce. Deactivating the field has no effect. Trying to remove the required attribute (with this plugin) has no effect, too.
    State field is not my friend….

    #102530
     sharmstr
    Moderator

    Kleo isnt doing this.

    Woo auto hides the state field for countries that dont need it. Look at linke 59 here for a list of those countries: https://docs.woothemes.com/wc-apidocs/source-class-WC_Countries.html#7-963

    Further down in their code, they change the field positions depending on country selected (starting on line 352).

    Enable the WP 2015 theme and you’ll see the exact same behavior with the state and town/city fields.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘Plugins questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?