How to easily add ACF fields to the Registration Form in WooCommerce

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;

Field Groups

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.

This will give you an easy way to easily add any additional fields using ACF on your WooCommerce registration form on any child sites.

2 thoughts on “How to easily add ACF fields to the Registration Form in WooCommerce”

  1. That’s great tutorial but if you can guide how to add fields in registration form manually? The fields are not adding in the registration form using a plugin. I am trying to add it manually using a code that I have seen here in a complete guide https://wpitech.com/add-woocommerce-registration-form-fields/. Is there any alternative to do this? It would be really helpful if you could help me to add fields in the registration form.

    function Woo_register_fields() {?>

    *
    <input type="text" class="input-text" name="registration_name" value="” />

    <?php
    }
    add_action( 'woocommerce_register_form_start', 'Wooregister_fields' );

  2. Hey Sebastian,
    I follow your steps and I added all the friends in the registration form, But, when I try to register as a user through another browser, it didn’t register me! any solution?

Comments are closed.

Looking for something?

Privacy laws apply to businesses that collect personal information. Since no personal information is collected by the MainWP plugins, no privacy laws apply to the MainWP plugins. This includes GDPR, UK DPA 2018, PIPEDA, Australia Privacy Act 1988, LGPD, PIPL, and other privacy laws.
Donata Stroink-Skillrud
Donata Stroink-Skillrud
President of Agency Attorneys