Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Affiliate and eMember

by

Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › Affiliate and eMember

  • This topic has 6 replies, 2 voices, and was last updated 12 years, 8 months ago by amin007.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • July 13, 2010 at 12:36 am #1486
    gcollignon
    Member

    Hi, I have the emember and affiliate plugin. I was wondering if I have a free membership and I am rewarding my affiliates for subscribing people to my free membership how can I know. Do they show as a sale?

    July 13, 2010 at 1:33 am #22390
    amin007
    Participant

    By default affiliate commission won’t be given for free membership subscription as no money is involved here.

    All the affiliate commissions awarded to your affiliates can be viewed from the “Sales Data” menu of the affiliate platform plugin.

    July 13, 2010 at 10:11 pm #22391
    gcollignon
    Member

    Is there something that can be made so that a free membership can also become awarded in the sales data?

    I am paying my affiliates for free membership subscriptions so I need something that allows me to know who subscribed who.

    Thanks!!!:)

    July 14, 2010 at 3:29 am #22392
    amin007
    Participant

    Yeah I can tell you what to do to have this option. You do understand that you will be giving out affiliate commission to your affiliates even though you haven’t made any money? As long as you understand that you could go broke if for example 200 people signup for free membership from a referral and you have agreed to pay $10 per signup. So you will be paying out $2000 in affiliate commission even though you haven’t made anything :)

    Let me know if you understand the risk and I will tell you the tweak to achieve this.

    July 14, 2010 at 11:54 pm #22393
    gcollignon
    Member

    Yes I understand..the percentage is really low or I can just add a 0% but still be able to see who signed up who.

    Thanks

    :)

    July 19, 2010 at 7:26 pm #22394
    gcollignon
    Member

    Hello Amin I hope you are doing great! I was just wondering if you could respond to my post. Thanks!

    July 20, 2010 at 1:28 am #22395
    amin007
    Participant

    I didn’t realize that you wanted to go ahead with this. Anyway, this is how you can achieve this:

    Search for the following in the “eMember_misc_functions.php” file:

    if($config->getValue('eMember_auto_affiliate_account'))
    {
    eMember_handle_affiliate_signup($_POST['user_name'],$_POST['pwd'],$_POST['afirstname'],$_POST['alastname'],$_POST['aemail'],eMember_get_aff_referrer());
    }

    Once you find it, add the following bit of code just above it:

    $sale_amount = "10.00";
    $item_id = "some id";
    $txn_id = "";
    wp_aff_award_commission(eMember_get_aff_referrer(),$sale_amount,$txn_id,$item_id,$_POST['aemail']);

    Notice the sale amount value is set to “10.00”? this is the amount that will be used to calculate the commission. So if a referrer is set to earn 30% commission then he will get 30% of $10.00 which will make his commission to be $3. Adjust the sale amount to suit your needs.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • WP PDF Stamper Documentation
  • WP Photo Seller Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial
  • WP Photo Seller Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2023 | Tips and Tricks HQ