Your cart is currently empty!
Commission Structure
—
by
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 Affiliates Pro
Comments
20 responses to “Commission Structure”
Oh ok that makes sense. Thanks for clearing that up.
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
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
I didn’t know there was an editor for plugins. Thank you!!
I’m not a big coder yet. But if you could accept then I can download it and upload it
Hi,
you can do it in Plugins->Editor. Select the plugin in “Select plugin to edit”, edit it and save it.
Yeah I just couldn’t download the file again to upload as a plugin. Thank you for writecodeonline reference, didn’t know about that.
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
This change is only your personal values not new features. You can open a fork for your personal values, or use WriteCodeOnline.
Oh ok that’s it, should all be set up now. Great! Thank you for the help!
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.
Hi,
select “Referral Amount Method”, save and then select “ACM::By_Sales” in calculation value.
Oh except I would change the 50 to 25 — public static $max_rate = 0.25;
No, max_rate is used when num. referrals accepted are higher to all $rates keys. In your case, when is higher to 100.
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
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;
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!
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.
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
Hi,
I think you don’t need Enterprise version. Please take a look to this conversation.