Hello Luke,
We are using below code in funcstions.php of child theme, to move the Mobile and email fields at top, on the checkout page
That is working since more than last 1 year and 8 months or so.
1. Just wanted to know is this the correct one. And will it work with Latest woocommerce also. So just thought to ask you first. And hence still using 7.7.2 of woocommerce. And haven’t updated woo, just in case.
/*move email and phone fields on top in checkout page 29 Jan 22 */
add_filter( 'woocommerce_billing_fields', 'vas_move_checkout_email_field' );
function vas_move_checkout_email_field( $address_fields ) {
$address_fields['billing_email']['priority'] = 1;
$address_fields['billing_phone']['priority'] = 2;
return $address_fields;
}
2. Is it safe to update the woocommerce plugin to the latest version 8.1.
We are currently using 7.7.2
2.b) Is your theme (version 7.2.4) also compatible with this woocommerce version 8.1
Regards
-
This topic was modified 1 year, 5 months ago by
harshwe.