{{ :blocks:logo-apl.png?nolink |}} ===== Discounts and Promotions Block - Shop discounts ===== ==== Access to discounts ==== ==== Discount settings ==== * Active: Tick/untick the box to make the discount active/inactive * Argument: the title of the block on the shop front end. Example: "Enter your promo code and press Enter". * Rate: the rate for all discounts if it is not overridden, see below for an example. * Algorithm: Type of promotion selected: * By institution * Number of purchases made * "Partner" promotional code: To grant a promotion on a code, with publication on a website of pre-filled basket links carrying the partner identification. * Multiple promotional codes: To grant a promotion on an entered code with different rates. * Scope of the discount: * Whole order: applies to all products * A selection: applies to the selected products (CTRL + Click on the items to build the selection) {{:block:shopdiscounts:remises.png?600|}} === The "partner" promotional code case: === The partner promotional code is divided into three elements: * The code that customers must enter * The discount rate to apply to the products concerned by the discount * The partner identifier (links the purchase to the partner in the billing list). This code is defined in the partner's data. ==== Example ==== COFINA|50|COF * COFINA: Promo code to be entered by customers on the shop front end * 50: a discount rate of 50% will apply in this case. * COF: The purchase will be associated with the partner identified by the code "COF" === Operators === Operators let you combine several discounts evaluated successively according to their order of appearance in the discount stack. By default the different discounts are evaluated in order and accumulate. A product can thus undergo several successive markdowns. (TODO: To be clarified whether markdowns are calculated on the base price, or on the result of the previous discount) * Operators: {{ :block:shopdiscounts:operateur.png }} The possibilities are: * Cumulative mode (default) * Stop and replace mode: The discount is applied INSTEAD OF all the other discounts calculated previously, and the evaluation process ends, even if other discount definitions remain to be evaluated. * Stop if it applies mode: The discount is calculated in cumulative mode if it applies and the evaluation stops there, even if discounts remain to be evaluated. * Stop if it does not apply mode: The opposite of the previous one. The discount is not applied and the analysis process stops. ==== Credits ==== * Design: Valéry Frémaux * Documentation: Florence Labord [[:local:shop|Index composant Boutique(Local shop)]] - [[:plugins|Back to the plugin index]] - [[:start|Back to the catalog]]