Skip to content

Rules engine

Shipping rules change quotes when a condition matches: add or subtract an amount, set a fixed price, offer free shipping, or hide a quote. Package-type rules choose the package type for items by weight range. Both are edited in the Transdirect members area, on your Shopify store’s module page.

  1. In Shopify admin, open Apps > Transdirect Shipping.
  2. On the Dashboard, click the Postcode rules engine card (shipping rules) or the Package-type rules card. Your module page opens in the members area in a new tab. Sign in if prompted.
  3. Shipping rules are on the Shipping rules tab, in the Rules panel. Package-type rules are on the Packaging tab, in the Package Type Rule panel.

You can also go to Settings > Integrations in the members area and click Settings on your Shopify store’s row.

Each rule has a Trigger, a Value to match, a Priority, an Action and an Action value. Click Add rule to save it.

TriggerMatches
PostcodeThe delivery address. In List mode, enter postcode and suburb pairs separated by commas, such as 2000 SYDNEY, 2010 SURRY HILLS; a postcode on its own does not match. In Range mode, enter the first and last postcode separated by a comma, such as 0800, 0899.
StateThe delivery state as a capitalised abbreviation, such as VIC.
WeightThe total weight in kg of what is quoted, compared with Equals, Less than, Greater than, Less than or equals, or Greater than or equals.
CostThe value of the cart’s shippable items, with the same comparisons.
QuantityThe number of items quoted, with the same comparisons. With order boxing on, each packed box counts as one.
SKUAny of the listed product SKUs (separated by commas) in the cart.
ActionEffect on matching quotes
Add / SubtractAdds or subtracts the action value in dollars.
Fixed amountSets the quote to the action value.
Free shippingSets the quote to $0.
Disable quoteRemoves the quote.

Action values are dollar amounts. A value such as 10% is read as $10.

By default a rule applies to every courier. To limit it, enter courier IDs separated by commas (for example couriers_please, allied) in the rule’s Couriers column and click the save button next to it.

Rules are checked from the lowest Priority number up. By default only the first matching rule is applied.

Tick Accumulate shipping rules (in the same Rules panel) to keep applying matching Postcode and SKU rules in turn. With it on, Add and Subtract stack, Fixed amount adds its value instead of replacing the price, and Free shipping and Disable quote have no effect. A matching State, Weight, Cost or Quantity rule is still applied last: no rules after it run.

Transdirect applies courier settings first, then the quote display filter, then rules.

Free shipping over $150
  • Trigger: Cost, Greater than, 150
  • Action: Free shipping
  • Priority: 1
Flat rate to NT postcodes
  • Trigger: Postcode, Range, 0800, 0899
  • Action: Fixed amount, 25
  • Priority: 2
Hide one courier for light carts
  • Trigger: Weight, Less than, 5
  • Action: Disable quote, with only that courier’s ID in the rule’s Couriers column
  • Priority: 3

A package-type rule sets the Package type (for example Carton or Pallet) for items whose weight falls between Range from (kg) and Range to (kg), so quotes are priced with the right packaging. The weight used is the greater of the item’s actual weight and its volumetric weight. Items that match no rule keep their own package type, which is Carton unless a multi-box product sets another.

Shopify app compared with the members area

Section titled “Shopify app compared with the members area”
TaskWhere
Quote options, couriers, boxing and order syncShopify app Dashboard cards
Shipping rules and package-type rulesMembers area (linked from the Dashboard)
Booking a synced orderMembers area