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 free
On this page
  1. Actions
  2. Conditions
  3. Metafield conditions
  4. B2B conditions
  5. How to set up a rule
  6. Shopify rules that apply to every app
  7. Frequently asked questions

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 methodsHides every method in the group, pickup and local delivery included
Hide specific delivery methodsHides methods whose name is, or contains, one of the names you type
Hide delivery methods of typeHides every method of one type: Shipping, Local Delivery, Pickup Point, Local Pickup, or Retail
Hide delivery methods not of typeHides every method except the type you pick
Show only specific delivery methodsKeeps the methods you name and hides the rest
Show only the cheapest rateKeeps the lowest-priced method in each delivery group and hides all others
Show only the highest rateKeeps the highest-priced method in each delivery group and hides all others
Move delivery method to the topMoves the first matching method to the top
Move delivery method to the bottomMoves the first matching method to the bottom
Reorder a specific delivery methodMoves the first matching method to the position you enter
Sort delivery methods by cost low-highOrders all methods from cheapest to most expensive
Sort delivery methods by cost high-lowOrders all methods from most expensive to cheapest
Rename delivery methodsReplaces 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.

GroupConditions
CartCart subtotal amount, Cart total amount, Cart quantity, Cart attribute
Cart contentsProducts, Variants, Collection, Product tag, SKU, Line property, Subscription product, One-time purchase product, Digital product, Physical product, Gift card, Product metafield, Variant metafield
CustomerCustomer tag, Customer is logged in, Customer is not logged in, Customer order count, Customer total spent, Customer email
B2BCustomer is a B2B company, Customer is not a B2B company, Purchasing company name, Purchasing company location name
OrderOrder weight
DiscountDiscount applied (up to 10 discounts), Applied discount type (Product or order, Shipping)
ScheduleDate, Day of week (shop calendar, no time of day)
AddressFull name, Company, Shipping address line 1, Shipping address line 2, Shipping ZIP/Postal Code, Shipping city, Shipping state/province code, Country
LanguageLanguage
  • 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

  1. Open Delivery customizations and click Create delivery customization.
  2. Enter a Customization name.
  3. Under When this customization runs, pick Always or When set conditions are met, then use Add condition and, for alternatives, Add group (OR).
  4. Click Add action and set the method names, type, position, or new name.
  5. Set Status to Active. New customizations start as Inactive and do nothing until you activate them.
  6. Save with the save bar at the top of the page.
  7. 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 free

Frequently 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.

Related articles