Delivery customizations
Updated · SMART Shipping Rates & Rules (E-TRADE PARTNER)
Delivery customizations change the delivery methods Shopify already shows at checkout: hide, show only, move, reorder, rename, or sort them. SMART Shipping Rates & Rules offers 13 actions and 41 conditions, including B2B companies and product or variant metafields. They run as Shopify Functions, need no Carrier Service, and work on the Lite and Pro plans.
SMART Shipping Rates does this with zones, calculated rates, and delivery customizations.
Try it freeOn this page
Use a delivery customization when the method already exists and the problem is how it appears. A customization cannot change a price or add a new rate. If SMART must calculate a price, use Shipping rates instead, or a shipping script for logic the zone editor cannot express.
Actions
Pick actions with Add action. A rule can hold several actions, and every action runs on each delivery group in the cart.
| Action (as the app shows it) | What it does at checkout |
|---|---|
| Hide all delivery methods | Hides every method in the group, pickup and local delivery included |
| Hide specific delivery methods | Hides methods whose name is, or contains, one of the names you type |
| Hide delivery methods of type | Hides every method of one type: Shipping, Local Delivery, Pickup Point, Local Pickup, or Retail |
| Hide delivery methods not of type | Hides every method except the type you pick |
| Show only specific delivery methods | Keeps the methods you name and hides the rest |
| Show only the cheapest rate | Keeps the lowest-priced method in each delivery group and hides all others |
| Show only the highest rate | Keeps the highest-priced method in each delivery group and hides all others |
| Move delivery method to the top | Moves the first matching method to the top |
| Move delivery method to the bottom | Moves the first matching method to the bottom |
| Reorder a specific delivery method | Moves the first matching method to the position you enter |
| Sort delivery methods by cost low-high | Orders all methods from cheapest to most expensive |
| Sort delivery methods by cost high-low | Orders all methods from most expensive to cheapest |
| Rename delivery methods | Replaces the name of every matching method with the new name |
Method names are matched without regard to case. In Hide specific, Show only specific and Rename, list several names with commas and no space after each comma (Standard,Express), and don't end the list with a comma.
Conditions
Pick When set conditions are met and add conditions with Add condition. Inside a group every condition must match (AND). Add group (OR) starts an alternative group, and the rule runs when any group matches. Pick Always to run the actions on every checkout.
| Group | Conditions |
|---|---|
| Cart | Cart subtotal amount, Cart total amount, Cart quantity, Cart attribute |
| Cart contents | Products, Variants, Collection, Product tag, SKU, Line property, Subscription product, One-time purchase product, Digital product, Physical product, Gift card, Product metafield, Variant metafield |
| Customer | Customer tag, Customer is logged in, Customer is not logged in, Customer order count, Customer total spent, Customer email |
| B2B | Customer is a B2B company, Customer is not a B2B company, Purchasing company name, Purchasing company location name |
| Order | Order weight |
| Discount | Discount applied (up to 10 discounts), Applied discount type (Product or order, Shipping) |
| Schedule | Date, Day of week (shop calendar, no time of day) |
| Address | Full name, Company, Shipping address line 1, Shipping address line 2, Shipping ZIP/Postal Code, Shipping city, Shipping state/province code, Country |
| Language | Language |
- Product conditions have an Applies to choice: any product in the cart, all products in the cart, or an amount of matching products.
- Customer tag takes one or more tags with is any, is not any of, or is all of. Guests have no tags, so is not any of matches them.
- Text conditions take a comma list and ignore case and surrounding spaces. Shipping ZIP/Postal Code also ignores spaces inside the code. There are no wildcards or ranges; use starts with for prefixes.
- Each Shopify Function can read only part of the checkout, so some conditions can't share one rule. The editor only offers conditions that fit with the ones you already added, and it refuses a save with "These conditions cannot be used together."
- A saved rule can't switch to conditions that need a different function. The app then asks you to create a new customization and delete the old one.
Metafield conditions
Product metafield and Variant metafield read one metafield you name by Namespace and Key (for example custom and shipping_class). Text operators: is, is not, contains, doesn't contain, starts with, doesn't start with, ends with, doesn't end with, exists, doesn't exist. Number operators compare plain decimals: is greater than, is greater than or is, is lower than, is lower than or is. Values compare as one exact, case-sensitive string; a value with a unit such as "10 kg" doesn't match a number operator.
A rule uses one product key and one variant key. Metafield rules combine with cart subtotal and total, products, variants, collections, SKU, digital or physical products, order weight, ZIP, province, and country, but not with tags, customers, dates, discounts, or B2B conditions. Shopify doesn't pass metafield values over 10,000 bytes to the function, so those read as missing.
B2B conditions
Customer is a B2B company matches a buyer who checks out for a Shopify B2B company. Purchasing company name and Purchasing company location name match the company and location by text. They combine with cart totals and quantity, collections, customer tag, order count, email, ZIP, province, and country. Shopify B2B is available on the Basic, Grow, Advanced, and Plus plans (Shopify B2B plans). See the B2B and D2C shipping guide for setups.
How to set up a rule
- Open Delivery customizations and click Create delivery customization.
- Enter a Customization name.
- Under When this customization runs, pick Always or When set conditions are met, then use Add condition and, for alternatives, Add group (OR).
- Click Add action and set the method names, type, position, or new name.
- Set Status to Active. New customizations start as Inactive and do nothing until you activate them.
- Save with the save bar at the top of the page.
- Test in a real Shopify checkout with a cart and address that should match, then one that should not. The Checkout simulator does not apply delivery customizations.
Shopify rules that apply to every app
- A store can have at most 25 active delivery customizations, across all apps (Shopify docs). Combine overlapping rules before you add more.
- Carrier-calculated rates can be renamed, but Shopify always keeps the carrier name in front: UPS Standard can become UPS Standard Shipping, not Standard Shipping.
- Shopify keeps the cheapest shipping method preselected, so moving or sorting a pricier method to the top does not make it the default.
- Hiding methods for PO Box addresses is only supported for rates from carrier services or shipping apps. With Shopify's own rates the address may not reach the rule. See the PO Box guide.
- Customizations run at checkout, in B2B checkout, draft-order checkout, and accelerated checkouts. They don't run when you build a draft order in the admin, edit an order, or on subscription renewal orders.
- Shopify skips a rule whose saved data is over 10,000 bytes, which a very long name list can reach.
For worked examples, see the hide, sort, and rename guide, hide by product or tag, hide by customer tag, and hide pickup and local delivery.
Clean up checkout methods without Carrier Service
Use SMART to hide, show, move, rename, reorder, and sort existing Shopify delivery methods with 40+ conditions.
Try the app freeFrequently asked questions
›Do delivery customizations require Carrier Service?
No. They change methods Shopify already shows, so they don't need Carrier Service. They work on the Lite and Pro plans.
›Which Shopify plans can use them?
Shopify supports delivery customization apps from the Basic plan up. Lite's plan card says it works on the Basic plan with no Carrier Service needed.
›How many delivery customizations can be active?
Shopify allows 25 active delivery customizations per store, shared by all apps.
›Can SMART rename every checkout method?
It can rename any method Shopify passes to the rule, but on carrier-calculated rates Shopify always keeps the carrier name at the start of the new name.
›Can a delivery customization change the shipping price?
No. Shopify only lets a delivery customization hide, move, or rename a method. To set a price, use Shipping rates or a shipping script on the Pro plan.
›Why did my new customization do nothing?
New customizations start with Status set to Inactive. Set it to Active and save.