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.

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.

1 thought 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' );

    Reply

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Looking for something?

Your Download Is Just One Click Away

…or just download the plugin.

By entering your email, you agree to our Terms of Service and Privacy Policy.