At first, make sure that the WooCommerce registration form is enabled on the account login page and username, password fields are enabled. For this, go to WooCommerce -> Settings -> Accounts & Privacy and check Enable customer registration on the “My account” page.
Adding Extra New Fields to Register & Account Details Form
We shall add the extra fields like first name, last name, date of birth, phone number etc, include the following lines of code toward the end of your functions.php, which is located in your theme folder.
The rest of the content is available for Pro members. Click on the PAY NOW button to enable access to this content.