To begin, make sure that the WooCommerce registration forms are enabled on the account login page. For this, go to WooCommerce > Settings > Accounts and check Enable customer registration on the “My account” page.
WooCommerce my account page
After enabling this option, you can see the WooCommerce registration form at the frontend.
As should be obvious it is a pretty modest WooCommerce form, however, we can add more fields to this structure by utilizing the following actions. Presently, to include extra fields like first name, last name and phone number, and so on, include the following lines of code toward the end of your functions.php, which is located in your theme folder.