• Hi there,
    If I unset the billing state from woocommerce using this code:

    // Hook in
    add_filter( 'woocommerce_checkout_fields' , 'custom_override_checkout_fields' );
    function custom_override_checkout_fields( $fields ) {
    unset($fields['billing']['billing_state']);
    return $fields;
    }

    it removes shipping method and cost from ‘Customer On Hold Order’ email. Is there any way to fix this?

  • The topic ‘Unseting billing state removes shipping method’ is closed to new replies.