Affiliates Coupons

This extension for Affiliates Pro and Affiliates Enterprise and WooCommerce allows to create coupons for affiliates automatically and in bulk.

Automatic Coupon Creation for Affiliates

The extension automatically creates new coupons for new affiliates. The new coupon is associated with the affiliate so that the affiliate is credited with a referral when a customer makes a purchase using the coupon.

Bulk Coupon Creation for Affiliates

The bulk coupon creation features allows to create new coupons for all affiliates in bulk.


See the Affiliates Coupons documentation page and information provided on the settings pages of the Affiliates Coupons menu.


Please visit the Affiliates Coupons page in the shop for more details.

58 Responses to Affiliates Coupons

  1. Richard Jemmett November 6, 2023 at 3:18 pm #

    Is there a way that I can give different affiliates different percentage discount coupons. I want some to have 10% and some to have 20%

    Also how does an affiliate know their coupon code? – It is not displayed in their affiliate area?

    Many thanks


  2. Barbara December 16, 2021 at 7:00 pm #

    I have Woocommerce installed, not live yet. Woocommerce and Affiliates Pro have coupon plugins. This is a prepurchase question. My situation.
    Affiliate Discount Coupon – An Affiliate will have a discount coupon code assigned, which can be used by someone they refer.
    VIP Member Group Coupon – I also will want an additional coupon assigned for someone who joins my VIP Member Group. (Mailchimp)

    1. How do I avoid coupon use abuse for Affiliate Discount Coupon?
    2. Can I have multiple coupons? Gues this should have been the first question.
    3. What is the difference between your coupon plugin and Woocommerce coupon plugin?
    I am doing more research on this question too.

    I understand coupons will require the Affiliates Pro version, not the free Affiliates


    • Kento December 18, 2021 at 1:45 pm #

      Hi Barbara,

      Thanks for asking, the following would apply:

      #1 I would say it depends on how you define coupon abuse … we have a setting that allows affiliates to use (or not) their assigned coupons. See under “Auto-referrals and auto-coupons” on the Referrals documentation page for details.
      #2 I assume you ask whether affiliates can have several coupons assigned to them, then the answer is yes.
      #3 I really don’t know what you mean 🙂

      Yes, you need Affiliates Pro or Affiliates Enterprise to use the Affiliates Coupons extension.


  3. Hugo October 8, 2020 at 9:38 pm #

    Hi Im a bit confused wether linking a coupon code to an affiliate is or isnt possible in the free version. Cause I have read on the forum that it should be possible via a coupon made in Woocommmerce and than adding it via attributes to the affiliate. However I can not find attributes when managing the affiliate?

  4. Jon July 20, 2018 at 2:31 pm #


    I have place a test order, not using the affiliate URL but using only the coupon code.
    I wanted to allow affiliates to associate cutomers using only the coupon code at the main website address as this is far easier for them to get customers to do.
    My test order is showing as processing in Woocommerce but is not listed for the test affiliate. Is this because it hasn’t completed? or is it necessary to use the affiliate URL too?
    I am hoping the coupons can be used instead of the affiliate URL.

    Thank 🙂

    • Kento August 1, 2018 at 10:34 am #

      Hi Jon,

      You can use the coupons instead of the affiliate’s URL – in that case you might want to remove the info on the link in the affiliate area. If your coupon was applied to the order and the coupon is correctly related to an active affiliate, then you should see a corresponding referral under Affiliates > Referrals.

      I would recommend to double-check settings for Affiliates Coupons and also verify that the coupon is assigned correctly as detailed on the Coupons documentation page.


  5. Jeremy June 12, 2018 at 1:51 pm #

    Pre-sale question: but I was wondering if something like this could be done: basically, if I use an affiliate link, I get a discount of all products automatically? So the customer uses a friend’s link and automatically gets a discount, and then the friend gets commission.

    • Kento June 13, 2018 at 8:03 pm #

      Hi Jeremy,

      Maybe this one can help you:


      • Jeremy June 13, 2018 at 8:22 pm #

        Thank you! This works with Affiliates Pro and I can install it as a plugin?

        • Kento June 13, 2018 at 11:31 pm #

          Yes you can install that as a plugin, I would recommend to download it using the green button “Clone or download” > Download Zip and then install the plugin as usual.

  6. June 7, 2018 at 12:15 pm #

    HI and sorry for my english, i have purchased affiliate coupon, its possibile to send 1 coupon after 2 affiliates have clicked e purchased a product?

    • Kento June 13, 2018 at 3:11 pm #

      Hi Domenico, no problem 🙂 The coupons are intended to be used by customers so the affiliate gets a commission, the case you describe is not covered by it.

  7. Jim November 29, 2016 at 8:47 pm #

    Sorry. For question 3 I meant:

    “for the affiliate to change their coupon code to a unique name without having an ADMIN do it”.

    Thanks again.

  8. Jim November 29, 2016 at 8:45 pm #

    Hello, I have a few questions:

    1) If a customer uses an affiliate’s coupon but does not use their link, do they get credit for the sale all the same?

    2) Is there a way to automatically apply an affiliates coupon code to the cart (using woocommerce) with a users affiliate link? (Example: I post my affiliate link and when a customer clicks it my coupon is also automatically applied to the cart).

    3) Seems like a lot of people would like a way for the affiliate to change their link to a unique name without having an ADMIN do it for them (myself included). Do you plan to offer this feature in the near future? I think people would really like this option.

    Thank you!

    • antonio December 10, 2016 at 7:22 pm #

      Hi Jim,
      1.- Yes, if the affiliate has assigned this coupon, then he will get the commission.
      2.- You can use the Affiliates Woocoupons plugin.
      3.- Please have a look at the Affiliates by Username plugin.
      Kind Regards,
      Antonio B.

  9. antonio September 17, 2016 at 9:47 am #

    Hi Leonardo,
    sorry I can not do it. The affiliates commission is not processed until the end of the month.
    Kind Regards,
    Antonio B.

  10. alex August 20, 2016 at 8:13 am #


    I already have dokan installed and decided to buy a shopping cart theme, affiliate pro and affiliate permanent.

    Does it matter if I install the theme first or if I install affiliate addon first? Which sequence is better?

    • antonio August 20, 2016 at 10:33 am #

      Hi alex,
      It really does not matter the order.
      Affiliates Pro before that Affiliates Permanent.
      Kind Regards,
      Antonio B.

  11. Alex May 16, 2016 at 12:48 pm #

    Hi Antonio,

    Is it possible to configure the system to work the way you described earlier?

    Even for existing customers, using a affiliate linked coupon will link this customer to the affiliate.

    • antonio May 17, 2016 at 1:41 pm #

      Hi Alex,
      sorry, the plugin hasn’t this option. You should create a custom solution to have it (maybe customizing the ‘is_new_customer’ function in class-affiliates-permanent.php but remember that is not a good idea to change the plugin code because when you update it, your changes will be lost.
      Kind Regards,
      Antonio B.

  12. Alex Luk May 11, 2016 at 10:14 am #

    Hi Antonio,

    Your comment on existing customers seems to be different from what the documentation say. Please clarify.

    You said:
    2.- That does not depend on whether he is a new customer or not. That depends of if the customer is already assigned to another affiliate or not (he can only be assigned to one permanent affiliate).

    But document say:
    Existing customers
    Purchases made by existing customers who are not assigned to an affiliate will not credit any affiliate, even if the customer has visited an affiliate link after her or his initial purchase.
    This applies in these cases:
    An existing customer who is not assigned to an affiliate makes a purchase after visiting an affiliate’s link.
    An existing customer who is not assigned to an affiliate makes a purchase using an affiliate’s coupon
    While an existing customer is not assigned to an affiliate, no affiliate will be granted a commission.

    • antonio May 12, 2016 at 7:02 pm #

      Hi Alex,
      sorry, my mistake. That is how the documentation indicates.
      Kind Regards,
      Antonio B.

  13. Alex Luk May 11, 2016 at 9:09 am #

    I saw the following in your website. What is contributor releases?

    “Affiliates Pro and Enterprise are contributor releases with additional features. Contributions help to make the plugins even more awesome. Thanks!”

    • antonio May 17, 2016 at 1:45 pm #

      We like to listen to our community.
      So proposals for improvements and new features are heard and help us improve future versions.

  14. Alex Luk May 10, 2016 at 12:39 pm #

    Hi Antonio,

    I had already asked this one earlier. But this function is so important to me that I may base my purchasing decision on this alone. So I need to write it down in detail to confirm whether system will behave the way I want.

    1. I think I need Affiliates Pro with Affiliates Permanent for this to work.
    2. I assign coupon A to affiliate A.
    3. Affiliate A send coupon A to customer X.
    4. Customer X apply coupon A in order 123 and checkout.

    Desired outcome:
    1. Customer X is linked to affiliate A
    2. Affiliate A earn commission for order 123 and all future purchases of Customer X.

    1. Will the desired outcome be the default outcome if I have both affiliates pro and affiliates permanent installed?
    2. When customer X apply coupon A, does it matter if customer X is new customer or if customer X has already purchased from us before?

    Thanks in advance for your advise!

    • antonio May 11, 2016 at 8:10 am #

      Hi Alex,
      1.- Yes, this is the outcome with both plugins activated.
      2.- That does not depend on whether he is a new customer or not. That depends of if the customer is already assigned to another affiliate or not (he can only be assigned to one permanent affiliate).
      Kind Regards,
      Antonio B.

  15. Alex May 2, 2016 at 10:38 am #

    Hi Guys,

    I am considering to buy either Affiliates Pro or Affiliates WP. Both seems to be comparable. However, I found the channel to submit enquiries (even before I make the purchase, this is usually the time that it will be easiest to get reply) to be extremely difficult to manage. Even I managed to post one question yesterday and get an email alert of a comment received, I cannot figure a way back to the original question I posted. Can someone give me some guidance? Otherwise, this will become the deciding factor of my choice of product to go for. Thanks!

    • antonio May 4, 2016 at 2:05 pm #

      Hi Alex,
      Please have a look at the Support page. With the Pro/Enterprise versions you have Premium Support.
      Kind Regards,
      Antonio B.

  16. Alex May 1, 2016 at 3:42 am #

    I have questions about affiliate coupons. If I assign a coupon to an affiliate and a new customer buy with that coupon. Can the customer be linked to that affiliate for future purchase too? If I also have Affiliates Permanent, can this customer be permanently assigned this affiliate once he make a purchase with the coupon?

    • antonio May 2, 2016 at 9:58 am #

      Hi Alex,
      Yes (remember that you need Affiliates Permanent).
      Kind Regards,
      Antonio B.

  17. David December 9, 2015 at 11:20 am #

    Hi guys!
    I bought the plugin recently. I like it and all, but it will be much cooler in my opinion if coupons could be generated not by the ID of the user, but by his username. So if my username is “1337NoScOpE” and I register as an affiliate, my coupon will have the same name. I know you guys didn’t say in the description that this plugin will do that, but I’m sure it is possible. How can i do that? I don’t think it is too hard. I am not a programmer by any means, and maybe i don’t know what I am talking about, but as far as I know, users login is a variable just as his ID right? It will be awesome if you guys can help me out.
    Thank you!

    • antonio December 14, 2015 at 7:36 am #

      Hi David,
      Automatically it’s not possible.if you need to add coupons with the username, you can do it manually (creating the woocommerce coupon, and assign it to the affiliate).
      Kind Regards,
      Antonio B.

      • David December 25, 2015 at 9:15 pm #

        Thanks guys.
        By any chance, is there a way for affiliates (users) to rename coupons assigned to them? So your plugin generates something like “aff345” and user renames it like he wants to. Is that possible?

        • antonio December 28, 2015 at 6:57 am #

          Hi David,
          this only can be done by the administrator (or users with capabilities to create coupons in Woocommerce and manage affiliates).
          Kind Regards,
          Antonio B.

  18. Ariel October 10, 2015 at 2:06 am #

    Is it possible to add another discount option/type in addition to the cart and the product based discounts? I’m thinking specifically about Free Gift like the WooCommerce Free Gift plugin. I have both plugins but there is no integration between the two. I need to create affiliate coupons that give a free gift to the costumer.

    • antonio October 10, 2015 at 7:53 am #

      Hi Ariel,
      sorry, this integration is not available. You should do it manually, changing the coupons created.
      Kind Regards,
      Antonio B.

      • Babajide Ipaye February 27, 2019 at 6:49 pm #

        hello antonio,

        Currently using your affiliate coupon plug in. i can see that an affiliates coupon has been used from the back end but cant trace it to any transaction.. please how can we resolve this.. i have shared a screen shot of what i am talking about (edited)

        • Kento March 5, 2019 at 9:00 am #


          Thanks for the screenshot from your coupons section. The coupons there probably weren’t generated with the extension but manually created. In that case you need to relate them to the appropriate affiliate – see this documentation page for details. To generate coupons please refer to the documentation on Affiliates Coupons. If you need further help please post in the support section where our team can assist you.


  19. James October 3, 2015 at 10:03 pm #

    Hi, how does this work with subscription products?

    I need to have customers register/purchase and be automatically signed up for the affiliate program, where they get £x per referral and they can give their friends a code for £x off their first payment.

    So, would this extension take £x off the first payment on a subscription product, or would it take £x off of every payment they make?


    • Kento October 6, 2015 at 9:02 am #

      Hi James,

      You can use Affiliates Coupons with Affiliates Pro to have coupons assigned to affiliates which the customers can use to get a discount. But you can’t limit those coupons automatically so they only apply to the first payment.


  20. Ariel June 11, 2015 at 9:56 pm #

    Is there any way to print the coupon without the form tag, input etc? Only te coupon text ex: SAVE207

  21. J P January 8, 2015 at 9:34 am #

    Hi Kento,

    Thank you so much for your fast response and excellent help.
    The plugin now works fine!

  22. J P January 7, 2015 at 12:52 pm #


    I just bought Affiliates Coupons and try to install your plugin.

    This is the server response:
    Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /wp-content/plugins/affiliates-coupons/lib/admin/class-affiliates-coupons-admin.php on line 333

    Can not activate the plugin. All other Affiliate Pro plugins work fine.
    Please help..



    • kento January 7, 2015 at 10:04 pm #

      Hi JP,

      Thanks for pointing that out, this can happen depending on your PHP version. I’ve updated the plugin to take that into account, can you please download the updated version from the Downloads section and try it out? The error should not appear with that version, please let me know once you’ve tried it.

  23. ignaziolaci May 2, 2014 at 12:28 pm #

    As always thanks for your support.
    unfortunately with that short code I don’t see the affiliate coupon code generated..

    Do you have some plugin customization or premium payed support? I really need to get this working asap and I don’t mind paying for someone to take a look under the hood and make it exactly the way I need it.


    • kento May 6, 2014 at 5:35 pm #

      Hi Ignazio,

      What he suggests is that the Affiliates Coupons plugins would be suitable, it’s available in the shop here. You can give it a try to see if it covers your requirements, the shortcode itself won’t generate the codes, using the appropriate attributes, the shortcode is used to display the available coupons to the affiliate.


  24. ignaziolaci April 29, 2014 at 5:40 pm #

    Thank you for the quick reply!

    So here is my goal, you can tell me if the plugin can so something similar to this..

    When an affiliate registers they automatically get a 15% coupon to share with their follower and the coupon is automatically displayed in the Affiliate Area via short code..

    Is that possible?

    • antonio May 2, 2014 at 9:03 am #

      the plugin does exactly this.
      You can use [affiliates_affiliate_profile /] shortcode to show the coupon in affiliates area page.

      • Edson August 4, 2014 at 6:48 am #

        This answered my pre-sale question. Thanks!

        • Edson August 4, 2014 at 7:13 am #

          What would the specific shortcode be to get automatic coupons showing up on the users profile (account) page?

          Please give me the shortcode. Thanks

          • antonio August 4, 2014 at 7:40 am #

            you can use: [affiliates_affiliate_profile show_attributes="coupons" /]
            If you need to show only the coupons, eg. [affiliates_affiliate_profile show_attributes="coupons" show_name="" show_email=""/]

  25. ignaziolaci April 29, 2014 at 5:04 pm #

    Hey Kento,

    I bought this plugin thinking I could make custom coupons so that an affiliate during a conversation can say “Use coupon HANNA at checkout” and not “use coupon.. I think it’s AFF342… I don’t remember…”

    I bought also the plugin for custom username link for the same reason, but I don’t know if the two can work together..

    Please let me know!

    • kento April 29, 2014 at 5:37 pm #

      Hi Ignacio,

      The second coupon you mention would be one that the plugin has generated. You can also assign those manually if you want a more specific wording, see Coupons in the documentation for details on that please.

      The Affiliates by Username plugin I assume you refer to covers different use cases, they can be used along each other but are independent.


  26. James Duffell February 11, 2014 at 12:19 pm #

    Hi I have a site built with jigoshop using your affiliates pro plugin, is it possible to use this plugin with jigoshop as it only references woocommerce. If not is there an alternative plugin for jioshop you have for sale?


    • kento February 12, 2014 at 11:20 am #

      Hi James, currently not, sorry.

Leave a Reply

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