When a guest customer (not logged in user) tries to checkout WooCommerce will render Create an account? checkbox.

By default this checkbox is not checked. If you want it to be checked by default you need to hook into this filter
woocommerce_create_account_default_checked

Add this to your theme's functions.php or a custom plugin you may have.

add_filter('woocommerce_create_account_default_checked', '__return_true');

I think it's a good idea from usability standpoint and also from business standpoint. You can later calculate how much revenue a given customer has brought in.

__return_true is a "constant" in the context of WordPress. That way we don't have to create a function whose only purpose is to return true/false or an empty string.

 

Disclaimer: The content in this post is for educational purposes only. Always remember to take a backup before doing any of the suggested steps just to be on the safe side.
Referral Note: When you purchase through a referral link (if any) on this page, we may earn a commission.
If you're feeling thankful, you can buy me a coffee or a beer