local:shop:structure:discounts:usercapability

Discounts: Capability Presentation Discount

Moodle Shop

This discount is only triggered if the customer, logged in on their Moodle account, presents a particular capability in the system context.

Discount rate

Uses the main rate (static rate).

Parameters

Capability name (string)

Notes

  • The reduction only applies to the current order.
  • As standard, the shop offers 3 capabilities usable for tagging user accounts:
    • local/shop:discountagreed
    • local/shop:seconddiscountagreed
    • local/shop:thirddiscountagreed

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/usercapability.txt · Dernière modification : de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki