Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Syrius00

    (@syrius00)

    Thank you Mike, I solved my problem.

    I had to add a custom function to the default fields filter and then the functions I used to manage the ordering worked just fine.

    Thank you very much for your time and patience, marking the topic as solved.

    Thread Starter Syrius00

    (@syrius00)

    I used the filters you suggested and I could make my adjustments just fine.

    But the problem persists the moment I try to add the billing_country field. If I add the billing_country to the ‘fields’ array using this snippet:

    $order['billing_country'] = array(
    'type' => 'country',
    'label' => __('Country', 'woocommerce'),
    'placeholder' => __('Country', 'woocommerce'),
    'required' => true,
    'class' => array('form-row', 'form-row-wide', 'address-field', 'update_totals_on_change', 'validate-required', 'woocommerce-validated')
    );

    the fields are once again loaded correctly and then updated via ajax undoing all my modifications.

    If I do not add the following field the checkout form is loaded as I would like it to be.

    Thread Starter Syrius00

    (@syrius00)

    Thank you very much for your response! I had an idea that this could be related to the locale, but I was not certain.

    I am hooking to the ‘woocommerce-checkout-fields’ filter right now; how may I modify the locale settings for the addresses?

    Thank you very much for your time and patience ??

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