• Resolved majograu

    (@majograu)


    Problem with [billing_state] or [shipping_state] / Spain regions

    It doesn’t show the full name of Spain region (‘Province’), it only shows a code.

    For example: ‘B’ instead of BARCELONA

    If I deactive the extension, it works.
    I don’t understand that.
    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ThemeHigh

    (@themehigh)

    We believe that the country fields billing_country and shipping_country might be removed in the checkout form. This is the reason why State Code is getting displayed instead of State Name in billing and shipping address.
    ?
    Removing core fields such as billing_country, shipping_country may lead to unexpected results. So to resolve this issue, you should not remove billing_country and shipping_country from your checkout form.

    Also please note, once you added these country fields only new orders will display the full State Name, old orders will continue displaying the State Code.

    We hope this will help.

    Thank you!

    Thread Starter majograu

    (@majograu)

    Hi!
    thank you so much for your quick response!
    Oh! it’s a pitty.. because hide the [billing_country] and [shipping_country] is exactly what we want.
    We only sell in one country (Spain), and this field it is not necessary to appear, but it does the “Province = State” fullname.
    Is there any else way to get it?
    In any case, thank you and and congratulations on your fine work!

    Plugin Author ThemeHigh

    (@themehigh)

    You can set the option “Selling location(s)” and “Shipping location(s)” to Spain in your WooCommerce Settings. When you set the above options then the country field will get displayed with the text Spain. Please refer to the below screen-shot:

    https://prnt.sc/sfcu9v

    Please note that you need to enable the country fields on your checkout page.

    We hope this will help.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with [billing_state] or [shipping_state] / Spain regions’ is closed to new replies.