Preference calculation
The order in which offers are triggered depends on their characteristics. First, the System processes non-cumulative offers, the rules of which the purchase corresponds to. Only one non-cumulative offer can be applied to one position of the receipt within the framework of one event (calculation of discounts, calculation of bonus points, etc.). The determination of the offer that will work for each position of the receipt takes place according to a certain algorithm. Characteristics that affect the order in which offers are triggered:
The calculation of preferences is performed for each position of the receipt
Priority determines in which order the applicability of the offer to the receipt position will be checked within a certain event. First, the offer with the highest priority is selected.
If there are several non-cumulative offers with the same priority in the System, then the offer with the highest weight is selected. Offers with actions that update the personal offer, set the minimum and initial prices have the greatest weight.
If the priority and weight of the non-cumulative offers are the same, then the most profitable one will be applied for the customer. The choice is based on the amount of preferences for the entire receipt. For example, if one offer with a priority of 58 gives the 27% discount for one receipt position, and another offer with the same priority gives the 24% discount for all receipt positions, then the offer that will give a more favorable discount for the entire receipt will be applied. That is if there is one position in the receipt, then it will apply an offer with a discount of 27%, and if more than one, then an offer with a discount of 24%, because it will give a larger amount of discount on the entire receipt.
The System processes the cumulative offers after processing the non-cumulative offers. All cumulative offers, the rules of which the purchase corresponds to, are applied to the receipt or its individual positions. The cumulative offers are applied in turn in the order of their priority.
Calculation 1. Calculation of the maximum amount of preference based on the maximum benefit for the entire receipt
Example 1.
A non-cumulative Offer 1 with filter Product: 27% discount on one product from the Tea product group, and a non-cumulative Offer 2: 24% discount on all products are configured in the System. At the same time Offer 1 and Offer 2 have the same priority 58.
The customer makes a purchase:
Product 1 — 1 unit of green leaf tea which cost €5.
Product 2 — 1 unit of Instant coffee which cost €5.
In accordance with the terms of Offer 1 for Product 1 Green leaf tea a discount of 5 * 0.27 = €1.35 will be provided and for Product 2 Instant coffee a discount of 5* 0 = €0 will be given. In total, according to this calculation the discount on the purchase will be €1.35.
In accordance with the terms of Offer 2 for Product 1 Green leaf tea discount will be 5 * 0.24= €1.2 and for Product 2 Instant coffee — also 5 * 0.24= €1.2. In total, the discount on both products will be €2.4.
Therefore, the Offer 2 is more profitable for the customer and it is exactly what will be applied in the calculation, because it gives the maximum benefit for the entire receipt.
|
|
Calculation 2. Improved method of calculating the maximum preference based on the maximum benefit for each receipt position
In MMP section Configuration a parameter has added responsible for choosing the method of calculating the maximum preference (UseCrossStringBasePriorityOffersOrder). The parameter can have one of two values:
- 1 — an improved calculation method is used (see Example 2);
- 0 — the usual calculation method is used (see Example 1).
The calculation of the preference amount for the same purchase as in Example 1 will look different (when in Configurations the UseCrossStringBasePriorityOffersOrder parameter has the value 1 ):
Example 2. Improved method of calculating the maximum amount of preference
It will be more profitable for the customer if different offers are applied to the receipt positions. Then the amount of preference will be the maximum.
The calculation will be as follows: in accordance with the terms of Offer 1 for Product 1 Green leaf tea a discount of 5* 0.27 = €1.35 will be provided, and for Product 2 Instant coffee Promotion 2 will be applied: a discount of 5 * 0.24= €1.2 will be given. In total, the discount for the entire purchase will be €2.55.
|
|