To have your users create an account during checkout or make a purchase, just go to WooCommerce dashboard - Settings - Accounts Privacy, the Account Creation. Enable the "Allow customers to create an account during checkout". Don't forget to click on the "Save changes" button to apply the setting. You may refer to the screenshot below: