local:shop:structure:discounts:partnermultipleoffercode

Discounts: "Partner" Multiple Promo Code Discount

Moodle Shop

This is an extension of the multiple promo code discount, offering several discount rates linked to different codes. The difference of this discount is that it allows “routing” the promo code identification to a partner referenced in the shop. The resulting purchase order will be tagged on the partner if the code is recognised.

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

Code promo (string)|Tx (int)|Clef partenaire (string)

Example:

XDFRT|0|PARTNER1
TY7UI|10|PARTNER1
45FTG|10|PARTNER2

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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki