I am setting up an ubercart where the products are training manuals for nurse aides (which is either a shippable paper booklet or downloadable pdf). I got that part all figured out nicely.
A quiz goes along with each training manual. At first, my client said she was just going to include a paper quiz as part of the booklet so no worries. Now the client wants it interactive and tied to the purchase. Grrr!
Anyhoo, I have the drupal quiz module installed. Seems to work okay. I guess we'd have to set up a quiz (which is basically a node) for each product. I figured out I can set up roles, and assign a role to users after a product is purchased. But that seem so cumbersome. I will need 100 products, 100 quizzes and 100 roles and then set up each product to assign the right role after purchase.
Is there some easier way to tie access to a node to a purchase, other than with a role? Or, maybe keep the quizzes as status of unpublished (so they don't appear in any site links). Then could an action be defined to email the user a link to the right quiz (node) after purchase?
One thought I had was naming each quiz the same as the product sku. So, if a product sku was 1295, then the corresponding url for that quiz would be mydomain.com/quiz/1295/ Then, maybe do something that for each item purchased, the right url would be given to the user, either via email, or something.
Thanks if you have any insights.

