Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
how to use commerce affiliate . how to set 'Entity reference' filed, on to product type or normal Entity type? and refercence to which, commission or campaign? what is parent Entity? how to publish campaigns to users and other website? the readme file do not give a detail. and sorry for my dull.
Comment | File | Size | Author |
---|---|---|---|
commission.jpg | 82.34 KB | shoufeng.xi |
Comments
Comment #1
shoufeng.xi CreditAttribution: shoufeng.xi commentedwaiting support 。。。
Comment #2
dgastudio CreditAttribution: dgastudio commentedsame here. How to add comission to order? to product?
Comment #3
mesch CreditAttribution: mesch commentedI just worked on a project that needed to attach a commission to an order. I'm including a basic rule that does the job (but excludes the project-specific action logic) below.
In words, when an order is completed, check to see if the user has a cookie containing an active affiliate and campaign, and then verify that the campaign is the one I want to give a commission for. Note that the campaign id is not the campaign name, but the actual integer id (the default campaign is "1"). If those conditions are true, then I add a commission.
As to how to get campaigns up and running, the module adds an "Affiliate Center" tab to the user menu. If you click on a specific campaign, you get the appropriate affiliate links. Note the user must have the "Act as affiliate" permission to access this affiliate center.
Comment #4
deggertsen CreditAttribution: deggertsen commentedI have added some documentation here: https://drupal.org/node/2020217
Thanks to @bojanz, @sinn, and @MEsch for your contributions as I mostly just copied and pasted with a few additions here and there. I'm going to mark this as needs review as the documentation is quite incomplete and should also be linked to from the project page.
Comment #5
deggertsen CreditAttribution: deggertsen commentedUnassigning the issue as it really needs to go to the maintainers for review. If you have used the above documentation and it has been helpful for you please change the status to Reviewed & tested by the community.
Comment #6
deggertsen CreditAttribution: deggertsen as a volunteer commentedThere is plenty of documentation now here: https://www.drupal.org/node/2020217
Closing as fixed.