Table des matières

Discounts: Minimum Number of Partner Product Orders Discount

Moodle Shop

Presentation

Triggers a discount from a certain number of orders of a specific product recorded in a partner's name. The counting source can be chosen by the EIA model (below). Likewise, the application target can also be filtered by the EIA model.

In other words, it is possible to apply a discount on a particular source of invoices, based on the computation of the criterion on another source.

Business example of use of this flexibility:

“Apply a 10% discount to a partner's internal purchases, if the latter brought N third-party purchases to the shop”

In this example case, the source will be of type E, and the application target will be of type I.

The filtering of the source and the target can be done:

Purchase orders/invoices must be fulfilled to be taken into account (SOLDOUT or COMPLETE).

Purchase orders/invoices must include a product line for the product

Technical note on the source check implementation

Discount rate

Uses the specific rate of the applicable partner line of the discount (dynamic rate).

Parameters

Clef partenaire (string)|Nombre commandes (int)|mode [E,I,A,EAI(default)]

Example:

PARTNER1|100|E=>E

Grants the discount on the purchases of the partner's customers when the number of purchases brought through a cart pre-fill exceeds 100 (External order)

PARTNER1|100|I=>I

Grants the discount to partner 1 for all its orders/invoices on its own customer account (Internal order) when the number of its internal orders exceeds 100 invoices.

PARTNER1|50|EAI=>A

Grants the discount to partner 1 for all its orders/invoices on its own customer account resulting from an automatic generation linked to a partner action (e.g. product activation).

PARTNER1|50

Grants the discount to partner 1 for all its orders, external or internal or automatic, when the total number of orders made in all these modes reaches 50 units, all sources combined.

Notes

Credits


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