Pages

Tuesday, September 17, 2019

Add WooCommerce Custom Registration Form Fields

In this tutorial, I will share how to add extra registration form field in WooCommrce My account page. To begin, make sure that the WooCommerce registration forms are enabled on the account login page.  For checking to go WooCommerce > Settings > Accounts and check to Enable customer registration on the My Account page.


After enabling this option, you can see the user registration form at the front end. Also, If you do not enable these options than WooCommerce registration form will not show in the frontend. So this options most important for every WooCommcer website owner. WooCommerce default registration form adding some of the form fields. Like:  First Name Last Name user name etc. So, Every website owner needs to add more form fields in the website User registration page. Like: phone number, address, postal code, Country, etc.

However, I do not want to long this tutorial. So let's start, How to Add WooCommerce Custom Registration Form Fields. Include the following lines of code of your theme or child theme functions.php.  

Please Note: Blogspot do not support this PHP functions so my suggestions please check here for these functions: Add WooCommerce Custom Registration Form Fields

No comments:

Post a Comment