Setting specific commission rate on a product level

Hi,

We are using Affiliates Pro + Affiliates WooCommerce Integration + Affiliates Extra Fields + Affiliates Export to power our affiliates system.

Now, the default setup of commission rates is already in place. I know if we want a different commission rate for a specific affiliate, I can set that in its attribute but I am not sure how I can set specific commission rates for specific affiliates (super affiliates, a group of affiliates) on a per product level?

The documentation doesn’t answer this specific question and forum results are a hell hole to actually make any sense out for anything. If you can point to documentation which has this missing explanation or explain what I actually need to do to achieve the desired result, I will appreciate it.

Thanks in advance.


Comments

4 responses to “Setting specific commission rate on a product level”

  1. Danielle Avatar
    Danielle

    This is how our function looks like right now – https://gist.github.com/ashfame/b14071014598f870a7f6

    1. antonio Avatar

      Hi,
      if you need to have different affiliates “levels”, Affiliates Groups plugin can help you.
      cheers

  2. Danielle Avatar
    Danielle

    Hi Kento,

    Thanks! We have create a plugin and put up our custom logic in there and is working fine but I need clarification on one thing.

    Inside product_rates() function, when are base_amount and amount set inside $parameters because I think it always have a post_id i.e. Order ID and that’s what we have covered in our custom method.

    Hoping you can shed some light on the same.

  3. Hi Danielle,

    This would require a custom method which can be based on this skeleton plugin as the mapping between affiliates and products for “per-affiliate-per-product rates” isn’t supported OOTB.

    We’re considering changes to the referral model which might have that built-in in the future.

Share