No affiliate commission for certain product categories and with coupons

Hi,

I was wondering is it possible if a user who is referred by an affiliate member does not get commission on certain product category and if coupon codes are used.

Posted in

Comments

6 responses to “No affiliate commission for certain product categories and with coupons”

  1. Hi,

    Thank you very much that solved a lot of my problems! Thank you so much!

  2. Thank you so much Antonio!
    However, I still got one question. I have set up the following:

    Woocommerce Integration:
    Product Rates:
    (checked) Enable product referral rates
    Default Rate: 0.1

    Settings:
    Default Referral Amount Calculation
    Default Referral Calculation (Dropdown Selected – Referral Rate)
    Default referral calculation value: 0.1

    Product A: Affiliate Referral Rate: 0
    Product B: Left Empty (Blank)

    But it still gives my affiliate the 10% of all items.

    Is there something I’m missing or doing wrong?

    1. Hi,
      on Settings:
      Default Referral Amount Calculation
      Default Referral Calculation Referral Amount Method
      Default referral calculation value: Affiliates_WC_Method::product_rates

      cheers

  3. Hi Antonio,
    Thank you so much for the fast response. I will try out implementing the woocommerce integration but can you elaborate on how I can apply the zero commission when coupon is used? Do I make the editing on the functions.php file or where should I make the changes?

    1. Hi,
      maybe better with a filter. This code can help you, you must add this to funtions.php.
      cheers

  4. Hi,
    exactly this is not implemneted, but you can set cero commission on certain product if you are using Woocommerce integration.
    If you need apply only cero commission when a coupon is used, then you can use Affiliates API to create your own Custom Method.

    cheers

Share