For example, you are looking for ways to make checkout process even easier and less stressful for your customers. This solution could help remove the stress of login/registration process completely.
When your customer makes the order for the first time, you can configure WooCommerce to generate login & password automatically for him.

When this customer comes back for another order, by default WooCommerce will force him to login to his existing account generated before. But this adds a lot of hassle to the checkout process, because nobody ever remembers their passwords (if only they didn’t save it in browser). So your customer will have to spend like extra 10-15 minutes resetting his password, logging in and etc.
Alternatively, you can add this geniusly simple snippet of code to the functions.php file of your theme. It will fix 2 issues at once:
a) it will remove the requirement to login at checkout, if account is already registered with that billing email
b) it will assign the order to that account by email, if it already exists
BOOM!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | // assign current order to existing account (if any) by billing email function bf_assing_order_to_existing_account() { if( !is_user_logged_in() && !empty( $_POST['billing_email'] ) ) { $user = get_user_by( 'email', $_POST['billing_email'] ); if( !empty( $user ) ) { wp_set_current_user( $user->ID ); } } } add_action( 'woocommerce_checkout_process', 'bf_assing_order_to_existing_account', 1 ); |
If you want to further improve your WooCommerce checkout for higher conversions, please take a look at our Handsome Checkout for WooCommerce.
It has beautiful battle-tested checkout templates and some cool features to quickly create & customize your WooCommerce checkout. And it has Order Bumps ! 🙂
You can also check out the short videos guides we have showcasing Handsome Checkout.
Leave a Reply