Your cart is currently empty!
Minimum order for referral fee
—
by
Hi, is it possible to set limits such that the affiliates can only get a referral fee if the order is above $500? I looked through the support forum and there was a similar question posted in 2016. I tried the plugin listed and it did not work (“plugin could not be found”). Any help would be appreciated. Thank you!
Posted in Affiliates Pro
Comments
12 responses to “Minimum order for referral fee”
Hey Kesia,
I’ve tested the snippet on my local installation and it works properly. Do you get any errors in debug.log when testing for a 0 commission referral?
Kind regards,
George
Hi Kesia,
Thanks for the follow-up on this, let me have a look.
Cheers,
George
Hi Kesia,
The snippet mentioned here https://pastebin.com/kEmzjkYj, should do the trick. Why don’t you give it a try…
Kind regards,
George
Hi George,
Unfortunately, the zero notification emails have not stopped.
Best,
Kesia
Hey Kesia,
Sorry but at the moment there is no core option with that capability. A custom implementation would be required to achieve this, which should check the referral amount and discard the notification in that case, or follow the normal flow otherwise.
Cheers,
George
Hi,
Is there a filter like this one https://www.itthinx.com/topic/referral-email-sent-to-affiliates-for-free-edd-product-checkouts-how-to-stop/ which can be added to my functions.php file to stop zero commission notifications? Thank you.
Hi Kesia,
Thanks for choosing Affiliates Pro as your affiliate marketing tool.
In recent versions of the plugin we have introduced formulas, so you can adjust the commission granted based on the variables you choose to use.
I have sent you an addon to the email address you used here on checkout which will grant a commission only if the net sale amount is greater or equal to 500. You should only install and activate it, and use a rate with Type formula and as value use ie the following:
s*c*0.10
where
s: net sale amount
c: a flag, either 0 or 1 depending on the value of s
In this case if s is greater or equal to 500 the commission will be 10% of that sale.
Kind regards,
George
BTW, in case you have installed any other addons mentioned in the old topic you found, you can safely delete/uninstall them and use only the addon I provided by email.
Cheers,
George
Hi George,
Thank you for your help. Is it possible to use a flat fee instead?
Hi George,
I’ve managed to set it to a flat fee ($50) by using the formula c*50. Thank you for your help again.
Hi,
Sorry if I’m asking too many questions. Is it possible to disable notifications for $0 commissions (In my case, for orders below $500)?
Hope that you and your team are doing well!
Kesia
Yep that’t correct, the usage of formulas is very flexible and it seems that you got the point here.