Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I want to integrate to the commerce and quiz module. So that when a video product would be purchase, we can give test for particular videos and get certificate in PDF format for users that are assigned for that.
Steps that I want:
A video product with commerce module
Purchase this product to unlock (view) after payment
Add a quiz to each videos (product)
After successful completion of the quiz a certificate will be given.
Comment | File | Size | Author |
---|---|---|---|
#2 | Screenshot from 2015-01-16 10:51:24.png | 212.14 KB | panditvarun20 |
Comments
Comment #1
djdevinQuiz doesn't support this but you could use https://www.drupal.org/project/course and package up the Quiz in a purchasable Course.
Commerce isn't fully supported right now (Ubercart is) however there's some work at #2328089: Purchase Course via Commerce and Rules
Comment #2
panditvarun20 CreditAttribution: panditvarun20 commented@djdevin
Thanks for your quick reply but Its a client requirement that I have to use commerce module I am sending the snapshot of the requirements hope you will provide more efficient solution to me.
Actually I want this.
Comment #3
djdevinSorry there is just no easy way of doing this right now. You could do it with custom code, by creating a new Quiz attempt for the user, but there isn't a way to do it in the UI yet.
Maybe you could try https://commerceguys.com/blog/selling-node-access-drupal-commerce ?
Comment #4
Neograph734I've been using this sandbox module for some time now, and it seems to pretty stable: https://www.drupal.org/sandbox/digitalfrontiersmedia/2450665
Perhaps others could have a look at it too?