1. Documentation
  2. Plugins
  3. WooCommerce
  4. Extensions
  5. Affiliate For WooCommerce

How to create affiliate registration form to let users sign up for your affiliate program

Affiliate for WooCommerce plugin helps you to add, manage affiliates, and track performance from a single place – commissions, sales, payouts, leaderboard, etc. Earn money without hard work. Increase your brand outreach, and get potential customers.

As a store owner, you can either mark selected users on your site as affiliates either by their User Profile or by their user role.
But you (store owner) also have the authority to accept new users who can join your affiliate program and accept/reject them via an affiliate registration form.

Registration form ↑ Back to top

The plugin gives you a shortcode [afwc_registration_form] which you can add on any page of your site to show affiliate registration form and let users sign up for your affiliate program.

An example of the form can be seen from here.
(Note – Form appearance may vary based on your theme.)

By default, the form has the following fields:

  1. Email – Email address of the user (Mandatory)
  2. First Name – First name of the user
  3. Last Name – Last name of the user
  4. Phone Number / Skype ID / Best method to talk to you – Way to contact the user
  5. Website – User’s website from where they’ll be promoting your website
  6. Password & Confirm Password – User’s account password (Mandatory)
  7. Tell us more about yourself and why you’d like to partner with us (please include your social media handles, experience promoting others, tell us about your audience etc) – This information helps you decide how user will promote you and your website (Mandatory)
  8. Terms and conditions (Mandatory)

Getting started ↑ Back to top

On activating the plugin for the first time, a page is created for you automatically with the above shortcode. You can find that page either in the list of All pages on your site or under the WooCommerce > Settings > Affiliate > Registration form.

Approve all users as affiliates ↑ Back to top

Follow the below steps if you want all users who sign-up for your affiliate program to become your affiliates automatically.

  1. Go to WooCommerce > Settings > Affiliate
  2. Enable ‘Auto approve affiliate’ checkbox.

After enabling, all the users who sign up via the form will be automatically approved and will be your affiliates.

Approve selected users as affiliates ↑ Back to top

For this, firstly make sure the ‘Auto approve affiliate’ setting is disabled under WooCommerce > Settings > Affiliate. After it is disabled, any user who signs up via the form will be going in ‘pending’ status once they sign up.

Follow the below steps, to decide whom to approve or reject from the affiliate program:

  1. Go to WooCommerce > Affiliate.
  2. On the left-hand side below Pending Payouts, you’ll find a list of all the users marked in Red color who filled the registration form.
  3. Select the user marked in Red color. On the left you will see a button ‘Review and Approve Affiliate’ to decide on their request.
  4. Click on the ‘Review and Approve Affiliate‘ button. It will take you to the User Profile and you’ll see what details they had entered in the form.
  5. Select the ‘Approve affiliate’ option in Green to approve the affiliate request.
  6. Select the ‘Reject affiliate’ option in Red to reject the affiliate request.

That’s it. You have approved/rejected an affiliate request on your website.

Affiliate’s user role ↑ Back to top

By default, a user who signs up to be an affiliate will be assigned a user role set under WordPress admin > Settings > General > New User Default Role.

For multisite, to change the above setting, go to My Sites > Network Admin > Sites > All Sites. Select Edit on the site that you want to set the default role for, then click Settings. Scroll down and you should see ‘Default Role’. Set the role to ‘subscriber’ (or whatever you want) and click on save changes.

You can change the affiliate’s user role to any other role once they are approved. You can even create a custom user role and use the same.

Email notifications ↑ Back to top

  1. Affiliate Manager – New Registration Received
    Once user signs up via the form, an email will be sent to affiliate manager notifying about new signup. If the affiliate manager email is not set, then this email will be sent to the administrator of the website.
  2. Affiliate – Welcome email
    After an affiliate request to join is approved, the affiliate will receive a welcome email informing them about the same and along with their affiliate link, their account link, your product catalog link, etc. to get them started quickly.

You can manage these email notifications from WooCommerce > Settings > Emails.

Change/update form fields ↑ Back to top

Edit existing form fields ↑ Back to top

Go to WooCommerce > Settings > Affiliate > Registration form > Edit form. You will see a default form fields. You can either rename them or show/hide them based on your requirements.

Add terms link to terms and conditions ↑ Back to top

Please follow these steps:

  1. Go to WooCommerce > Settings > Affiliate > Registration form > Edit form
  2. Change the “I accept all the terms of this program” to the following: I accept all the terms of this program <a href=”link-to-your-terms-page”>View our terms</a>
  3. Click on Save

Note – As of now it is not possible to add any new form fields. If you want to add new form fields, please submit a feature request from here.

How to disable ‘Register as an affiliate’ from user’s My Account ↑ Back to top

Firstly, make sure you are using the latest version of the Affiliate For WooCommerce plugin. Then add the following custom code to your site by using any of these ways:

add_filter( 'afwc_is_registration_open', 'is_registration_enabled_from_account' );
function is_registration_enabled_from_account() {
    return 'no';

FAQ’s ↑ Back to top

1. Can existing users on my site signup using the same form? ↑ Back to top



The most customizable eCommerce platform for building your online business.

  • 30 day money back guarantee
  • Support teams across the world
  • Safe & Secure online payment