Table des matières

Setting Up a Training

Moodle Shop: Production Handlers

Function

Allows the buyer to enrol a set of people in a training. Participants can be distributed over “learner” or “teacher” functions.

Pre-payment parameters

Post-payment parameters (execution)

Back-office parameters

For example the target course whose shortname is SCI: coursename=SCI

For example, the product whose lifetime is set to 180 days for the customer: duration=180

(*) Mandatory parameters

Front-office parameters

none.

Date format for training duration control

'startdate'
'enddate'
'duration'

Notes

  1. This product can be renewed through the use of an enrolment period extension handler.
  2. This product requires the “seats” mode to be enabled.
  3. if the product is marked as renewable but the end date cannot be computed (no “endtime” or no explicit duration), then the default end date is set to the computed start date plus 365 calendar days.

Example

Renewable product with a product lifetime of 180 days in the processing handler:


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