WooCommerce is a well-used e-commerce plugin for WordPress. You may find yourself in the position of needing to easily add additional fields to the registration form on My Account on one of your child sites.
Luckily, there is an easy way to add additional fields using Advanced Custom Fields. First, you will need to install and activate the ACF plugin on your child site.
Next, you will need to create a group of the fields you want to display on the WooCommerce registration form. Look for the admin menu called as follows;
Then click on Add New. You can follow the example field groups, which in this example would be text field for location, an international phone number field, and a terms field that needs to be selected. The example field group can be imported in using Tools in Advance Custom FIelds.
Now that you have created your field group and fields, select that field group to be displayed in WooCommerce. With the ACF WooCommerce Account FIelds plugin installed and activated, those settings can be found from;
Accounts & Privacy
With the newly created field group selected, when you log out of the site, go to My Account with registration enabled, and you will see the additional fields displayed.
Manage all your WordPress sites with the MainWP Dashboard
WordPress Management for Professionals
Are you ready to go Pro?
All MainWP Pro Extensions are available through one of our convenient bundled packages.
This will give you an easy way to easily add any additional fields using ACF on your WooCommerce registration form on any child sites.