• Resolved pmisun

    (@pmisun)


    Hello,

    here is the use case:

    1. Enable calculation of shipping method at CART page
    2. Fulfill at cart page Country which HAS STATE field and proceed calculation
    3. Fulfill second time at cart page Country without STATE field – you will see still STATE field input.

    I would expect here to be this field hidden.

    Its kind of minor issue for code, but medium issue from UX perspective.

    https://wordpress.org/plugins/woocommerce/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Mike Jolley

    (@mikejolley)

    Which country to which country should I try? For me it changes based on selection.

    Thread Starter pmisun

    (@pmisun)

    From US > calculate, > change to czech rep. (or slovak rep)..

    I mean, the “State” field (its logical there) appear by default right?

    But, once you having the mentioned usecase, the state field persist there, till you will click at update button, so, this is moreless an improvement suggestion > to hide the field “State” by ajax or whatever code once there is selected in “Country” field Country which has no state…

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Hides for me http://take.ms/7AF9Kx

    Thread Starter pmisun

    (@pmisun)

    I see, after deeper inspect > caching issue. Solved. Thank you.

    Thread Starter pmisun

    (@pmisun)

    I have one quick question here. Is it possible to disable by some 3rd party plugin the validation at “State” field totally?

    When the settings are:

    To deliver to specific countries (CZ+Slovak rep), and user fulfill f. example Germany, it still says that “Fulfill all the fields”..doesnt work for Germany, Poland etc – so I assume its cause of “State” field.

    Im bit tired to fight with theme developers which are saying that its woocommerce issue, so I would like to make all STATE fields as non required to get rid of this message. Could you suggest something Mike?

    Thanks in advance,

    br

    Misun Peter

    Plugin Contributor Mike Jolley

    (@mikejolley)

    If state is not required in a certain country, you can edit our locale information to have it disabled. Commit a Pull request to core.

    Thread Starter pmisun

    (@pmisun)

    not dev, but can do edit =) in which file it is located please?

    Plugin Contributor Mike Jolley

    (@mikejolley)

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘State fields at CART page issue’ is closed to new replies.