Minimum order for referral fee

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
Tags

Comments

12 responses to “Minimum order for referral fee”

  1. George Avatar

    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

  2. George Avatar

    Hi Kesia,

    Thanks for the follow-up on this, let me have a look.

    Cheers,
    George

  3. George Avatar

    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

    1. Kesia Yang Avatar
      Kesia Yang

      Hi George,

      Unfortunately, the zero notification emails have not stopped.

      Best,
      Kesia

  4. George Avatar

    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

    1. Kesia Yang Avatar
      Kesia Yang

      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.

  5. George Avatar

    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

    1. George Avatar

      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

    2. Kesia Yang Avatar
      Kesia Yang

      Hi George,

      Thank you for your help. Is it possible to use a flat fee instead?

      1. Kesia Yang Avatar
        Kesia Yang

        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.

        1. Kesia Yang Avatar
          Kesia Yang

          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

        2. George Avatar

          Yep that’t correct, the usage of formulas is very flexible and it seems that you got the point here.

Share