Adjusting affiliate commissions for specific affiliates

Hi

1. I want to be able to give every affiliate an extra $50 bonus when they register their new account.
How is the best way to create that, from here:
https://www.goldlighttherapy.com/wp-admin/admin.php?page=affiliates-admin-user-registration
If I wanted to give an extra $50 bonus on some of the products available, for when they get a sale in, what is the best way to do that?

2. How can I adjust the default affiliate commission for certain specific affiliates? I can see how to adjust their tiered commissions, but where do I change the default commission an individual affiliate?

3. Is there anyway to show affiliates their tiered downline? Because it does not show up in their stats.
How can this be revealed to them?

Thanks
Barnaby

14 Responses to Adjusting affiliate commissions for specific affiliates

  1. George January 3, 2017 at 6:14 pm #

    Hi Barnaby,

    You can give an initial bonus to your affiliates by using the Affiliates Initial Bonus extension. Download the zip file and install it as a normal plugin. The same way you can give an extra bonus on some products. There is the action affiliates_referral. The $params parameter contains info on the transaction, in your case the order id, where you can find the products involved and grant the extra bonus accordingly. If you need further assistance on how to integrate this, please let me know.

    You can give each affiliate their own referral rate as attribute. Go to Affiliates > Manage Affiliates and edit the affiliate. There you can add/modify a referral rate attribute.

    For info on affiliate’s tiers, you should have a look at [affiliates_tiers] shortcode.

    Kind regards,
    George

  2. Barnaby January 4, 2017 at 12:51 am #

    Hi George
    And thank you for your help.

    1.A. If I wanted to give the particular affiliate just an extra bonus on each sale that came in of $200, can I do that here?
    Would I use “referral amount” attribute?

    1. B. I installed the new plugin for the Initial Bonus extension, but can’t find the place to edit it?
    Where is the settings for this?

    2. A. How does giving an affiliate their own % rate as an attribute work with specific product affiliate % rates?
    Which one takes precedence, affiliate specific rate, or product specific rate?

    2. B. And, how does this initial bonus functionality relate to this other functionality on the user registration settings (I don’t understand what this functionality is really for?)
    https://www.goldlighttherapy.com/wp-admin/admin.php?page=affiliates-admin-user-registration

    3. Thank you, I’ve got the tiers now working on my stats page:
    https://www.goldlighttherapy.com/affiliates/affiliate-stats/
    Because I’ve integrated Buddypress and your Affiliates plugin using your add-on
    Is there any way to have the names of affiliates who are under me have a link to their buddypress profile?

    Thank you!
    Barnaby

  3. George January 4, 2017 at 7:32 pm #

    Hi Barnaby,

    1. If you want to give each affiliate an extra bonus on each referral, then you need another extension. If you plan to implement it yourself, a nice place to start with is affiliates_referral action.
    In order to modify the bonus amount, go to your Dashboard under Plugins > Editor. On the upper right corner select the Affiliates Initial Bonus and then change the value of $amount variable currently set to 10. With this plugin, whenever a new affiliate registers through the Affiliate Area page, they will be granted a bonus.

    2. Between these, affiliate rate will be granted. Another idea would be to use Affiliates Custom Method by Sales. Depending on the amount of referrals aka sales the affiliate rate will be automatically adjusted.

    3. Sorry but not yet. Affiliates BuddyPress might integrate with Affiliates Enterprise but more functionality is still to be added.

    Cheers,
    George

  4. Barnaby January 4, 2017 at 11:45 pm #

    Thanks, please provide some more details.

    1. A. Which is the name and link to this extra extension for this functionality?

    1. B. Once I have installed this new plugin for the Initial Bonus extension, where do I find the place to edit it’s settings?

    2. And, how does this initial bonus functionality relate to this other functionality on the user registration settings (I don鈥檛 understand what this functionality is really for?)
    https://www.goldlighttherapy.com/wp-admin/admin.php?page=affiliates-admin-user-registration

    3. When you could add this extra functionality to link tiers list to Buddypress profiles? What could be an ETA for it?
    Or how much would it cost for you to add it?

    Thanks!
    Barnaby

  5. George January 5, 2017 at 6:03 pm #

    Hi Barnaby,

    1.A,B There is no extension atm. But if you are capable you could implement it yourself using the hook i described. Please have a look again at my previous comment, i’ve described you how to edit a plugin.

    2. Affiliates User Registration has to do with referrals recorded when an affiliate refers a new user to your site. For more details you can also have a look at the documentation.

    3. Sorry, but atm i don’t have an ETA for this.

    Cheers,
    George

  6. Barnaby January 10, 2017 at 2:47 am #

    1. Somehow in my installation, all new affiliate sign ups are getting US$10. But I cannot find the setting where I implemented this! I cannot find away to edit this figure, how and where do I do it?

    3. In showing affiliates their own tired network, showing the list of affiliates signed up to them, it is only showing their username.
    I asked if it was possible to link directly to the users Buddypress profile, you said it was not possible.
    Is it possible to show in the list tiered affiliates their actual name and their email address?
    We need to be able to give the top affiliate a way to see who is actually in their downline (the names), and give them a way to message and contact their down line by showing their emails. How could this be done? What code could be used for this?

    4. I would like to have the way to pick a unique URL for each Affiliates unique tracking URL to redirect to. At the moment, the default is that for every affiliate is their unique tracking URL automatically forwards to the home page. How could this be setup (or coded) so that each affiliates tracking URL could redirect to a specific URL within the site?

    Thank you 馃檪
    Barnaby

  7. George January 10, 2017 at 9:07 pm #

    Hi Barnaby,

    1. I will modify it to your Dashboard.
    3. In order to modify the output of the shortcode, you should use affiliates_tiers_output filter as described in the documentation page.
    4. Regarding urls you can use [affiliates_url] shortcode in your Affiliate Area page as described in the documentation.

    Kind regards,
    George

  8. Barnaby January 11, 2017 at 4:40 am #

    Thank you so much for your help here.

    3. I was able to use this shortcode to display the tiered affiliates actual names [affiliates_tiers $output] – and this is great!
    But it does not display their email addresses, is that possible?
    You can see how it’s working here:
    https://www.goldlighttherapy.com/affiliates/affiliate-stats/

    4. I have now tried that additional shortcode you’ve given me [affiliates_url] but it doesn't do what I need. It simply allows you to append their URL ID to link for the site.
    It is not allowing the affiliate to permanently alter the default URL that visitors would pull up upon clicking their affiliate URL.
    As I had described, I need to find a way for affiliates to pick a URL from the website for them to automatically redirect to as their default page to redirect to every time. At the moment, the default URL for every affiliate automatically forwards to the home page. How could this be setup (or coded) so that each affiliates tracking URL could redirect to a specific URL within the site?
    How how could they select and edit which URL in the site that their affiliate URL forwards to automatically every time, until edited again?

    Thank you
    Barnaby

  9. Barnaby January 11, 2017 at 6:42 am #

    5. How do I pick out affiliate fields and show them on a page?
    I want to show an affiliates first name, and their last name on a page.
    Thanks 馃檪

  10. George January 11, 2017 at 7:12 pm #

    Hi Barnaby,

    3. I have corrected the shortcode for you. Please have a look how the attribute is used.
    4. If you want your affiliates to generate their own links, put the shortcode [affiliates_generate_url] in your affiliate area page. The description is here.
    5. For these fields you should use [affiliates_affiliate_profile show_name="true"] shortcode and the description can be found here.

    Cheers,
    George

  11. Barnaby January 12, 2017 at 4:06 am #

    3. This works great now! Thank you so much 馃檪

    4. I have already got that generate URL working on this page, and have it there about 10 days working fine.
    https://www.goldlighttherapy.com/affiliates/affiliate-links/
    But is there anyway to have a fixed in place default URL for the affiliate going to a certain page, instead of just the sites home page?
    If you go here:
    https://www.goldlighttherapy.com/?id=61
    It defaults to going here:
    https://www.goldlighttherapy.com/
    But I would like to find out if it’s possible for it to default to go here for any affiliates that want it to, and to allow them to edit this changed default URL:
    https://www.goldlighttherapy.com/vendor/barnaby-new/
    Is that even possible?

    5. I tried this code, and it just showed a form with fields to the affiliate to edit. I simply just want to show their name on a page like this:
    “Thanks Bob for registering as a new affiliate!”
    How could I do that?

    Thanks!
    Barnaby

  12. George January 13, 2017 at 8:43 pm #

    Hi Barnaby,

    4. You can let your affiliates modify the url only with shortcode [affiliates_generate_url].
    5. I have prepared you this snippet, which renders the username. Of course you are welcome to modify and use it at will. 馃檪

    add_filter( 'affiliates_thanks_sign_up_text', 'affiliates_thanks_sign_up_text');
    function affiliates_thanks_sign_up_text( $text ) {
    global $affiliate_user_id;

    $user_login = '';

    if ( $new_user = get_userdata( $affiliate_user_id ) ) {
    $user_login = $new_user->user_login;
    }

    return ' Thanks for signing up '. $user_login . '!';
    }

    Cheers,
    George

  13. Barnaby January 15, 2017 at 12:06 am #

    Hi George

    5. Thank you for this code! Is it possible to use similar code to display the affiliates first name only?
    What code would I use to show their first name?

    Cheers
    Barnaby

  14. George January 15, 2017 at 4:54 pm #

    Hi Barnaby,

    You should use this instead:

    add_filter( 'affiliates_thanks_sign_up_text', 'affiliates_thanks_sign_up_text');
    function affiliates_thanks_sign_up_text( $text ) {
    global $affiliate_user_id;

    $user_login = '';

    if ( $new_user = get_userdata( $affiliate_user_id ) ) {
    $user_login = $new_user->first_name;
    }

    return ' Thanks for signing up '. $user_login . '!';
    }