local:shop:setup:products
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| local:shop:setup:products [2018/02/14 19:56] – florence | local:shop:setup:products [2026/01/13 08:03] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | < | ||
| =====Back Office : Configuration and implementation of a commercial offer===== | =====Back Office : Configuration and implementation of a commercial offer===== | ||
| =====Configurer des produits simples===== | =====Configurer des produits simples===== | ||
| Ligne 108: | Ligne 109: | ||
| - | **1/Generic handler: Enrol me to a course** | + | ===Generic handler: Enrol me to a course=== |
| Settings | Settings | ||
| - | ' | + | |
| the course shortname as defined by course creator. this is supposed to be unique and always present. | the course shortname as defined by course creator. this is supposed to be unique and always present. | ||
| - | 'role=<%role shortname%>' | + | //Exemple : coursename=courseshortname& |
| - | the role that will be assigned to customer in the ocurse | ||
| - | ' | + | ' |
| + | |||
| + | the role that will be assigned to customer in the course | ||
| + | |||
| + | // | ||
| + | |||
| + | |||
| + | | ||
| the real start/end dates of the enrol will be calculated from the time the handler is run. | the real start/end dates of the enrol will be calculated from the time the handler is run. | ||
| - | **2/Generic handler: Setup a course session** | + | // |
| + | |||
| + | |||
| + | ===Generic handler: Setup a course session=== | ||
| Settings | Settings | ||
| - | ' | + | |
| the course shortname as defined by course creator. this is supposed to be unique and always present. | the course shortname as defined by course creator. this is supposed to be unique and always present. | ||
| Ligne 136: | Ligne 146: | ||
| This allows designating the exact role that will be assigned for supervisors. | This allows designating the exact role that will be assigned for supervisors. | ||
| - | ' | + | |
| the real start/end dates of the enrol will be calculated from the time the handler is run. | the real start/end dates of the enrol will be calculated from the time the handler is run. | ||
| - | **Generic handler: Course creation (Pro version)** | + | ===Generic handler: Course creation (Pro version)=== |
| Settings | Settings | ||
| - | ' | + | |
| The shortname of an existing course considered as template for course. The shortname is unique and is always present in Moodle. Check there is a prepared backup of the course in the ocurse backup area. | The shortname of an existing course considered as template for course. The shortname is unique and is always present in Moodle. Check there is a prepared backup of the course in the ocurse backup area. | ||
| - | ' | + | ' |
| This will tune where the new course will be created. Note that the product owner MUST have course creation capability in the designated category for the operation to succeed. | This will tune where the new course will be created. Note that the product owner MUST have course creation capability in the designated category for the operation to succeed. | ||
| - | ' | + | |
| Duration is calculated from the purchase date and affects the teacher account enrol and is stored in the product metadata stub to calculate product obsolescence and trigger end of life action. | Duration is calculated from the purchase date and affects the teacher account enrol and is stored in the product metadata stub to calculate product obsolescence and trigger end of life action. | ||
| - | **3/Generic handler: Course category creation (Pro version)** | + | ===Generic handler: Course category creation (Pro version)=== |
| Settings | Settings | ||
| - | ' | + | |
| The parent category to which the created category will be attached to. The product owner needs to be manager of the category or have the relevant permissions. | The parent category to which the created category will be attached to. The product owner needs to be manager of the category or have the relevant permissions. | ||
| - | **4/Generic handler: Assign a role in a context** | + | ===Generic handler: Assign a role in a context=== |
| Settings | Settings | ||
| - | ' | + | |
| The context level. | The context level. | ||
| - | ' | + | |
| The ID of the instance attached to the context. Irrelevant for system context. | The ID of the instance attached to the context. Irrelevant for system context. | ||
| - | ' | + | |
| the shortname of the role to assign. A capability check will be performed on product owner to actually execute the product handler. | the shortname of the role to assign. A capability check will be performed on product owner to actually execute the product handler. | ||
| - | |||
| - | //Exemple 1: coursename=courseshortname& | ||
| - | |||
| - | //Exemple 2 : coursename=courseshortname& | ||
| Ligne 194: | Ligne 200: | ||
| - | {{ : | + | {{ : |
| ---- | ---- | ||
local/shop/setup/products.1518638174.txt.gz · Dernière modification : (modification externe)
