• Resolved sittingondockofbay

    (@paulplant)


    Why did the 3.6.4 change the required of State field for Greece?
    * Localization – Make the state/county field optional at checkout for Greece. #23365

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter sittingondockofbay

    (@paulplant)

    This is a major setback for Greek websites! and I can’t fully understand why this was important to change! Anyway…
    If anyone is wondering how you can change this simply go to /wp-content/plugins/woocommerce/i18n/states.php and locate
    ‘GR’ => array( ‘state’ => array( ‘required’ => false, ), ), and change false to true!

    Plugin Support Riaan K.

    (@riaanknoetze)

    Hi there,

    This was introduced in WooCommerce 3.6.2 in this commit: https://github.com/woocommerce/woocommerce/pull/23365

    It’s based on the information contained here: https://en.wikipedia.org/wiki/Address#Greece

    Also, just a quick note to say the file you’re referencing can be found at woocommerce/includes/class-wc-countries.php

    Thread Starter sittingondockofbay

    (@paulplant)

    Yeah you are right about the file! sorry
    BUT I can’t find any good explanation about State’s field in Greece must be an optional field! wikipedia refers to the way you supposed to right the recipient of mail.
    Still confused over the matter!

    Thread Starter sittingondockofbay

    (@paulplant)

    *wright

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

The topic ‘Localization for Greece…’ is closed to new replies.