Checkout page – country field first

This topic has 4 replies, 3 voices, and was last updated 9 years, 11 months ago ago by Eva Kemp

  • Avatar: Revisityouth
    Revisityouth
    Participant
    January 11, 2016 at 10:30

    Hello again,

    in your live demo version, in checkout page, the first field is the country drop down menu.

    I would like to do the same thing in my website, how can I do that?, how can I change woocommerce fields order

    Thank you
    Cata

    3 Answers
    Avatar: Robert Hall
    Robert Hall
    Participant
    January 11, 2016 at 17:28

    Hello,

    You can change it in \legenda\wp-content\plugins\woocommerce\includes\class-wc-countries.php file in the following function function get_default_address_fields()
    Try to move the code like on this screenshot: http://prntscr.com/9oss8q

    Regards,
    Robert Hall.

    Avatar: Revisityouth
    Revisityouth
    Participant
    January 12, 2016 at 10:43

    It worked perfectly!

    Thank you

    Avatar: Eva
    Eva Kemp
    Participant
    January 12, 2016 at 11:13

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 4 results - 1 through 4 (of 4 total)

The issue related to '‘checkout page – country field first’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.