Using the eStore and the Affiliate Platform you can link an affiliate id to a coupon. This will allow a customer to get a discount and the affiliate to be awarded the commission for the sale. This is useful when you want to run promotions for your affiliates.
To do this you will need to check the checkbox for the following two options in the eStore settings. You can find both these options under the "Addon Settings" tab in the main settings menu of the eStore plugin.
1. Allow Affiliate ID Entry
2. Link Affiliate ID with Coupons Table
Once this is done go to the "Coupon/Discounts" menu. Here you will need to add a coupon code with the same name as the affiliate id (e.g. the affiliate ID is test21 then the coupon code needs to be test21).