Sometimes, you want the “Create an account?” checkbox to be auto checked while customers filling out your WooCommerce store’s checkout form. You can auto check account creation field easily without the help of a plugin and it will only take 1-2 minutes of your time!

All you need to do is just place this one line code in your theme’s functions.php file.

add_filter('woocommerce_create_account_default_checked', '__return_true');

And from now on, the new customers on your WooCommerce shop will see this field auto-checked while filling out their order forms. It’s super easy and fun!

If you would like to explore some more tips and tricks related to WooCommerce, please visit this page

Thank you!