Outils pour utilisateurs

Outils du site


local:shop:setup:std_addquizattempts

Purchase of Quiz Attempts - Implementation

Product Automation Handler

Description

The main scenario of this handler, on purchase validation in the shop, is to buy additional attempts on a quiz (target test) whose attempts are limited per user.

Prerequisites

Have a marketed course with a quiz set up and the usernumattempts feature in place (Attempt limits per user).

:TODO: Note flo: add screenshot from here: https://sumatra36-qualif.activeprolearn.com/course/view.php?id=196&page=8

the quizzes must be located in the same course as the marketed course

Then an associated shop product must be set up.

:TODO: Note flo: add screenshot from here https://sumatra36-qualif.activeprolearn.com/local/shop/products/edit_product.php?itemid=193

The product is “purchasable” under the conditions:

  • of being logged in
  • of being enrolled in the course (checked on the first id of the list)

:TODO: Note flo: add screenshot from here: https://sumatra36-qualif.activeprolearn.com/local/shop/front/view.php?view=shop&category=6&shopid=1&blockid=1357

Use case

In practice this allows, for example, a user to buy more attempts than those defined to take a test that would be, for example, a final validation test of learning outcomes, with a view to certification.

See the structure handler


Back to setting up and running a commercial offer -Back to the Local Shop component summary - Back to the catalogue

local/shop/setup/std_addquizattempts.txt · Dernière modification : de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki