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:34] – 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 100: | Ligne 101: | ||
| - | Exemple : Renouvellement de produit : nom du produit à renouveler : Augmenter la durée d’inscription à une formation. | + | //Exemple : Renouvellement de produit : nom du produit à renouveler : Augmenter la durée d’inscription à une formation.// |
| - | * **Activer le traitement d' achat :** Si un seul produit simple : Mise en place d’une session de formation. | + | * **Enable product handler |
| - | + | ||
| - | Si le produit est constitué de plusieurs produits différents au même prix unitaire : Ajout de sièges non affectés. | + | |
| + | |||
| + | |||
| + | ===Generic handler: Enrol me to a course=== | ||
| + | |||
| + | Settings | ||
| + | |||
| + | ' | ||
| + | |||
| + | the course shortname as defined by course creator. this is supposed to be unique and always present. | ||
| + | |||
| + | //Exemple : coursename=courseshortname& | ||
| + | |||
| + | |||
| + | ' | ||
| + | |||
| + | 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. | ||
| + | |||
| + | // | ||
| + | |||
| + | |||
| + | ===Generic handler: Setup a course session=== | ||
| + | |||
| + | Settings | ||
| + | |||
| + | ' | ||
| + | |||
| + | the course shortname as defined by course creator. this is supposed to be unique and always present. | ||
| + | |||
| + | ' | ||
| + | |||
| + | 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. | ||
| - | | + | ' |
| - | Exemple pour un seul produit : Nom abrégé du parcours concerné (shortname), | + | 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. |
| - | coursename=nom-abrégé-du-cours& | + | |
| - | 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: Course category creation (Pro version)=== |
| - | packsize=100& | + | Settings |
| - | courselist : nom abrégé du cours, si plusieurs les séparer par des virgules | + | ' |
| - | //**Exemple :**// Pour un produit constitué de plusieurs produits différents (tjrs au même prix unitaire chaque), on sépare dans courselist les produits accessibles par des virgules : | + | 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. |
| - | packsize=10& | + | ===Generic handler: Assign a role in a context=== |
| - | //**Nota :**// remplacer courselist liste des items : possible par un pattern MySQL | + | Settings |
| - | select a% tous les produits qui commence par a | + | |
| - | Exemple | + | |
| - | | + | ' |
| + | The context level. | ||
| - | //**Exemple :**// & | + | ' |
| + | The ID of the instance attached to the context. Irrelevant for system context. | ||
| - | | + | ' |
| - | Non : Pour un seul produit - Oui : Pour plusieurs produits | + | the shortname of the role to assign. A capability check will be performed on product owner to actually execute the product handler. |
| - | Non : pour un lot car les sièges sont affectés plus tard | ||
| - | Un siège par ordre d’achat : en cas de vente à la durée d’un produit par exemple. | ||
| - | | + | |
| - | Lorsqu' | ||
| - | Ceci doit être géré par le gestionnaire d' | + | |
| - | Tous les gestionnaires standard ne supportent pas nécessairement la notion de durée. Lorsque cette option est utilisée, les interfaces | + | //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 |
| - | | ||
| - | {{ : | + | {{ : |
| ---- | ---- | ||
| < | < | ||
| - | [[local: | + | [[local: |
| < | < | ||
local/shop/setup/products.1518636897.txt.gz · Dernière modification : (modification externe)
