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 21:05] – florence | local:shop:setup:products [2026/11/13 21:59] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | =====Back Office : Configuration | + | < |
| - | =====Configurer des produits simples===== | + | ===== Back Office: |
| + | ===== Creating Simple Products | ||
| + | ==== Introduction ==== | ||
| - | ====Introduction==== | + | |
| - | On entend par produit simple, un produit qui n'est ni un lot, ni le fruit d'un assemblage. La création de produits s' | + | ==== Access ==== |
| - | ====Access==== | + | Go to your shop while logged in, follow the "Go to backoffice" |
| - | Allez sur votre boutique en mode connecté, suivez le lien " | + | :!: Tip: To save time, once you have created a first product, you can duplicate it and modify only the settings needed |
| + | {{ : | ||
| - | {{ : | ||
| - | Follow the link "New product" | ||
| - | :!: Astuce : Pour gagner du temps, quand vous aurez créé un premier produit, | + | **After following the "New product" |
| - | {{ : | + | ==== General ==== |
| - | ----- | + | {{: |
| - | **Après avoir suivi le lien “New product” fill in the form: ** | + | |
| - | ====General==== | + | * **Product code:** Must be unique |
| + | * **Product name:** Free text | ||
| + | * **Description: | ||
| + | * **Product status:** Choose the state of the created product: planned, available, available (internal), suspended, restocking, sold out. | ||
| - | * **Code :** Product code . Must be unique | ||
| - | * **Name :** Name of your product | ||
| - | * **Description :** Free text for product description, | ||
| - | * **Status :** Choose product state : preview, available, avail.(internal), | ||
| - | {{ : | + | ==== Behaviour ==== |
| - | ---- | + | {{: |
| - | ====Financial aspects==== | + | |
| - | * **Unit price : ** Prix hors taxe du produit. Il est possible de saisir jusqu' | ||
| - | Le premier est celui sans remise, les suivants sont ceux par tranches de quantités d' | + | * **Stock:** If you manage stock, enter the quantity in stock at the time the product is created in the catalogue. |
| + | * **Sales:** If you sell physical products, the quantity sold is incremented and the quantity in stock is decremented. Can serve as an indicator for forecasting or sales objectives. | ||
| + | * **Max quantities per transaction: | ||
| + | * **Only for users:** This is the choice of visibility and access condition for the product. Products visible on the shop when logged in, indifferent (both possible), or not logged in to Moodle. Choosing the product only for " | ||
| - | | + | //**Example: |
| - | | + | I buy a product connected to Moodle, which is reserved for " |
| - | * Une tranche terminant par 0 vaut pour "toute quantité au dessus du min". | + | |
| - | L' | ||
| - | * **Tax code :** Taxe appliquée sur le produit. Si les taxes ont été crées en amont via le menu "gérer les taxes" | + | * **Password:** Optional password for accessing the product. |
| + | * **Category: | ||
| + | * **Assembly: | ||
| + | |||
| - | {{ : | + | ---- |
| + | ==== Financial settings ==== | ||
| - | ---- | + | * **Unit price excl. tax:** Price of the product excluding tax. Up to 5 prices excl. tax can be entered in total. |
| - | ====Behaviour==== | + | |
| - | * **Stock :** Si vous assurez une gestion des stocks, indiquez la quantité en stock au moment de la création du produit au catalogue. | + | The first is the one without discount, the following ones are by purchase |
| - | * **Sold:** Si vous vendez des produits physiques, la quantité vendue s' | + | |
| - | * **Max quantity | + | |
| - | * **Only for users :** Il s'agit du choix de visibilité et de condition d' | + | |
| - | //**Exemple :**// J'ai un compte client renseigné dans le backoffice boutique, et j'ai le rôle client sur l' | + | * A range at 0 euros is ignored. |
| - | J' | + | * A range starting with 0 or empty is ignored. |
| + | * A range ending with 0 means "any quantity above the min". | ||
| + | The tax-inclusive display is computed for information. | ||
| - | * **Product password | + | * **Tax code:** Tax applied on the product. If the taxes have been created beforehand via the plugin |
| - | * **Category: | + | |
| - | * **Set:** On regarde ici si le produit appartient à un groupe possible. Si le produit n' | + | |
| - | + | ||
| - | {{ : | + | |
| - | ---- | ||
| + | {{: | ||
| + | ----- | ||
| + | ==== Associated resources ==== | ||
| - | ====Product assets==== | + | The product category is created beforehand via the local plugin " |
| - | La catégorie des produits se crée en amont via le menu "gérer les taxes" | + | * **Brochure: |
| + | * **Image:** Product image. GIF, JPG or PNG format. It appears in a lightbox on the shop front when clicking on it. | ||
| + | * **Thumbnail: | ||
| - | * **Leaflet:** Apparait en frontal de boutique sur lien " | + | Example of thumbnail:{{:local:shop:setup: |
| - | * **Image | + | |
| - | * **Thumbnail:** La vignette est illustrative du produit.Elle doit être de 150X150 pixels avec fond transparent. | + | |
| - | Thumbnail exemple | + | * **Sales unit icon:** The icon chosen to display the quantity on the shop front each time an item of the product |
| - | * **Sale | + | Example of sales unit icon: |
| - | * **Sale pix form ten units pack :** L’icône choisie pour faire afficher la quantité en frontal de boutique à chaque ajout de 10 items du produit dans le panier. | + | |
| + | {{: | ||
| - | Sale unit pix Exemple | ||
| - | | + | |
| + | {{ : | ||
| + | ----- | ||
| + | ==== Automation ==== | ||
| - | {{ : | ||
| - | ---- | ||
| - | ====Automation==== | ||
| - | * **Specific data to pull from customer :** some hanlders need some data to be requested | + | * **Data to be provided by the customer: |
| + | Example: Product renewal: name of the product to renew: Extend the enrolment duration of a training. | ||
| - | //Exemple : Renouvellement de produit : nom du produit à renouveler : Augmenter la durée d’inscription à une formation.// | ||
| + | * **Enable purchase processing: | ||
| + | |||
| + | If the product is made of several different products at the same unit price: Adding unassigned seats. | ||
| - | | + | * **Handler parameters:** Here we link the product to the relevant Moodle course(s), specifying where applicable additional parameters such as duration, group. |
| - | | + | Some generic action handlers take parameters. This field makes it possible to pass specific values depending |
| + | The general form of the parameters is a list of named parameters " | ||
| - | ===Generic handler: Enrol me to a course=== | + | Some parameters are common |
| - | Settings | + | ' |
| - | ' | + | Determines the course |
| - | the course | + | === Generic handler: Enrolment in a course |
| - | //Exemple : coursename=courseshortname& | + | Handler parameters |
| + | ' | ||
| - | ' | + | As the course short name is unique in Moodle, there can be no ambiguity. |
| - | the role that will be assigned to customer in the course | + | 'role=<%role short name (e.g. student)%>' |
| - | // | + | The short name of the role to assign |
| + | ' | ||
| - | 'duration=<%enrol duration in days%>' | + | The duration |
| - | the real start/end dates of the enrol will be calculated from the time the handler | + | === Generic |
| - | // | + | Handler parameters |
| + | ' | ||
| - | ===Generic handler: Setup a course | + | As the course |
| - | Settings | + | ' |
| - | ' | + | The numeric ID of the category in which the course |
| - | the course shortname as defined by course creator. this is supposed to be unique and always present. | + | ' |
| - | ' | + | The duration is effective from the handler execution. |
| - | This allows designating the exact role that will be assigned for supervisors. | + | ' |
| - | ' | + | The group is created from the handler execution. |
| - | the real start/end dates of the enrol will be calculated from the time the handler | + | === Generic |
| - | ===Generic handler: Course creation (Pro version)=== | + | Handler parameters |
| - | Settings | + | ' |
| - | ' | + | The parent category where the subcategory in the customer's name will be created. The product owner must have a Manager role or the appropriate capabilities to allow the product to be fulfilled. |
| - | 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. | + | === Generic handler: Role assignment on a context === |
| - | ' | + | Handler parameters |
| - | This will tune where the new course | + | ' |
| - | ' | + | The context level |
| - | 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 | + | The instance ID of the object according to the context level (for example the course id for level 50). The product owner must have appropriate capabilities on the designated context. |
| - | Settings | + | ' |
| - | ' | + | The short name of the role to assign. |
| - | 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 | ||
| - | ' | + | //**Example of assigning a role that is not the default one in the course |
| + | & | ||
| - | The context level. | + | //**Example for a product sold by 100 whose seats are assigned to learners after the sale of the training product:** packsize=100& |
| - | ' | ||
| - | The ID of the instance attached to the context. Irrelevant for system context. | + | //**Example for a product made of several different products (always at the same unit price each), |
| - | ' | + | Note: courselist (list of possible items) can be replaced by a MySQL pattern |
| + | select a% all products that start with a | ||
| + | Example: courselist=a% | ||
| - | the shortname of the role to assign. A capability check will be performed on product owner to actually execute the product handler. | + | //**Example for a single product and access to the support course:** Short name of the course concerned (shortname), and short name of the customer support course concerned (shortname): |
| + | | ||
| - | | + | No: For a single product - Yes: For several products |
| + | No: for a bundle because seats are assigned later | ||
| - | | + | One seat per purchase order: in case of sale by duration of a product |
| - | //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, | + | |
| + | When a product is marked as renewable, it assumes that a product lifetime could be defined, counted from the purchase date (in general). | ||
| - | {{ : | + | This must be handled by the purchase handler linked to the product, and configured internally through handler parameters. |
| + | Not all standard handlers necessarily support the notion of duration. When this option is used, the client interfaces will enable product lifecycle notifications, | ||
| + | |||
| + | | ||
| + | |||
| + | {{ : | ||
| ---- | ---- | ||
| < | < | ||
| - | [[local: | + | [[:local: |
| < | < | ||
| + | |||
| + | |||
local/shop/setup/products.1518638706.txt.gz · Dernière modification : (modification externe)
