Conditions are used to determine what should be shown in your Delivery Checkout.
- Conditions can be used in condition fields when adding or editing, for example:
- Delivery options
- Services
- Addons
- Price
- Conditions can include parameters.
- Conditions are written using operators.
Examples of conditions
Example: Price
If the cart contains items for €50 or more the delivery is free of charge.
cartprice >= 50.0
cartprice < 50.0
Example: Weight
This delivery option should only be shown if the weight of the parcel is less than 20 kg.
weight < 20.0
weight >= 20.0
Example: Date range
Delivery is free from Christmas Eve to December 27th.
(date >= "2020-12-24" & date <="2020-12-27")
Example: Custom parameters
This delivery is bulky goods sent to a business customer that is not in the partner program.
bulky = true
b2b = true
VIP = false
Example: Titles/headings
Orders made before 1 p.m. are delivered within the day.
time < "13:00"