Skip to main content

Create a carrier rule

Goal

To set up carrier rules that determine when specific carriers are available during checkout. Without carrier rules, your carriers won't appear as shipping options for customers.


Prerequisites

Before creating carrier rules, ensure you have already created at least one carrier in your system.


Step 1: Navigate to Carrier Rules

  1. From the backoffice menu, select Shops & Channels and then Carriers.
  2. Click on the Carrier rules tab.

Step 2: Create a New Rule

  1. Click Add subrule button to create a new carrier rule.
  2. A new rule section will appear with condition and action fields.

Step 3: Set Up Conditions

  1. In the IF any of these conditions apply section:
    • Choose the Item (e.g., "Order subtotal")
    • Select the Condition (e.g., "GreaterThan")
    • Enter the Value (e.g., "0")
  2. Click Add condition if you need multiple conditions.
  3. Use the and/or toggle to determine how conditions combine.

Step 4: Define Actions

  1. In the THEN execute these actions section:
    • Choose the Action (e.g., "Set carrier to selectable")
    • Select the Carrier from the dropdown (e.g., "DPD")

Step 5: Save and Test

  1. Your rule is automatically saved as you create it.
  2. Create additional rules for other carriers as needed.
  3. Test your rules by placing a test order to ensure carriers appear correctly.

Common Rule Examples

Default Delivery Rule

  • Condition: Order subtotal Greater Than 0
  • Action: Set carrier to selectable → Default delivery

Express Delivery Rule

  • Condition: Order subtotal Greater Than 100
  • Action: Set carrier to selectable → DHL Express

Best Practices

  • Always create at least one rule for each carrier you want to offer
  • Test your rules with different conditions (such as order amounts) to ensure they work correctly
  • Use clear rule names that describe their purpose
  • Consider creating rules for special scenarios (free shipping thresholds, express options)
  • Review and update rules regularly to match your shipping policies