How to subtract coupon discounts before calculating commissions ?

I need to subtract coupon discounts before commissions are calculated. Example Product is set to $100, coupon is $50off so the sale is $50. Commissions should be $25 but they are being calculated as $50 in this case.

please advise.

Posted in

Comments

7 responses to “How to subtract coupon discounts before calculating commissions ?”

  1. Hi,
    normally commissions are calculated after apply discounts.
    Can you give us url and settings?

    1. ksalter47 Avatar
      ksalter47

      My Settings:

      Default referral amount calculation: Referral Amount Method
      Default referral calculation value: Affilliates_WC_Method::product_rates

      URL:
      http://kennysalter.com

      1. Hi,
        everything seems ok. If you enable an offline payment method, I could test a purchase.

        1. ksalter47 Avatar
          ksalter47

          I enabled an offline payment method (cheque).

          1. Hi,
            it works fine. I have purchased:
            2 x $77 = $154
            Used a coupon of 30%, total: $107.80
            Commission generated (50%) = $53.90 (50% after coupons)
            cheers

          2. ksalter47 Avatar
            ksalter47

            does it subtract shipping also before calculating commission?

            1. antonio Avatar
              antonio

              yes

Share