How to setup commission based on purchase order total?

I need to setup like below:
1. If purchase price is between 3800 to 6799, then we will give 350 as commission for level 1 and if level 2 will receive 100
2. If purchase price is between 6800 to 9799, then we will give 700 as commission for level 1 and if level 2 will receive 150

and so on…..

One Response to How to setup commission based on purchase order total?

  1. George April 5, 2021 at 5:46 pm #

    Hi Alex,

    This commission setup is possible if you use a custom formula for the Rate. Please have a look at the filter hook affiliates_formula_computer_variables which allows you to set custom values for as many variables as you choose once you check the order total value in $variables[‘s’].
    For example, if the sale total is between 3800 to 6799 then you can set three variables like:

    $variables['or'] = commission_amount_for_OR
    $variables['l1'] = 350
    $variables['l2'] = 100

    etc.

    On your Rates you should have three rates, one for the OR with method Formula and value or, another rate for level 1 with method Formula and value l1, another rate for level 2 with method Formula and value l2 etc.

    Furthermore, I would also recommend you to have a look at Affiliates Tiers Demystified post which explains the tiered commissions in depth. If the OR has no commission rate set, then the tiered commissions won’t be triggered.

    Kind regards,
    George

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share