Loading...
12
20

Woocommerce – How to move email field at the top of checkout

19/05/2021
1 minute

A simple yet effective way of grabbing user’s email and maximize conversion rates is to move the email field at the top of the checkout.

The code for that is pretty simple and you just need to put it your functions.php (or any other file that you are loading in your theme).

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

Do you want to comment?

Your email address will not be published. Required fields are marked *

83 Pixel. creative studio
Get Quote - EN