Method of calculation
INFO: A matching rule is a rule where all the Conditions are true .
a. The first rule that matches works best with Fixed price.
Because you can have multiple Rules under one Pricing, the first rule that matches means that, beginning from top to bottom, the first Rule that complies with all the Conditions will be the only one which will display the price to the customer and the remaining rules, if any, will be skipped. Example:
- In the image below there are three (3) Rules, each in a coloured box and each with the same type of condition (Weight (kg)) but different variables.
- If a customer places an order where the parcel weighs
2 kg
the cost of that order will be3
(the curreny is set depending on the country you’re in). - If a customer places an order where the parcel weighs
5.5 kg
the cost of that order will be5
. -
If a customer places an order where the parcel weighs
10 kg
the cost of that order will be7
.
b. All the matching rules works best with Price by range
In any given number of rules if ALL the conditions are true, the price of ALL those rules will be added together. If there is one or more rule where one or more conditions are not true, those rules are excluded and get skipped.
In the example below, all the conditions in Rule 1, 2 and 4 are true, meaning the total price the customer pays is 12.
Rule 1 ✔️ | Rule 2 ✔️ | Rule 3 ❌ | Rule 4 ✔️ | TOTAL | |
---|---|---|---|---|---|
Price | 4 | 3 | 7 | 5 | 12 |
An usual use case for this custom pricing is the following:
Rule 1 ✔️ | Rule 2 ✔️ | |
---|---|---|
Fixed price | 4 | - |
Price by range | - | 1 🔄 |
Distance (km) | > 0km | between 3.1 and 3.9km |
TOTAL AMOUNT | 4 | 5 |
Rule 1 is usally set with a Fixed price and Rule 2 is set with Price by range where the set amount gets added over and over again 🔄 as many times as the formula indicates.
IMPORTANT: Make sure the condition(s) in Rule 1 are always true. E.g.: Distance (km) > 0
- if the customer lives less then or up to 3km away from the collection address, they will pay
4
, becauseDistance (km)
is more>
than0
and more>
than3
in Rule 2. - if the customer lives between 3.1 and 3.9 km from the collection address, they will pay
5
and if they live between 4 km and 4.1 km from the collection address they will pay6
and so on, becauseDistance (km)
is more>
than3
and they pay extra1
for each1 km
above3 km