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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

djdevin’s picture

Quiz 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

panditvarun20’s picture

@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.

djdevin’s picture

Version: 7.x-4.x-dev » 7.x-5.x-dev
Component: User interface » Code - Quiz core
Category: Task » Feature request

Sorry 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 ?

Neograph734’s picture

I'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?