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 affiliate 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
    Website – User’s website from where they’ll be promoting your website
  5. Password & Confirm Password – User’s account password (Mandatory)
  6. 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)

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 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 > Emails.

How to change form fields ↑ Back to top

As of now, it is not possible to customize (add/remove) any form fields.
However, you can use a free plugin like Loco Translate and rename form fields.

Note – If you want to customize form fields, please get in touch from here to submit a feature request or submit an idea 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 plugin. Then add the following custom code on your site (in either functions.php or a custom code plugin on your site. Read this to know more):

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

FAQ’s ↑ Back to top

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


WooCommerce - the most customizable eCommerce platform for building your online business.

Back to the top