Viewing 3 replies - 1 through 3 (of 3 total)
  • Oh, I have the same problem if the country field is on. When I turn it off there is no problem. When I block the Woocommerce country-select.js script in Chrome, the problem disappears as well. Have you managed to solve your problem?

    Exactly the same problem. And I must have two separate country selectors. Even if I disable the default country selector and have a custom field country selector it messes with the order of the fields unfortunately making the plugin useless. As earlier stated this seems to affect only the default zipcode field. Looks like I will have to go back to coding the new fields…

    Cheers

    For the time being, I just dequeued the country-select.js in functions.php. The select dropdown still works. In fact, it’s more inline visually with the theme now than using the script. For anyone with the same problem you could try throwing this into your functions.php file:

    function ade_dequeue_woocommerce_country_script() {
        wp_dequeue_script( 'wc-country-select' );
            wp_deregister_script( 'wc-country-select' );
    }
    add_action( 'wp_print_scripts', 'ade_dequeue_woocommerce_country_script' );

    Cheers

    • This reply was modified 7 years, 4 months ago by dexter10.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘The fields do not show in the correct order’ is closed to new replies.