Skip to content

Rules engine

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.

  1. Open AppsTransdirectSettings.
  2. Open Postcode rules engine or Package-type rules. This opens your module in the members area.
  3. Sign in to the members area if prompted.
  4. Add, reorder, or remove rules and save.

You can also go straight to your module under API Modules in the members area.

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:

ConditionExample use
Postcode, suburb, or stateFree shipping zones, remote-area surcharges, or hiding express services in certain regions
Cart weightSurcharging heavy carts, or hiding services below a weight threshold
Cart costFree shipping above an order total
Product attributesSpecial handling for particular SKUs

Actions include surcharges, discounts, fixed prices, free shipping, and restricting which couriers remain available.

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).

TaskWhere
Day-to-day quote filters, couriers, boxing, and order syncShopify app Settings
Postcode and package-type rulesMembers area (linked from Settings)
Booking a synced orderMembers area
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