local:shop:structure:discounts:userinstitution
Table des matières
Discounts: Institution Recognition Discount
Moodle Shop
This discount is only triggered if the customer provides an institution name:
- If not logged in, in the Institution field of the customer information form
- If logged in, in the Institution field of their user profile
The recognition of the institution label is “strict” and case-sensitive.
Discount rate
Uses the main rate (static rate).
Parameters
Capability name (string)
Notes
- The reduction only applies to the current order.
Credits
- Valéry Frémaux (valery@activeprolearn.com) Design - Development
- Florence Labord (florence@activeprolearn.com) Functional review - Tests
Back to the structure - Back to the component summary Local Shop (Boutique) - Back to the catalog
local/shop/structure/discounts/userinstitution.txt · Dernière modification : de 127.0.0.1
