Rules engine
Overview
Section titled “Overview”Rules change shipping behaviour at quote time — for example, preferring a courier for certain postcodes, forcing a package type for bulky SKUs, or adjusting the price when a condition matches.
The Postcode rules and Package-type rules cards in the app’s Settings hub open your module in the Transdirect members area, which is where rules are created and edited.
Where to edit rules
Section titled “Where to edit rules”- Open Apps → Transdirect → Settings.
- Open Postcode rules engine or Package-type rules. This opens your module in the members area.
- Sign in to the members area if prompted.
- Add, reorder, or remove rules and save.
You can also go straight to your module under API Modules in the members area.
Postcode rules
Section titled “Postcode rules”Rules are evaluated in priority order (lower number = higher priority). When several match, the highest-priority rule wins.
Rules match on the cart and the delivery address:
| Condition | Example use |
|---|---|
| Postcode, suburb, or state | Free shipping zones, remote-area surcharges, or hiding express services in certain regions |
| Cart weight | Surcharging heavy carts, or hiding services below a weight threshold |
| Cart cost | Free shipping above an order total |
| Product attributes | Special handling for particular SKUs |
Actions include surcharges, discounts, fixed prices, free shipping, and restricting which couriers remain available.
Package-type rules
Section titled “Package-type rules”Package-type rules force a packaging type (for example Pallet or Heavy Carton) when products match a given range or category. Use them for fragile or oversize items so quotes are priced with the right packaging class.
Edit these from Settings → Package-type rules (members area).
Shopify app vs members area
Section titled “Shopify app vs members area”| Task | Where |
|---|---|
| Day-to-day quote filters, couriers, boxing, and order sync | Shopify app Settings |
| Postcode and package-type rules | Members area (linked from Settings) |
| Booking a synced order | Members area |
Common examples
Section titled “Common examples”Free shipping over $150
- Condition: order cost greater than $150
- Action: free shipping
- Priority: 1
Flat rate to remote postcodes
- Condition: postcode in range 0800-0899 (NT remote)
- Action: set fixed price $25
- Priority: 2
Hide express for light orders
- Condition: weight less than 5kg
- Action: hide express couriers
- Priority: 3