Online shop for Drupal ebook, with affiliate program
What is it?
book.drupalfun.com is a Drupal site where the Ultimate Community Site Guide by Dorien Herremans ebook is sold. The online store sells the pdf ebook, with Paypal and creditcard checkout options. There is also an affiliate program available, which offers users a commission on the sales he or she refers.
Version and online shop
The site was built with Drupal 5, mainly because of the current development state of the Uebercart module. The ecommerce section was realised with Uebercart, and I must admit that it went very smoothly and the support was great.
Affiliate program
Setting up the affiliate program was a little less documented, and required some creative thinking. My starting base was the uc_affiliate2 module, which offers the basic affiliate functionality. Uc_affiliate2 offers users of a certain role the possibility to receive a commission for each sale they refer. In order to allow users to apply for the affiliate "role", I used the module "Apply for Role". I also wanted the system to notify me (by email) and the users (on screen) of an application, so I used the Actions module, which integrated nicely with Apply for Role. I needed a fourth module (Role Change Notify) to be able to notify the newly accepted affiliate (where he can find his links, some explanation, etc).
After some puzzeling, I think it works pretty well. You can try it out at http://book.drupalfun.com/affiliate. The program is open to all.

Bad URL?
Hey, Dorien! I get a "white screen of death" when I try to go to http://book.drupalfun.com/affiliate. Maybe you need to up your memory setting in php.ini? That's a common cause of that problem. Cheers,
---
Tom Geller * Oberlin, Ohio * Author
* Two Drupal video series at Lynda.com
* "Drupal 7: Visual QuickStart Guide" book (out in 2010)
* White papers for TopNotchThemes and Mediacurrent
Sites: TomGeller.com * GellerGuides.com * InOberlin.com
Hi thanks, I fixed the url
Hi thanks,
I fixed the url redirection, it works now.
----------------
Drupal 6 - Ultimate Community Site
drupalfun.com
I have written a full
I have written a full tutorial on how I have set up the affiliate program in the manual:
http://drupal.org/node/426690
----------------
Drupal 6 - Ultimate Community Site
drupalfun.com
i just bought your book and
i just bought your book and printed it out! i will be reading it tomorrow. thanks for the affiliate tutorial.