Closed (fixed)
Project:
Commerce Affiliate
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 May 2012 at 15:16 UTC
Updated:
17 Jun 2015 at 11:43 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mesch commentedYou can create a view that shows "Affiliate Commissions". I have this working for commissions of type "order". Also, for order commissions specifically, the module adds a tab to the administration order menu called "Commissions" where you can see any commissions attached to the order and add commissions manually.
Comment #2
deggertsen commentedCould you provide an export of your view to show Affiliate Commissions? I think that could be useful to others as documentation even if it doesn't exactly match what others have setup on their sites.
Thanks
Comment #3
kruser commentedHere is a rough view I exported which adds a link under the user's affiliate center called Commissions.
Comment #4
deggertsen commentedHere's a patch that updates the commerce_affiliate.views_default.inc to include an admin page view. I may also update it to have a page where affiliates can see their own commissions.
Please review. I noticed in the patch that it removes a lot from the old default view, but I think it's unnecessary stuff that may have been included with an older version of views. That's just a guess though.
Comment #5
deggertsen commentedOh, I thought I might also mention that I just wrote up this doc page to show how you can make it so you can mark commissions as paid in this view:
https://www.drupal.org/node/2507145
Comment #6
deaconblues commentedLooks great to me! I patched the code and checked it in. Thanks for the help!
Also, great writeup on showing how to mark an affiliate commission as being paid. That's great functionality!
Comment #7
deggertsen commentedThanks @deaconblues! Haven't seen it show up yet in the recent commits though... Is that what you meant by checking it in?
Comment #8
deaconblues commentedCommitted but didn't push. My bad. It's there now.