Commission Structure

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

Posted in

Comments

20 responses to “Commission Structure”

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

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

    1. 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. I didn’t know there was an editor for plugins. Thank you!!

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

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

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

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

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

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

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

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

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

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

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

    1. 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. Hi,
    I think you don’t need Enterprise version. Please take a look to this conversation.

Share