Commission Structure

Posted in

Hi,

I bought the affiliates pro woo commerce thinking I could create a commission structure like this
25% -1st 30 referrals
20% referrals 30-100
10% referrals above 100

I can’t find an option to do so. I just looked and it looks like your enterprise supports this kind of thing. Is this right?
I spent the money to get affiliates pro woo commerce but all I really need to create that commission structure. Did I get the wrong plugin?
What can I do? I don’t have a lot of money and to spend another $99 is tough because I just spent 80…

Can I get a credit for the 59 I spent on the affiliates pro and just purchase the rest of the Affiliates enterprise?
Thank you,
Stan

20 Responses to Commission Structure

  1. purejaya September 18, 2013 at 5:02 am #

    Oh ok that makes sense. Thanks for clearing that up.

  2. purejaya September 18, 2013 at 4:15 am #

    Hey, sorry just a question. I don’t know php yet, but the values below, you have it using “=>” does that mean equal to or greater than? Wouldn’t I want to be the opposite? So it would be equal to and less than 34? and then equal to or less than 100? Sorry, just a little confused.

    public static $rates = array(
    ’34’ => 0.25,
    ‘100’ => 0.20
    );
    public static $max_rate = 0.15;

    Thanks

    • antonio September 18, 2013 at 4:33 am #

      Hi,
      no, ‘=>’ is similar to ‘=’ but in arrays.
      In this case:

      0 < X <= 34 then 0.25
      34 < X <=100 then 0.20
      X > 100 then 0.15

  3. purejaya September 16, 2013 at 9:08 am #

    I didn’t know there was an editor for plugins. Thank you!!

  4. purejaya September 14, 2013 at 8:20 am #

    I’m not a big coder yet. But if you could accept then I can download it and upload it

    • antonio September 16, 2013 at 5:12 am #

      Hi,
      you can do it in Plugins->Editor. Select the plugin in “Select plugin to edit”, edit it and save it.

  5. purejaya September 14, 2013 at 8:14 am #

    Yeah I just couldn’t download the file again to upload as a plugin. Thank you for writecodeonline reference, didn’t know about that.

  6. purejaya September 13, 2013 at 9:55 pm #

    I changed the details on the file again. Can you approve it for on github? I don’t have a text editor that supports php on this computer.

    Thanks

    • antonio September 14, 2013 at 6:05 am #

      This change is only your personal values not new features. You can open a fork for your personal values, or use WriteCodeOnline.

  7. purejaya September 11, 2013 at 10:05 am #

    Oh ok that’s it, should all be set up now. Great! Thank you for the help!

  8. purejaya September 11, 2013 at 9:27 am #

    Ok one last thing, sorry.
    You said to go and select ACM::By_sales in Affiliates->Settings
    I activated the plugin, but I don’t see this option to select ACM::By_sales in the drop down.

    • antonio September 11, 2013 at 9:48 am #

      Hi,
      select “Referral Amount Method”, save and then select “ACM::By_Sales” in calculation value.

  9. purejaya September 11, 2013 at 7:53 am #

    Oh except I would change the 50 to 25 — public static $max_rate = 0.25;

    • antonio September 11, 2013 at 8:22 am #

      No, max_rate is used when num. referrals accepted are higher to all $rates keys. In your case, when is higher to 100.

  10. purejaya September 11, 2013 at 7:50 am #

    So I need this
    0-30 referrals =25%
    30-100 referrals=20%
    100+ referrals=10%

    would this be correct?

    public static $rates = array(
    ‘1’ => 0.25,
    ‘2’ => 0.20,
    ‘3’ => 0.10
    );
    public static $max_rate = 0.50;

    I know it skips this below, but would I need to change any of it and include it?
    /*
    * In this case:
    * 0 <= num_referrals <= 10 rate= 10%
    * 10 < num_referrals <= 20 rate= 20%
    * 20 < num_referrals <= 30 rate= 30%
    * 30 < num_referrals rate= $max_rate = 50%
    */
    Thank you for your help and patience with me

    • antonio September 11, 2013 at 8:18 am #

      Hi,
      if you need:
      0-30 referrals =25%
      30-100 referrals=20%
      100+ referrals=10%

      You must set;
      public static $rates = array(
      '30' => 0.25,
      '100' => 0.20
      );
      public static $max_rate = 0.10;

  11. purejaya September 10, 2013 at 9:39 pm #

    If you could help me with the coding part and what exactly to do, that probably would be best. I’m sorry for the hassle.

    Thanks!

  12. purejaya September 10, 2013 at 7:34 pm #

    Ok, awesome. I’ve looked at the conversation, but I’m not an expert at coding–yet. Where do I create this commission structure? Like in the settings or do I need to go into the code in the back end to do it?
    I’d like the above structure to apply to every affiliate. And some affiliates to be customized a little differently.

    • antonio September 11, 2013 at 6:30 am #

      Hi,
      I have created Affiliates Custom Method::by_sales. In the right sidebar you can download it.
      You must change:
      public static $rates = array(
      '1' => 0.10,
      '2' => 0.20,
      '3' => 0.30
      );
      public static $max_rate = 0.50;

      with your values.
      Install the plugin, and select ACM::By_sales in Affiliates->Settings

  13. antonio September 10, 2013 at 3:03 pm #

    Hi,
    I think you don’t need Enterprise version. Please take a look to this conversation.

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

Share