Each Rule has two sections: Conditions and Processing.
Conditions
Conditions section defines which orders a rule is suitable for. Order gets processed by a rule only if it matches all rule conditions at the same time.
- For example, match lightweight orders:
- Or orders going to United Kingdom:
- Match only orders with ice cream, going to United Kingdom but not to Oxford:
Processing
Once there is an order matching rule conditions it is processed by the rule. Processing section contains a list of calculations which being applied to an order produce one or more rates.