Hi, When build a new view, there are listing some product fields like price, title, cost... While no commission plan there. It would be very nice if an affiliate may get a nice view page to check the commissions list of the products.
Also when generate the affiliate link of products, display the commission plan is very useful for an affiliate.
just my 2cs, Thanks a lot.
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | uc_affiliate2-406156-12.patch | 4.44 KB | sammys |
| #5 | uc_affiliate2_views.png | 16.76 KB | univate |
| #4 | uc_affiliate2-406156-4.patch | 4.43 KB | univate |
| #2 | uc_affiliate2_views.tar_.gz | 709 bytes | wqmeng |
Comments
Comment #1
bojanz commentedViews integration requires code of it's own, which is outside of my plans currently.
Who knows, maybe after I release the stable version of the Drupal 6 module... Don't want to promise anything in the meantime.
Comment #2
wqmeng commentedHi,
I have added some code to add the commission structure field to the views module. Sorry I can't create a patch as I have custom the affiliate2 module. While add the view2 support is very simple and just add a function at the end of uc_affiliate2.module and put all the attach files in the tar ball to the views (you may create one just under the uc_affiliate2 folder or uncompress the tar ball with path) folder.
Here the code.
And I do not combo the default commission structure with this one, what I am rather to add the default commission structure and the commission structure of each role as others views filed.
Comment #3
bojanz commentedThanks wgmenq, will take a look.
Comment #4
univate commentedDid some work on getting some views integration working. I was more interested in exposing the actual commission records.
See the attached image for an example of the type of view you can create with this.
Comment #5
univate commentedHeres the image.
Comment #6
wqmeng commented@univate
nice job, I am not think about creating a report like this.
And it is +1 if we get another field to show the payment status of the commission.
like
pending means the commission not viewed by the admin
complete mean the commission has been viewed by the admin and ready to pay.
paid, the affiliate have got paid of the commission
And even more, may provide paid date, paid method(PayPal/Wire/Check ...)
It's more better now, thanks a lot.
Comment #7
univate commentedThat sounds like a separate feature, since none of that information is currently tracked.
Comment #8
univate commentedI should also mention that the above view relies on uc_views being installed and also a bug in uc_views being fixed to display the prices correctly: #704278: $0.00 shown on Order Total
Comment #9
doublejosh commentedneato. hanging on to this for use on affiliate user account pages... when I get the affiliate base features all settled.
Comment #10
bojanz commentedCommitted to 6.x-3.x
Comment #12
sammys commentedHere's an updated patch for those of you wanting views support in 6.x-2.x versions. Would be great if the maintainer committed this so we don't need to keep updating the patch. :) Setting to needs review so we can prove that it works.
Comment #13
bojanz commented@sammys
Actually, 3.x will be 2.x + views ;)
I'm finally done with exams and other obligations, so I'm working to complete this in the following week (and forward on).
Comment #14
univate commentedmoving this to 3.x
Comment #15
univate commentedsorry, realised this was about 2.x
Comment #16
ratinakage commentedHi there,
Did this ever make it into the module?
Thanks...