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:43] – florence | local:shop:setup:products [2026/01/13 07:58] (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 105: | Ligne 106: | ||
| * **Enable product handler :** Si un seul produit simple : Mise en place d’une session de formation. Si le produit est constitué de plusieurs produits différents au même prix unitaire : Ajout de sièges non affectés. | * **Enable product handler :** Si un seul produit simple : Mise en place d’une session de formation. Si le produit est constitué de plusieurs produits différents au même prix unitaire : Ajout de sièges non affectés. | ||
| - | | + | |
| - | //Exemple pour un seul produit : Nom abrégé du parcours concerné (shortname), | ||
| - | //Exemple pour un produit vendu par 10 dont les sièges sont assignés aux apprenants après la vente du produit de formation | + | ===Generic handler: Enrol me to a course=== |
| - | * **courselist :** Nom abrégé du cours, si plusieurs les séparer par des virgules. | + | Settings |
| - | // | + | ' |
| - | //Nota :// remplacer courselist liste des items : possible par un pattern MySQL | + | the course shortname as defined by course creator. this is supposed to be unique and always present. |
| - | //select a% tous les produits qui commence par a | + | |
| - | Exemple | + | |
| - | | + | // |
| - | //Exemple : & | + | 'role=<%role shortname%>' |
| + | the role that will be assigned to customer in the course | ||
| - | | + | // |
| - | Non : Pour un seul produit | ||
| - | Oui : Pour plusieurs produits | + | ' |
| - | Non : pour un lot car les sièges sont affectés plus tard | + | the real start/end dates of the enrol will be calculated from the time the handler is run. |
| - | Un siège par ordre d’achat | + | // |
| - | | + | ===Generic handler: Setup a course session=== |
| - | // | + | Settings |
| - | Ceci doit être géré par le gestionnaire d'achat lié au produit, et paramétré en interne par des paramètres du gestionnaire. | + | ' |
| - | Tous les gestionnaires standard ne supportent pas nécessairement la notion de durée. Lorsque cette option est utilisée, les interfaces clientes activeront les notifications du cycle de vie du produit, et permettront de renouveler l' | + | the course shortname as defined by course creator. this is supposed to be unique and always present. |
| - | | + | 'supervisor=< |
| - | {{ : | + | 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. | ||
| + | |||
| + | ===Generic handler: Course creation (Pro version)=== | ||
| + | |||
| + | 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. | ||
| + | |||
| + | ' | ||
| + | |||
| + | 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. | ||
| + | |||
| + | ===Generic handler: Course category creation (Pro version)=== | ||
| + | |||
| + | 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. | ||
| + | |||
| + | ===Generic handler: Assign a role in a context=== | ||
| + | |||
| + | Settings | ||
| + | |||
| + | ' | ||
| + | |||
| + | The context level. | ||
| + | |||
| + | ' | ||
| + | |||
| + | 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. | ||
| + | |||
| + | |||
| + | |||
| + | | ||
| + | |||
| + | |||
| + | | ||
| + | |||
| + | //When a product is set as renewable, it may be defined with a product duration from the purchase date. This should be handled by the product purchase handler and setup through an internal handler parameter. All handlers do not support duration. When enabled, the customer account interfaces will support product end of period notification, | ||
| + | |||
| + | |||
| + | {{ : | ||
| ---- | ---- | ||
local/shop/setup/products.1518637436.txt.gz · Dernière modification : (modification externe)
