local:shop:structure:discounts:multipleoffercode

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

Back to the structure - Back to the component summary Local Shop (Boutique) - Back to the catalog


local/shop/structure/discounts/multipleoffercode.txt · Dernière modification : de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki