Rules for checkout rates

Overview

  • Using the rules for checkout rates feature, you can setup your checkout to behave in a way that works for your business.
  • For example, you could set up rules to automatically cover your shipping surcharges or assign specific couriers to orders that contain dangerous goods. Or, you could set up a rule to apply free shipping.
  • A rule can include multiple conditions and one action, and you can create as many rules as you like.

Watch the video

Understanding the order of rules

Rules apply from top to bottom in the list. This means when a condition is met in a rule at the top of the list, the rules engine won't apply other conditions in the list that conflict with the first rule.

For example:

  • Our first rule says Condition weight >5kg Set the carriers for checkout as Australia Post
    • This means if the weight of the order is greater than 5kg, then only Australia Post will show on checkout.
  • Our second rule says Condition weight >10kg Set the carriers for checkout as Aramex.
    • This means if the weight of the order is greater than 10kg, then only Aramex will show on checkout.

In this case, the second rule will never be triggered. This is because any order that is greater than 10kg, will also be greater than 5kg, meaning the first rule will take precedence.

As the rules engine is flexible, you can solve this problem in a couple of different ways:

  • Solution 1: Condition weight >5kg and condition weight <10kg Set the carriers for checkout as Australia Post.
    • This rule solves the issue by providing a range: Show Australia Post for orders heavier than 5kg and lighter than 10kg. Show Aramex for orders weighing more than 10kg.
  • Solution 2: Change the order of the rules so the order containing the >10kg condition is first on the list.
    • This solves the issue as the second rule (showing Australia Post) will now only trigger for orders under 10kg.

Entering currency and weight using rules

  • When using Shopify, dollar values need to be entered in cents ($100 = 10000, $80 = 8000). This is due to a limitation with the Shopify plugin.
  • Weight values need to be entered in kilograms (10kg = 10)

Setting up a rule 

1. Go to Settings > Checkout Rates > Rules

2. Select Add a new rule

3. Choose the Condition(s) that the rule should apply in. 
Possible Conditions: 

  • All Orders 
  • Destination Country Name 
  • Destination Country Code 
  • Destination Post Code - AU 
  • Destination Post Code - NZ 
  • Destination Post Code 
  • Destination State 
  • Destination Street 
  • Item SKU 
  • Order Value 
  • Order Weight 

4. Choose the Action you would like to apply.
Possible Actions: 

  • Set Carriers for Checkout: Only display the selected courier options on checkout  
  • Set Checkout Rates: Use a specified rate rather than the default couriers you have defined  
  •  Set Courier & Product Code:  Specify the courier that should display in this case
  • Set Margin Type & Value: Add or subtract a margin from the quoted rate on checkout  
  • Set Shipping Location: Use an alternate shipping address from your Pickup Address defined in Starshipit as the sender address for the rate. This is useful if you are shipping from multiple locations and would like the live rate to be based on a specific address depending on what is in the cart or where the customer is based. 

5. Click Save

Below are some of the common use cases for rules at checkout

How can I cover my surcharges?

Some couriers may apply a surcharge if a package is over a specific weight, but this surcharge isn’t always provided on the quote you get back from the courier. You can set up a rule to specify that if a package weighs over a certain amount, add a 10% margin to cover the surcharge.

  • Select Add a new rule
  • Select Condition(s) > Order weight (Enter your weight threshold in the field provided)
  • Select Action > Set Margin Type & Value
  • Select Value (Choose your courier from the dropdown)
  • Input your product code
  • Select your margin type (Amount or percentage)
  • Enter your value (10%)
  • Click Save

How can I account for PO boxes?

Not all couriers deliver to PO boxes. You can set up a rule which says that if an address includes a PO box, remove those couriers that won’t deliver to them.

  • Select Add a new rule
  • Select Condition(s) > PO Box & Parcel Locker Orders > Equals > True
  • Select Action > Set Carriers for Checkout
  • Select the couriers you’d like to display in your checkout
  • Click Save

Can I display free shipping based on order value?

You can set up a rule where if an order is over $100 (for example), you can display a free shipping option to the customer.

  • Select Add a new rule
  • Select Condition(s) > Order Value > Greater Than > (Enter your order value, for example $100. Note, this needs to be entered as 10000)
  • Select Action > Set Checkout Rates
  • Select Value (Choose your courier from the dropdown)
  • Select Free Shipping
  • Click Return this item only
  • Click Save

You can customise this further by adding additional conditions (such as below a certain order weight, or within a certain destination).

Can I set specific couriers for dangerous goods?

Some couriers won’t transport dangerous goods (Something flammable or even an item which includes a dangerous item like a battery). You can create a rule to remove these couriers from the checkout if the card contains a dangerous item.

  • Select Add a new rule
  • Select Condition(s) > Item SKU > (Enter the SKUs of your dangerous goods items)
  • Select Action > Set Carriers for Checkout
  • Select the couriers you’d like to display in your checkout
  • Click Save

Can I set alternate shipping locations?

If you ship from multiple locations, you may want to provide a live rate based on the warehouse the order will ship from. You could create a rule which says if the order is in state/country A, use warehouse A. Or, if the order is in state/country B, use warehouse B.

  • Select Add a new rule
  • Select Condition(s) >Destination Country Name or Destination State
  • Select Action > Set Shipping Location
  • Enter your Value (The name of your shipping location)
  • Click Save

Troubleshooting

Why are my rules not working?

There are a few reasons why your rules may not be working:

  • Rules apply from top to bottom in the list, so you may have conflicting rules. See the section “Understanding the order of rules” at the top of this article.
  • Dollar values need to be entered in cents ($100 = 10000, $80 = 8000) and weight values need to be entered in kilograms (10kg = 10).
  • If you’ve entered a weight for the order to be less than, your orders could be going above that weight and therefore the rules aren't applying as you intend them too. You may need to provide a range for orders to sit within instead of having a “less than” option.
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.