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 20:56] – 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 ==== |
| + | |||
| + | {{: | ||
| + | |||
| + | |||
| + | * **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 " | ||
| + | |||
| + | // | ||
| + | I buy a product connected to Moodle, which is reserved for " | ||
| + | |||
| + | |||
| + | * **Password: | ||
| + | * **Category: | ||
| + | * **Assembly: | ||
| + | |||
| ---- | ---- | ||
| - | ====Financial aspects==== | ||
| - | * **Unit price : ** Prix hors taxe du produit. Il est possible de saisir jusqu' | + | ==== Financial settings ==== |
| - | Le premier est celui sans remise, les suivants sont ceux par tranches de quantités d' | + | * **Unit price excl. tax:** Price of the product excluding tax. Up to 5 prices excl. tax can be entered in total. |
| - | * Une tranche à 0 euros est ignorée. | ||
| - | * Une tranche commençant par 0 ou vide est ignorée. | ||
| - | * Une tranche terminant par 0 vaut pour "toute quantité au dessus du min". | ||
| - | L' | + | The first is the one without discount, the following ones are by purchase quantity ranges with an associated price. In all cases you can only enter the price associated with the range (left column) and the end of the range (right column - the start of the range is always either 0, or the end of the previous range + 1) |
| - | * **Tax code :** Taxe appliquée sur le produit. Si les taxes ont été crées en amont via le menu "gérer les taxes" | + | * A range at 0 euros is ignored. |
| + | * 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. |
| + | * **Tax code:** Tax applied on the product. If the taxes have been created beforehand via the plugin " | ||
| - | ---- | ||
| - | ====Behaviour==== | ||
| + | {{: | ||
| + | ----- | ||
| - | * **Stock :** Si vous assurez une gestion des stocks, indiquez la quantité en stock au moment de la création du produit au catalogue. | + | ==== Associated resources ==== |
| - | * **Sold:** Si vous vendez des produits physiques, la quantité vendue s' | + | |
| - | * **Max quantity per transaction: | + | |
| - | * **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' | + | The product category is created beforehand via the local plugin |
| - | J' | + | |
| + | * **Brochure: | ||
| + | * **Image:** Product image. GIF, JPG or PNG format. It appears in a lightbox on the shop front when clicking on it. | ||
| + | * **Thumbnail: | ||
| - | * **Product password | + | Example of thumbnail: |
| - | * **Category: | + | |
| - | * **Set:** On regarde ici si le produit appartient à un groupe possible. Si le produit n' | + | |
| - | + | ||
| - | {{ : | + | |
| - | ---- | + | * **Sales unit icon:** The icon chosen to display the quantity on the shop front each time an item of the product is added to the cart. |
| + | Example of sales unit icon: | ||
| + | {{: | ||
| - | ====Product assets==== | ||
| - | La catégorie des produits se crée en amont via le menu " | + | |
| - | * **Leaflet:** Apparait en frontal de boutique sur lien " | + | {{ :local:shop:setup:4-product-assets-fr.png? |
| - | * **Image | + | ----- |
| - | * **Thumbnail:** La vignette est illustrative du produit.Elle doit être de 150X150 pixels avec fond transparent. | + | ==== Automation ==== |
| - | Thumbnail exemple | ||
| - | * **Sale unit pix :** L’icône choisie pour faire afficher la quantité en frontal de boutique à chaque ajout d’un item du produit dans le panier. | ||
| - | * **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. | ||
| + | * **Data to be provided by the customer:** Product that requires information from the customer to be fulfilled. | ||
| - | Sale unit pix Exemple | + | Example: Product renewal: name of the product to renew: Extend the enrolment duration of a training. |
| - | | ||
| + | * **Enable purchase processing: | ||
| + | |||
| + | If the product is made of several different products at the same unit price: Adding unassigned seats. | ||
| - | {{ :local: | + | |
| - | ---- | + | Some generic action handlers take parameters. This field makes it possible to pass specific values depending on the product instance. For example, a generic action handler that gives student access to a course needs to know the id or name of the course concerned. This field makes it possible to specify it product by product. |
| - | ====Automation==== | + | |
| - | * **Specific data to pull from customer :** some hanlders need some data to be requested from the customer for each instance. | + | The general form of the parameters is a list of named parameters " |
| + | Some parameters are common to all standard handlers: | ||
| - | //Exemple : Renouvellement de produit : nom du produit à renouveler : Augmenter la durée d’inscription à une formation.// | + | ' |
| + | Determines the course that will be used to welcome the customer into a support space. If it is not defined, no support space will be set up. | ||
| - | * **Enable product | + | === Generic |
| - | | + | Handler parameters |
| + | ' | ||
| - | **1/Generic handler: Enrol me to a course** | + | As the course |
| - | Settings | + | ' |
| - | ' | + | The short name of the role to assign |
| - | 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 date. |
| - | the role that will be assigned to customer in the ocurse | + | === Generic handler: Course creation (pro version) === |
| - | ' | + | Handler parameters |
| - | the real start/end dates of the enrol will be calculated from the time the handler is run. | + | ' |
| - | **2/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 | + | ' |
| - | 'template=< | + | 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. | + | ' |
| - | **3/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. | ||
| - | **4/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): |
| - | //Exemple 1: coursename=courseshortname& | + | |
| - | //Exemple 2 : coursename=courseshortname& | + | No: For a single product - Yes: For several products |
| + | No: for a bundle because seats are assigned later | ||
| - | | + | One seat per purchase |
| + | | ||
| - | | + | When a product is marked as renewable, it assumes that a product lifetime could be defined, counted from the purchase date (in general). |
| - | //When a product is set as renewable, it may be defined with a product duration from the purchase date. This should | + | This must be handled by the purchase handler |
| + | 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: |
| < | < | ||
| + | |||
| + | |||
local/shop/setup/products.1518638174.txt.gz · Dernière modification : (modification externe)
