{{ :blocks:logo-apl.png?nolink |}} ===== Discounts: Multiple Promo Code Discount ===== ===== Moodle Shop ===== This is an extension of the simple promo code discount, for when you want to offer several discount rates linked to different codes. **Scenario:** A series of distinct codes are distributed by contact to different populations so that they benefit from discounts at different rates. ==== Discount rate ==== Uses the rate associated with the code provided by the customer (dynamic rate). ==== Parameters ==== Promo code (simple string)|Rate (int in %) ==== Notes ==== Recommendation on promo codes: * prefer codes of at least 5 or 6 characters * prefer sequences of letters of the same case and the same nature (digits, or letters) * do not semantically link the codes to the discount granted, or allow customers to extrapolate in order to obtain a more favourable condition than the one offered to them. (Avoid for example a code DISCOUNT10 which may suggest that DISCOUNT20 could exist). ==== Credits ==== * Valéry Frémaux (valery@activeprolearn.com) Design - Development * Florence Labord (florence@activeprolearn.com) Functional review - Tests [[:local:shop:structure#sous_plugins|Back to the structure]] - [[:local:shop|Back to the component summary Local Shop (Boutique)]] - [[:start|Back to the catalog]] --------------