Commerce Affiliate Documentation

This is the documentation page for the Commerce Affiliate module and is a part of the Affiliate-NG module suite.

Affiliate-NG provides the basic affiliate functionality which isn't Commerce-specific:

  • Affiliate URL handling
  • Clicks (recorded visits based on affiliate referrals)
  • Campaigns (ways to differentiate traffic sources)
  • Reports for administrators ("Affiliates" page)
  • Reports and information for affiliate users ("Affiliate Center" tab on the user profile)

Using Affiliate-NG, you can capture affiliate (or referral clicks) to your site from affiliates. Affiliate-NG allows any user who has the "Act as an affiliate" role to participate in the system. At a high level, this works by attaching relevant information in a cookie as the user initially visits the site. This information is then used by Commerce Affiliate to do further commissions calculation during the lifecycle of the visit.

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. It also references the owner of the referral, and the campaign.

There can be multiple commission types, each specifying the entity type of the parent entity, and allowing additional fields to be attached.

Currently, the Commerce Affiliate module supports the following commission types:

  • Order
  • Product
  • User
  • Click

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.

AttachmentSize
affiliate_admin_overview.png11.1 KB

Comments

sadar’s picture

When is this module going to be completed?

johnatasJMO’s picture

Is planned to be in D8?

sadar’s picture

Will the implementation be mulitlevel of atleat 5 levels

mohammed_zohan’s picture

Waiting for this module to be ready