how to affliate
a user* has an website running under drupal 7 , every sale of the product are finalized by the amount credited to a gateway account (ccavenue here).
How to setup the affiliate link, which the user* will give to other website/fb/twitter account for advertisement. And profit of the actual sale % should be shared btw user* and the advertiser.
user* is website owner.