Hi,
I needed integration with commerce orders in order to be able to create an affiliation program based on a commission per order and not per click.
I created a module called Commerce Affiliate Orders, available here, in a sandbox project:
http://drupal.org/sandbox/guillaumev/1279128
I left it as a sandbox for now as I'm not sure whether what bojanz wanted to create with the Commerce Affiliate project (http://drupal.org/project/commerce_affiliate) is the same or not.
For people interested, please test the code in my sandbox project and let me know if you would like to see this module promoted as a full project...
Comments
Comment #1
bojanz commentedI think this should remain as a sandbox. It solves an immediate need, but can be done better.
My idea is to have a commission entity that's referenced form orders just like line items (same widget, looks and functionality).
You can have one or multiple commissions attached, allowing you to have per-order or per-line-item commissions.
The commission reference field can also be attached to another entity, like users, so you can give someone a commission when a user signs up, or whatever.
Attaching a commission or determining the commission rate is done through rules.
I have this about half done, balancing that and getting Affiliate-NG into shape.
Comment #2
deggertsen commentedI believe this issue is fixed as http://drupal.org/project/commerce_affiliate actually has a dev release now.
Comment #3
likewhoa commented@deggertsen please don't closed bugs unless you're absolutely sure as commerce_affiliate has had a -dev since Dec 2011 and it's 2013 now ;)
Comment #4
deggertsen commentedWhat is this issue meant to address then? I guess I need some clarification here as I thought it was simply a request to have integration with commerce orders, which commerce_affiliate provides. This issue was initially created in Sept 2011, which like you pointed out is before commerce_affiliate had a -dev release.
Comment #5
likewhoa commented@deggertsen not sure but i will see if it's relevant still before closing it as being neglected or obsolete.
Comment #6
perignon commentedIf I am not mistaken the development on Commerce Affiliate has answered this issue.