Allocate purchase to affiliate

Hi there, I’m continuing with my implementation of Affiliates Enterprise, Affiliates Products, and Affiliates by Username.

I am trying to make affiliate links the primary way of selling for my resellers. However, there may be some instances where this may not work and I’m wondering if you can help. So, this is a summary of my context:

1. Shop with resellers.
2. Resellers are Health Practitioners, and their patients are the end customers.
3. Resellers will share their affiliate links with their patients, so they can place their orders through them.

So here’s a situation that I am envisaging:

1. I am a reseller and share my affiliate code with Patient X, who forgets about it.
2. Patient X just goes to my shop main URL (not via the affiliate link) and places an order.

My question:

If I collect the affiliate name via a mandatory form field in my checkout, can this affiliate name be linked with the appropriate affiliate, so the commission is sent to that affiliate’s account automatically?

Do you have a plugin for this at all?

Thank you again! After understanding how to implement your products my affiliate pages on my site are looking great!

7 Responses to Allocate purchase to affiliate

  1. Miguel March 2, 2014 at 7:28 pm #

    Thank you Antonio,

    I thought language files were system wide. Could you explain how to translate just Coupons to Practitioner Code using language files please?

    Also, thank you for explaining about several coupons. This is useful, although it doesn’t resolve my problem. I explain it below:

    1. My resellers get 25% commission for every purchase their clients make.
    2. Some of my resellers like to give up 5% of their commission (for example), so they get 20% commission instead, and their clients get a 5% discount, so they are subsidising / paying for their client’s discount.
    3. If I create a 5% off coupon and I allocate it to one of my resellers, I am giving the 5% discount, not the reseller.
    4. Is there a way to set a criterion so that a reseller gets various commission % depending on the client? For example, referrer 1 is allocated COUPON0 . If one of their clients makes a purchase and enters this code, they get the full 25%. If another client enters COUPON5, then they get 20% commission instead, and the client gets a 5% off the purchase total.

    Thank you so much!


    • antonio March 3, 2014 at 4:42 pm #

      Relating to “coupons” word, is better to use css to hide the “coupons” word, and you can set your own words, for example:

      [affiliates_profile_profile show_name="" show_email="" show_attributes="coupons"]
      <style type="text/css"> label {display:none;}

      or maybe this plugin can help you.

      – Relating to differents rates, it’s NOT posible. But note that the commissions are calculated based on net amount, so the difference is shared between the affiliate and your. For example:
      – order $100 without coupon, affiliates get 25% ($25).
      – Order $100, with coupon 5%, net amount $95, affiliates get 25% ($23.75)


  2. Miguel February 27, 2014 at 4:43 pm #

    Thank you Antonio!

    Two more questions:

    1. Look at this screenshot: Can I change the word “Coupon” to say “Practitioner Code”?

    2. I’m using a coupon to allocate the purchase to an affiliate. That affiliate gets 25% commission on a sale. Some of my affiliates want to give their clients some % discount. I was hoping to create an extra coupon -like coupon5, so that an affiliate can give 5% off to their client from their commission, but the system only allows me to allocate 1 coupon per affiliate. If I create a 5% coupon and the affiliate shares it with their client, I will be giving the 5% discount from my pocket, instead of the affiliate sharing their commission. Is there another way you can suggest to do this? Can’t understand why an affiliate can only have 1 coupon associated to them?

    Thank you!


    • antonio February 28, 2014 at 8:40 am #

      1.- you can use the language files to translate Coupons to Practitioner Code.
      2.- You can assign various coupons to an affiliate. You must insert the coupons code separated by comma.


  3. Miguel February 27, 2014 at 2:19 pm #

    Hi Antonio,

    Thank you so much for this.

    I have decided this is a much better way to allocate purchases to my affiliates than sharing a link, also because I keep having issues with pretty URLs, so can you give me a short code that I can use so the coupon I’m assigning to an affiliate is shown on their affiliate page?

    Thank you!


    • antonio February 27, 2014 at 3:12 pm #

      you can use [affiliates_affiliate_profile] shortcode, for example:
      [affiliates_affiliate_profile show_attributes="coupons" show_name="" show_email=""]

  4. antonio February 17, 2014 at 7:44 am #

    you could:
    1.- Create a woocommerce coupon with discount for customer ( or not ).
    2.- Assigns this coupon to an affiliate (for generate a commission when customer use this coupon).On Affiliates->Manager Affiliates edit the affiliate and add “coupons” attribute.


We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account