Move the email field to the top of the checkout in WooCommerce

Move the email field to the top of the checkout in WooCommerce on your child site.

Snippet Type

Execute on Child Sites

Snippet

add_filter( 'woocommerce_billing_fields', 'wc_move_checkout_email_field' );
 
function wc_move_checkout_email_field( $address_fields ) {
    $address_fields['billing_email']['priority'] = 1;
    return $address_fields;
}
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.