Choose which orders a rule applies to
Conditions narrow a rule to certain routes, merchants or box types. A rule without conditions applies to every order of its client type.
- Your role has the Manage package rules permission.
Add a condition
The Conditions card is the third part of the editor.
Conditions
- No conditions. A rule with no conditions applies to every order of its client type, on its services.
- Add condition opens a menu of the condition types you have not used yet. Each type can be used once.
- The condition types: Customer (merchants), From city, From zone, To city, To zone, To (Same city or Other city) and Box type, which is for Box rules only. Weight is not a condition, because the price already handles weight.
Choose what to match
Each row says what to match, how, and with which values.
Conditions
- Condition. What to match, for example From city.
- equals / not equals. Equals means any one of the values. Not equals means none of them.
- Values. Pick from the right list: cities, zones grouped by city, merchants, Same city or Other city, or box types. Several values in one row mean any of them.
Decide how the conditions combine
With two or more conditions you choose whether all of them or any of them must match.
Conditions
- Join with. Appears once there are two or more conditions. Match all (AND), the default: every condition must match. Match any (OR): one match is enough. OR widens the rule: “From Riyadh OR Customer Al Noor” prices every Al Noor order anywhere. It is one setting for the whole rule.
- Reads as. The conditions in one sentence. Read it to check it says what you mean.
Pick merchants that fit the client type
Use Customer to price specific merchants.
Conditions
- Client type decides which merchants a rule can price. Merchants: those who can use credit (Credit and Both). Cash: Cash-terms merchants only, and merchants on Both do not fit Cash rules.
- Greyed merchants. A merchant that does not fit the client type is greyed out with the reason, for example “Cash merchant — this rule is for credit merchants”.
Avoid duplicates
Two active rules cannot do the same job.
Conditions
- Duplicate rule. Fleetics blocks a rule that matches another active rule on shipment type, services, client type and conditions. The message appears as you edit. Edit the other rule, or make this one Inactive.
Screens are simplified drawings with sample data. Your portal may look a little different, but the names and steps are the same.
Common questions
Can I mix AND and OR in one rule?
No. The join applies to the whole rule, so a rule is never ambiguous. For a mix, make two rules.
“Pick at least one value” appears.
A condition row has no value. Pick a value, or remove the row.
Can a rule apply only above a certain weight?
No. Weight is not a condition. Use Fixed bands or a Flexible price for that.
“Box type applies to Box rules only.”
The Box type condition exists only for Box rules.
A merchant is greyed out in Customer.
Its payment terms do not fit the rule’s client type. Change the client type, or pick another merchant.