Free Shipping Rules
Alfo - Functions gives free shipping and other shipping discounts when the cart, the customer or the country meets your conditions. This guide builds four rules step by step: free shipping over an order amount, free Express shipping over an order amount, free shipping for some countries, and free shipping for VIP customers. Each rule uses only conditions and settings that the Alfo discount editor offers.
For every condition, target and value of the discount function, see Conditional Discount.
What You Can Do
A shipping discount comes from a rule group that has Apply discount to shipping ticked. Its conditions decide when the discount applies, and its Shipping discount panel decides which delivery options get it and how much:
| Field in the Shipping discount panel | What it sets |
|---|---|
| Which delivery options | The delivery options that get the discount. See the next table. |
| Name matching, Delivery option names | With By delivery option name: how the names match, and the names, separated by commas. |
| Max shipping price | Optional. The discount applies only when the shipping cost is at or below this amount. |
| Shipping discount value | Discount type: Percentage off, Fixed amount off or Fixed price (set to), with its value and the Discount message (shown at checkout). Percentage off with the value 100 makes the shipping free. |
| Max discount amount | Shows with Fixed amount off. Optional. The amount off is capped at this amount. |
Which delivery options has five choices:
| Which delivery options | Selects |
|---|---|
| All delivery groups | Every delivery group of the cart. Shopify puts the items that can be shipped together in one delivery group. |
| First delivery group | Only the first delivery group of the cart. |
| Cheapest option | The one delivery option with the lowest cost. Options that cost 0 are not chosen. |
| Most expensive option | The one delivery option with the highest cost. Options that cost 0 are not chosen. |
| By delivery option name | The options whose name matches your list. Exactly matches compares the whole name. Contains finds your text in the name. All except (excludes) selects every option whose whole name is not in your list. The match ignores the case of the letters. |
If a delivery rule renames an option, add the new name to Delivery option names and keep the old name: the discount reads the new name only in the carts where the rename rule applies. See Rename or Reorder a Delivery Option.
In an Alfo rule group, a customer tag, the cart subtotal and the market country can all be conditions of one rule, and the shipping panel can choose the delivery options by name or by cost.
Before You Start
Works on the Basic plan and higher. Checkout upsells and some payment options need Shopify Plus.
The recipes use the Conditional discount function, which works on every Alfo plan, Starter and above.
To create a discount:
- In Shopify admin, go to Discounts and click Create discount.
- In the Select discount type dialog, choose Conditional discount function from the Alfo app.
- Make it an automatic discount and enter its title. Shopify applies an automatic discount in the cart and at checkout when its conditions are met.
- In the Alfo editor on the same page, under Discount types, tick Shipping discount. Then untick Product discount and Order discount. At least one type stays ticked.
- Leave Rule matching strategy at Apply first matching rule only.
- Click Add rule group. Replace the name “New Rule” with the Rule name of the recipe.
- For each condition of the recipe, click Add condition. A new condition starts with the condition type Cart subtotal, the operator greater than and an empty value. Change them to the values of the recipe. With two or more conditions, the heading Conditions (Match) shows a select: keep ALL conditions (AND), so that every condition must match.
- Under Shipping discount, tick Apply discount to shipping. Which delivery options starts at All delivery groups. Set it and the fields under Shipping discount value as the recipe shows. The value field starts empty.
- Click Save.
With only Shipping discount ticked, the rule group shows no product or order target. A rule group with no condition gives its shipping discount on every cart.
The editor does not save an enabled rule group without a name or a shipping discount value, or with a number condition that has no value. A percentage can be at most 100.
Free Shipping on Orders of 50 or More
This rule makes shipping free when the cart subtotal is 50 or more in your store currency.
| Field | Value |
|---|---|
| Rule name | Free shipping from $50 |
| Condition 1 | Condition type Cart subtotal, Operator greater than or equal to, Value 50 |
| Apply discount to shipping | Ticked |
| Which delivery options | All delivery groups |
| Discount type | Percentage off |
| Percentage (%) | 100 |
| Discount message (shown at checkout) | Free shipping |
greater than or equal to includes 50 itself. Enter the amount in your store currency. Checkout converts it to the buyer’s currency.
To check the rule, open a checkout with a cart subtotal of 50 or more: the shipping is free. With a subtotal below 50, the shipping keeps its cost.
To make only the lowest-cost delivery option free, such as standard shipping, choose Cheapest option instead. A more expensive option, such as Express, then keeps its cost. Cheapest option does not choose an option that already costs 0, so with a free rate in your shipping settings it picks the next option. In that case, choose By delivery option name and enter the name of the option.
Free Express Shipping from 150
This rule makes the Express option free when the cart subtotal is 150 or more. It does not change the other delivery options.
| Field | Value |
|---|---|
| Rule name | Free Express shipping from $150 |
| Condition 1 | Condition type Cart subtotal, Operator greater than or equal to, Value 150 |
| Apply discount to shipping | Ticked |
| Which delivery options | By delivery option name |
| Name matching | Exactly matches |
| Delivery option names | Express |
| Discount type | Percentage off |
| Percentage (%) | 100 |
| Discount message (shown at checkout) | Free Express shipping |

Enter the name of the option as buyers see it at checkout. Exactly matches compares the whole name and ignores the case of the letters: Express matches “Express” and “express”, but not “Express Shipping”. To match a longer name that holds the text, choose Contains. To enter more than one name, separate the names with commas.
To check the rule, open a checkout with a cart subtotal of 150 or more: Express shows its cost crossed out and “FREE”. With a subtotal below 150, Express keeps its cost.

Free Shipping for Some Countries
This rule makes shipping free for buyers in the United States and Canada when the cart subtotal is 50 or more.
| Field | Value |
|---|---|
| Rule name | Free shipping from $50 in the US and Canada |
| Conditions (Match) | ALL conditions (AND) |
| Condition 1 | Condition type Market, Operator is any of, Country codes US, CA |
| Condition 2 | Condition type Cart subtotal, Operator greater than or equal to, Value 50 |
| Apply discount to shipping | Ticked |
| Which delivery options | All delivery groups |
| Discount type | Percentage off |
| Percentage (%) | 100 |
| Discount message (shown at checkout) | Free shipping |
Market compares your codes with the buyer’s country code that Shopify gives the discount at checkout (localization.country.isoCode). Shopify describes this country as the country for which the store is customized. Enter two-letter ISO codes in capital letters, separated by commas, for example US, CA, GB. Write GB, not UK. Alfo does not save an enabled rule group with a code that is not a country code.
To give free shipping in every country except some, choose is none of and list those countries.
To check the rule, start a checkout with a subtotal of 50 or more and a country that is on your list, for example the United States: the shipping is free. Then change the country to one that is not on your list in the same checkout: the shipping keeps its cost.
Free Shipping for VIP Customers
This rule makes shipping free for customers with the tag VIP, on every order.
| Field | Value |
|---|---|
| Rule name | Free shipping for VIP customers |
| Condition 1 | Condition type Customer tag, Operator has any of, Tags (comma-separated) VIP |
| Apply discount to shipping | Ticked |
| Which delivery options | All delivery groups |
| Discount type | Percentage off |
| Percentage (%) | 100 |
| Discount message (shown at checkout) | Free shipping for VIP customers |
Enter the tag as it appears on the customer in Shopify admin. A guest checkout has no customer, so no tag matches.
To check the rule, log in to a customer account that has the tag VIP and open checkout: the shipping is free. As a guest, the shipping keeps its cost.
For order and product discounts for tagged customers, see VIP and Wholesale Discounts by Customer Tag.
Shipping and Other Discounts in One Discount
One Alfo discount can give an order or product discount and a shipping discount. Tick each discount type that its rule groups use, for example Order discount and Shipping discount.
Alfo picks the shipping discount and the product or order discount separately. A rule group that gives only a shipping discount does not stop a rule group that gives an order discount, also with Apply first matching rule only. With that strategy, after the first rule group in the list that matches and gives a shipping discount, no later rule group gives one.
In a rule group that has a product or order target and Apply discount to shipping ticked, an empty shipping value uses the main discount value. For example, a rule group with 15% off the order and an empty shipping value also gives 15% off the shipping. To make the shipping free in that rule group, enter its own shipping value.
For a shipping discount that grows with the cart subtotal, use tiers in a Volume & Tiered discount, on the Pro plan and above. See Tiered Shipping Discount Example.
Limits
| Limit | Detail |
|---|---|
| Alfo plans | The Conditional discount function works on every Alfo plan. Starter allows up to 10 rule groups in each discount, Pro 20 and Enterprise 40. |
| Automatic discounts | Shopify allows at most 25 active automatic discounts per store, app-based discounts included. |
| Conditions | A shipping discount checks only the 9 customer and cart conditions: Customer tag, Customer order count, Customer total spent, Customer is authenticated, Cart subtotal, Cart total quantity, Cart line count, Cart attribute and Market. Product conditions, such as Product tag or Collection, do not limit it. A rule group with only product conditions gives its shipping discount on every cart. |
| Address | The discount editor has no condition for the delivery address: not for its country, state, province, city or postal code. Market checks only the buyer’s country code (see above). |
| Cheapest and most expensive | Options that cost 0 are not chosen. |
| Max shipping price | With All delivery groups or First delivery group, a delivery group gets the discount when its lowest-cost option is at or below the amount. With the other choices, each option is compared with the amount. |
| Combinations | Shopify: a discount from an app that includes more than one discount saving “can combine only with other discounts that allow combinations with all of the included discount classes”. |
| Storefront | Alfo adds no free shipping progress bar to your theme. Alfo has one theme block, the Bundle Builder. |
Next Steps
- Conditional Discount: every condition, target and value of the conditional discount.
- Volume & Tiered Discount: tiered shipping discounts by cart subtotal or quantity.
- VIP and Wholesale Discounts by Customer Tag: order and product discounts for tagged customers.
- Cart-Level Conditions: the market, cart subtotal and customer conditions.
- Guides by Goal: every Alfo guide, listed by store goal.