{{ :blocks:logo-apl.png?nolink |}} ===== Discounts: Partner Identity Discount ===== ===== Moodle Shop ===== Triggers a discount on recognition of a partner's identity when the order/invoice comes from a certain source. This recognition can be done for the following sources: * E (external): for purchase orders "brought" by a partner through cart pre-filling * I (internal): for purchase orders created under the partner customer account (own explicit orders) * A (automatic): for purchase orders auto-generated for the partner (product activation) * EIA: for all these methods at once (default if the mode is not mentioned) [[:local:shop:discounts:technotes:partnersourcecheck|Technical note on the source check implementation]] ==== Discount rate ==== Uses the main rate of the discount definition (static rate). ==== Parameters ==== Clef partenaire (string)|mode [E,I,A,EAI(default)] Example: PARTNER1|E Grants the discount to partner 1 for all its customers brought through a cart pre-fill (External order) PARTNER1|I Grants the discount to partner 1 for all its orders invoiced on its customer account through a partner action (Internal order) PARTNER1|EI Grants the discount to partner 1 for all its internal or external orders PARTNER1 Grants the discount to partner 1 for all the partner's orders, whatever the mode ==== 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]] --------------