Hi @shadrix,
Thank you for reaching out.
I understand your concern regarding the positioning of the email address field in the checkout area with the new Stripe checkout.
In order to set the email field to the last row, you’ll need the help of custom code. This would involve using the ‘woocommerce_checkout_fields’ filter in your theme’s functions.php file. It’s a bit technical, and this is currently out of our support scope.
In that case, I’m going to leave it open for a bit to see if anyone is able to chime in to help you out.
You can also visit the WooCommerce Facebook group or the #developers channel of the WooCommerce Community Slack. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, as well.
If you set your Stripe to use the “Link” option for some reason this changes the order for the email. If you deactivate Stripe Link then first name is the field which appears first within the checkout
Confused me at first why this happening but that’s what I found
Zee
(@doublezed2)
Hello matt-thomas-photography,
Thank you for your message.
As per forum guidelines, could you create a new topic?
Then share a screenshot of what you are seeing.
This will help me understand your case in a better way.
Looking forward to your response. 🙂
Best regards.
I found out the issue. Somehow the priority of email is changed due to the new checkout layout. This is how I solved it!
add_filter( 'woocommerce_checkout_fields' , 'test' );
function test( $fields ) {
$fields['billing']['billing_email']['priority'] = 998; //Before enabling the new checkout the value was 110. Enabling the new checkout sets it to 1. I am overwriting this value to 998. 999 ist for me the second verification mail.
return $fields;
}
Hello @shadrix,
Glad to know that you were able to resolve the issue.
Thank you for sharing the solution and contributing to the WooCommerce Community. This can indeed help others who might encounter similar issues.
I will mark this thread as resolved now. Should you have further inquiries, kindly create a new topic here.
If you have a few minutes, we’d love if you could leave us a review: https://wordpress.org/support/plugin/woocommerce/reviews/
Thanks!