Commerce Affiliate is a part of the Affiliate-NG module suite.
Affiliate-NG provides the basic affiliate functionality:
- Affiliate URL handling
- Clicks (recorded visits based on affiliate referrals)
- Campaigns (ways to differentiate traffic sources)
- Reports for administrators ("Affiliates" page) and
users ("Affiliate Center" tab on the user profile).
Commerce Affiliate extends that functionality by allowing
affiliates to earn commissions (relying on Drupal Commerce for price and currency handling).
A commission is an entity referencing a parent entity (for which the affiliate received the commission), usually created by Rules (as a response to an Order being completed, a referred user creating an account, etc) or by the admin, through the UI.
There can be multiple commission types, each specifying the entity type of the parent entity, and allowing additional fields to be attached.
Included in the package is the "Commerce Affiliate Order" submodule,
which provides commission types, views, rules and other functionality
for commissions on Drupal Commerce orders.
This allows per-order and per-product commissioning functionality out of the box.
Please note that these modules are not yet production-ready.