5

Email Field to Top at Checkout

  • Done

Avatar
Kose

It would be better to have the email field first so we can capture prospects' email first and follow up with emails if they don't finalize the purchase. Right now it's at the bottom. Can we take it to the top or give us the option to do that?

A

Activity Newest / Oldest

Avatar

Jack Richardson

Status changed to: Done

Avatar

Jack Richardson

Greetings,

The one of latests releases of the new update of XStore Theme and XStore Core plugin includes the "Email field prioritized" option for Advanced Cart Checkout Layouts (prnt.sc/_x81hAtJDKqj).

For more information on the changes, please refer to our changelog history (xstore.8theme.com/update-history/).

Additionally, a php snippet has been provided to ensure that the feature works with the default layout for those pages.

We thank you for been choosing our products.

All best for best ones !

Best Regards,
Jack Richardson


Avatar

Fantasy Prints

An option to move EMAIL to be first in the checkout so if carts abandoned we can try and recover with a Cart Recovery Plugin


Avatar

Jack Richardson

Hello @Fantasy Prints,
I merged your request with the same one. Below you may find a php snippet for making it work in the way you asked me.
Regards, Jack Richardson


Avatar

Jack Richardson

Merged with: Change order of Checkout Fields

Avatar

Jack Richardson

Hello @Kose,
Please, add next custom php snippet to your child-theme/functions.php
add_filter('woocommerce_billing_fields', function($fields) {
if ( isset($fields['billing_email'])) {
$fields['billing_email']['priority'] = 10;
}
return $fields;
});
Backend: prnt.sc/9HQDTlZQRpRa
Frontend: prnt.sc/d2nciToHlejk
Regards, Jack Richardson


  • Avatar
Avatar

Fantasy Prints

Perfect Jack that worked. But I used Snippets to add to website rather than amend the functions.php


  • Avatar
Avatar

Jack Richardson

That is all in your hands :)
It is much better to have ready solution and just decide where to put it on rather than have different places where to place it with having no one ready solution.
Regards, Jack Richardson