Skip to content

Editing a rule

Products, location, delivery time, message, style and position of one rule.

Saving

Changes stay a draft until you press Save in the bar at the top of Shopify admin; Discard throws the draft away. Leaving the page with unsaved changes, by the back arrow or a link in the app, asks first. Use this rule and Stop using at the top of the page turn the rule on or off and save your changes with it; while a change cannot be saved yet, they only turn the rule on or off and keep your changes in the editor to finish. A new rule shows the bar once you type its name. The live preview on the right shows the draft (a link in a message does not open from it); for a rule with dates that are not running today, it shows the first or last day instead and says which. Its Before / After cut-off, Shopper's language, Desktop / Phone and Light / Dark theme switches only change the preview and are never saved. Dark theme shows the widget on a dark page, to check its colors for a dark theme; set them in Style. Before / After cut-off shows only on a day with a cut-off, not on a day off or while the rule's start date is ahead. On a rule that counts down to A day and time it reads Counting down / After it ends and shows every day. If the rule was saved in another tab since you opened it, Save says so and the page loads that version with your changes on top: check it, then save again. If it was deleted in another tab, the page goes back to Rules and says so. Text you type while a save runs, or while a new rule is created, stays in the editor for the next Save. Save does nothing but name what to fix, opens its tab and scrolls to the field marked in red, while the rule or a shipping speed has no name, two shipping speeds have the same name, a Metafield condition has Values but no namespace and key, a Price condition's From is above To, Start date is empty, First day or Last day is empty or out of order, a one-day window's End time is not after its Start time, a message is blank, the rule name is over 100 characters, a shipping speed's name is over 40, a message is over 500 (tags included), a step label, tooltip or word is over 200, a countdown to A day and time has no Day, the CSS selector is empty, not valid or over 200 characters, or a list holds more than it can keep (Products, Collections or Leave out collections over 500; Product tags, Product types, Vendors or Leave out tags over 1,000; Leave out products, SKUs, Variants or a metafield's Values over 100; Postal codes over 200; Provinces over 100; Shipping methods over 10). Each of those fields shows its character count, spaces included, and nothing you type or paste is cut. A field you then hide (step labels with Show the timeline off, Today and Tomorrow with the words off) still counts: Save names it and says how to show it. A save Shopify refuses says so in a message at the bottom of the screen.

Products

The first card holds the Rule name. The Summary card under the live preview, on every tab, sums up the whole rule as you edit it: which products, which countries or markets, the shipping address, Ships from, Shipping methods, which dates and how many working days, counted from the start date while it is ahead, with each named shipping speed's days after them.

  • Products: All products, or Products that match conditions. Add condition adds a field: Products, Collections, Product tags, Product types, Vendors, Stock status, SKUs, Variants, Metafield, Inventory quantity or Price. Pick its values there; a product needs one of a field's values. In Products and Collections, type part of a name and pick from the list under the field. Remove, next to a field's name, takes it off.
  • A product has to meet every condition you add. Under the fields the app counts the products that match now and warns when none does (Products could not be counted when the count does not load); stock status and the conditions on variants are checked on each variant in your store, so they are not in the count.
  • Conditions on variants: SKUs (type each SKU exactly as it is on the variant), Variants (type part of the product or variant name and pick it), Metafield (Product metafield or Variant metafield, its Namespace and key such as custom.material, and the Values it may hold; leave Values empty to match any value; text, number and true / false metafields), Inventory quantity (More than, Less than or Exactly a quantity; only variants Shopify tracks inventory for) and Price (from, to, or both, in the currency the shopper sees). On a product page each variant gets the rule its own SKU, price, stock and fields match, and the date changes when the shopper picks another variant. SKUs and Variants apply everywhere; Metafield, Inventory quantity and Price, like Stock status, apply on the product page, product cards and the cart only, not at checkout, on the order or in the email, which then use another rule or the standard delivery time.
  • Only collections on your online store count; a collection hidden from it never matches. A tag, product type or vendor you type takes your store's spelling. Stock is per variant. Stock status offers In stock, which includes variants whose inventory Shopify does not track; Inventory not tracked, for those variants only; Out of stock, for a variant that cannot be bought or one Shopify tracks with none left while it still sells; Out of stock, still selling, for pre-orders and backorders only; and Sold out, for a variant that cannot be bought, which shows a date only while Hide the delivery date when sold out, under Settings > Sold-out products, is unchecked. While it is checked, such a rule's card on Delivery rules and its dashboard row say Shows no date instead of when an order arrives. A Sold-out line in its Message tab shows instead of the date either way.
  • Leave out some products: the products you pick under Leave out products, and products in the collections or with the tags you list, never get this rule, whatever else they match. A rule that leaves products out counts as more specific than one that does not. To take products out of every rule and show them no date at all, use Excluded products instead.
  • Dates in use, Only use between some dates: for a sale or a holiday season. Pick the First day and Last day; the rule is in use on both days and the ones between, by your store's date (or, for a country with its own cut-off in Settings, by the date there). Start time and End time narrow the first and last day: the rule starts at the Start time on the First day and stops at the End time on the Last day, in your store's time (or the country's). Start of day and End of day keep whole days. Outside them, products get another rule or the standard delivery time. While the dates run, the rule wins over every rule without dates that matches the same product, however narrow, including rules on countries or stock status. Between two equally specific dated rules, the one with fewer days wins, so a Cyber week rule inside a Holiday season rule takes over for its week. Copy the everyday rule with Duplicate, change its days and set the dates, or make one rule for all products. Under the dates, the editor names every rule in use without dates and what it is set to (All products, Collections, Countries…), since this rule takes over from each while its dates run, for the products both cover. To keep some products on their usual time, use Leave out some products in this rule. The Order confirmation email snippet checks the dates and times against when the order was placed.
  • Dates in use, Only use on some days: Days of the week (pick the weekdays) or Days of the month (numbers from 1 to 31 such as 1, 15; a month without that day skips it). The field says so, and Save waits, for anything that is not a day from 1 to 31, and for every day of the week or month: untick Only use on some days instead. The rule is in use only on those days, judged on the day the order is placed (your store's date, or the country's under Settings > Order cut-off time). On those days it wins over every rule that matches the same product and has neither dates nor days set; a rule with Only use between some dates still wins over it. With both set, the day has to fit both. The Order confirmation email snippet checks the order's day too (copy it again).

Location

The Location tab holds where the shopper is and how the order ships: Countries, Shipping address, Ships from and Shipping methods.

  • Countries: all countries, only shoppers from the countries you pick, or Specific markets. The list holds the countries you ship to; type the name or two-letter code of another, such as Vietnam or VN. On the product page and cart the country is the one your store shows the shopper; from checkout on, the shipping country.
  • Specific markets: pick your Shopify Markets; the rule applies to shoppers in any country of those markets. Saving the rule takes each market's countries as they are then, so save it again after changing a market's countries. Only markets made of countries are listed.
  • Shipping address, Only some postal codes or provinces: the rule applies when the shipping address has one of the Postal codes (up to 20 letters, digits and dashes; end with * for every code that starts the same, such as 100*) or one of the Provinces (the code Shopify uses, such as CA for California). Shoppers enter the address at checkout, so, as with Shipping methods, the product page, product cards and cart never use this rule: they show another rule's date, or the standard delivery time. It applies at checkout (Shopify Plus), on the order with Save the date on the order, and in the Order confirmation email snippet.

Ships from

The Ships from card on the Location tab limits a rule to some of your store's locations. Any location is the default: the rule applies whichever location the order ships from. Specific locations lets you pick from every location your store ships online orders from; saving the rule adds a newly picked location that Settings > Locations does not list yet to the end of that list (one you later remove there stays removed), where you can set its countries. While Settings > Locations is empty, that first pick turns locations on for the whole store, not only this rule: every product's dates then follow the location its order ships from, and stock starts syncing; the card says so before you save. A location that no longer exists in your store, or one this rule picked that you later removed from Settings > Locations, shows as Not in Settings > Locations and the rule never matches it: add it back in Settings, or pick another.

The rule applies when the shopper is dated from one of those locations, or, on an order, when Shopify assigns the order to one. A rule that names locations counts as more specific than one that does not.

Shipping methods

The Shipping methods card on the Location tab limits a rule to orders shipped with some methods. Any shipping method is the default. Specific shipping methods lets you list them: write each name exactly as shoppers see it at checkout (or the rate's code), or pick it from the names on your recent orders; a store that sells in several languages adds each translated name too; a name no recent order used is flagged, as for a speed.

Shoppers pick the method at checkout, so the product page, product cards and cart never use this rule: they show another rule's date, or the standard delivery time. The rule applies at checkout once a method is picked (Shopify Plus), on the order with Save the date on the order, and in the Order confirmation email snippet. A rule that names methods counts as more specific than one that does not, and its shipping speeds then apply only to the methods it lists. Its card on Delivery rules says Applies from checkout in place of the widget, and the rule editor says so above its preview, since product pages never show it. To show a faster date for Express on the product page as well, use a shipping speed under More options instead.

Delivery time

The Delivery time tab holds how many working days the rule counts. Weekends, holidays and the cut-off come from Settings, unless Working days gives the rule its own; the Delivery time card names the days it ships and delivers on and the cut-off it uses.

  • Delivery time, Processing: days to pick, pack and hand the order to the carrier. A product or variant can replace this with its own processing time: open it in Shopify admin and fill in Processing days (minimum) or (maximum). A variant's value wins over its product's; empty fields change nothing. No processing time hides the Processing fields and sets them to 0: an order placed before the cut-off goes to the carrier that day. Untick it to get your days back.
  • Delivery time, Shipping: days from the carrier to the customer's door. Days are whole numbers (0 to 30 for processing, 0 to 60 for shipping); anything else is rounded or capped, and the field says what it saves. A Maximum is never below its Minimum: a lower number saves as the Minimum and the field says so, and the Minimum stays as you set it. A note under the fields warns when Shipping starts at 0 days (the earliest date is then the day the carrier gets the order) or when the dates are more than 7 working days apart.
  • Delivery time, Count shipping days from: The day the order ships (processing first, then the shipping days; the usual way) or The day the order is placed (the shipping days include processing, as many carriers quote them). Counted from the order day, the date is never before the order ships: when the count would end earlier, it moves to the first day your carrier delivers from the ship day on. With 0 shipping days, either way, the date is the first day your carrier delivers on or after the ship day. Shipping speeds count the same way.
  • Working days, Use its own working days and cut-off: this rule's own Processing days, Delivery days, Order cut-off time (one time for every day, or Use a different cut-off on some days for one per processing day) and Carrier pickup time replace those in Settings, for products made or shipped on another schedule. Days off for this rule (Add a day off, with Last day (optional) for several in a row; up to 30) count on top of the holidays in Settings, which still apply. A country with its own cut-off under Settings keeps that cut-off for this rule too. In a cart, each product counts with its own rule's days.
  • More options, Offer more than one shipping speed: up to three named speeds, such as Express, each with its own name and carrier days. Add a speed fills in Express, Economy or Standard, whichever is not in use yet. Two speeds cannot share a name. A speed slower than the rule's own shipping days gets a note under it, in case it should be faster; the rule still saves.
  • Shipping methods, under a speed: write each method's name exactly as shoppers see it at checkout. In checkout, an order that picks one of those methods gets that speed's dates; a method no speed lists gets the rule's delivery time. The product page still lists every speed. The list offers the method names on your recent orders, so you can pick the exact spelling. When no recent order used a name you saved, the speed and its card on Delivery rules say so: if you renamed that rate in Shopify, rename it here too, or the speed stops dating orders.
  • More options, Start counting from a later date: for pre-orders and restocks. Once that date has passed, counting starts from the order day again. Until then the rule's card on the Rules page says which date processing counts from, and the widget treats the product as a pre-order: the first timeline step shows the start date (First step on a pre-order, Available by default) and the Pre-order line (Ships from [date] by default, where [date] is the first day the order can ship) shows under the message. Leave the Pre-order line empty to show no line.

Message

The text shoppers read. [dates] becomes the delivery dates, [countdown] the time left before the cut-off and [cutoff] today's cut-off time, shown in the shopper's own time (Cut-off time adds it). Every message can also show [country], the shopper's country, and [flag], its flag (Shopper's country, Country flag); [processing], the rule's processing days, such as 1–2 (Processing days); [today], today's date in the rule's date format (Today's date); and [link], the rule's Link (Link). Insert, under each message, adds any of them where the cursor is.

  • Language: pick a language your store sells in to write both messages, the Sold-out line and the step labels in it (and, on a rule with a start date, the Pre-order line and First step on a pre-order; on a rule with shipping speeds, the name shoppers see for its delivery time); the preview shows them. A store with one language has no Language card; the line at the bottom of the Message tab links to Open languages, which opens Settings > Languages to add and publish more. Fields left empty show the text in your default language. The Sold-out line, Tooltip, step tooltips and the name shoppers see for a delivery time stay off in every language while their default-language text is empty, so such a field says Write it in (your default language) first, and Save leaves it out until you do. Pick a template fills in its wording in the language you are writing (English, Vietnamese, French, German or Spanish; English for other languages). Countdown, dates and timeline settings are the same in every language.
  • Pick a template: ready-made wording for both messages, sorted by Kind: Everyday (Classic, Friendly, Short, Minimal, Delivered by, Thank you), Urgency (Urgent, Last chance, Time left), Gifts and holidays (Gift, Holiday) and Shipping perks (Free shipping). Each is listed with its countdown sentence and sample dates, whether the countdown is on or off. Edit the text and Custom is picked instead.
  • Countdown: Show a countdown, the Before the cut-off message, and How the countdown looks (01:59:27, 1h 59m 27s, 1h 59m, 1 hr 59 min, 1 hour 59 minutes, or Your own words, such as 2 giờ 5 phút 30 giây: type the Hours, Minutes and Seconds words under Countdown words, translated with the Language picker). The formats without seconds count whole minutes, rounded up. With Count down to The order cut-off, while a rule's start date is ahead there is no countdown, so shoppers see the After the cut-off message until then; Before the cut-off says so under the field. A countdown to A day and time still runs before the start date, and its messages read While it counts down and After the countdown. Leave out [countdown] and the message still changes to After the cut-off at the cut-off. With Show a countdown off, a page left open or cached past the cut-off still moves to the next dates.
  • Count down to: The order cut-off (the time in Settings), or A day and time you pick, such as the end of a sale, in the store's time. Counting to a day and time, the message is called While it counts down, it shows every day until then, and the dates do not change when it ends: shoppers then see After the countdown. [cutoff] still shows today's order cut-off, not that day and time. With The order cut-off, When the cut-off passes, count down to the next one keeps the countdown going after the cut-off, to the next working day's cut-off (skipping days off), with the dates of an order placed after the cut-off; shoppers see After the cut-off only when no cut-off comes in the next two weeks.
  • Message: the text after the cut-off, on days with no cut-off, and until a rule's start date. A shopper who keeps the page open past the cut-off sees it replace the countdown, with the later dates of an order placed after the cut-off. Pre-order line shows only on a rule with a start date, until that date. On a rule with shipping speeds, Name shoppers see for this delivery time (such as Standard) lists the rule's own dates first, above the speeds; leave it empty to list only the speeds. The rule's name is never shown to shoppers.
  • Formatting: each message, and Sold-out line, is an editor like the product description in Shopify: what you type shows styled as shoppers see it. Select words, then use the bar at the top: Bold, Italic, Underline (or ⌘B, ⌘I, ⌘U; Ctrl+B, Ctrl+I, Ctrl+U on Windows), Text color (pick a color, then Apply) Link (a page of your store such as /pages/shipping, or an https:// link, then Apply; with no words selected it adds the link itself, or with the cursor in a link it changes that link's address) and Clear formatting, which takes the styles and links off the selected words, or off the styled words the cursor is in. Emoji and icons adds an emoji such as 🚚 at the cursor, Image uploads a PNG, JPG, GIF or WEBP of up to 1 MB to your store's Files and shows it as tall as the text, and Insert adds a placeholder. Enter starts a new line; pasted text keeps its words, not its styles. Show HTML (the code button on the right) shows the message as HTML to edit by hand: the widget keeps the b, strong, i, em, u and br tags, span with a color, a with a link and img with an image from your store's Files, and drops any other tag. A message holds up to 500 characters, tags included; past that, a line under it says how long it is and Save waits until it is shorter.
  • Tooltip: a short note, such as Orders ship from our Hanoi warehouse. Shoppers see an ⓘ after the message and read the note when they point at it or tab to it. Leave it empty to show no ⓘ. Translate it with the Language picker like the messages. The Tooltip, Step tooltips, step labels, Countdown words, Today and Tomorrow each hold up to 200 characters; the count shows under the field.
  • Link and Link text: where [link] in a message goes, and the words it shows (the link itself when Link text is empty). The Link is the same in every language; Link text can be translated. Save asks you to fix a Link that is not a store page or an https:// link.
  • Sold-out line: shown instead of the dates while the variant a shopper picks cannot be bought, such as Back in stock soon, with no countdown, timeline or speeds. It shows whether or not Settings > Sold-out products hides sold-out dates; leave it empty to follow that setting. Pre-orders and backorders can still be bought, so they keep their dates, and a block on a page with no product shows the dates. A Sold out rule with a Sold-out line says Shows its sold-out line instead of a date on its card, and its card and live preview show the line. On other rules, the live preview's In stock / Sold out switch shows either view; it is never saved.
  • Dates: Which dates shows both delivery dates, the latest only or the earliest only, in both messages and each shipping speed. How dates look is the date format; Shopper's language writes month and weekday names in the shopper's language. Custom format lets you type your own with codes, such as %A, %-d %B for Monday, 21 September: %a Mon, %A Monday, %b Sep, %B September, %-d 21, %d 21 with two digits, %-m 9, %m 09, %y 26, %Y 2026. Other text prints as typed; < > & { } [ ] | \ and quotes are not allowed, and a saved format with [ or ] shows the default format instead. Names are in English. How timeline dates look offers the same formats except Custom format. Between two dates picks what stands between the dates of a range: –, →, - or ~. Say Today and Tomorrow instead of those dates writes the words you type under Today and Tomorrow (translated with the Language picker) for today's and tomorrow's date, in the messages, the timeline and each shipping speed; [today] stays the date. These words and the Countdown words leave out < > & " and |, and an empty one shows the default word.
  • Timeline: Show the timeline adds Ordered, Processing and Delivered steps with their dates (on screens narrower than 480 px the steps stack, one per row), which a new rule labels Purchased, Ships and Arrives. Rename them under Step labels; a rule saved before Ships and Arrives became the default keeps Processing and Delivered until you rename them there. Ships and Arrives can start on the same day when your carrier can deliver the day it ships. A rule with a start date also has First step on a pre-order, which replaces Ordered until the start date. Steps shows all 3 steps, 2 (Ordered and Delivered) or 1 (Delivered only). Step tooltips adds an ⓘ after a step's label with your note, read when shoppers point at it; leave one empty for no ⓘ. Two dates in a step puts a step's two dates On one line or On two lines.

Style

Pick a style sets the text, accent and timeline colors in one click; sizes, line thickness and corners stay as they are (Classic, Indigo, Fresh, Warm, Minimal, Ocean, Rose, Sunny). Change any of those colors and the style shows as Custom.

Banner style sets the card around the widget in one click, in the rule's own colors: Plain (no card), Soft card, Outlined, Raised or Gradient. It changes only the background, border, shadow and inner spacing; change one of them under Whole widget and the banner shows as Custom.

The cards below follow the parts of the widget. Whole widget: Accent color (icons, progress line, countdown box), background, border, Corner roundness, Shadow and Inner spacing. Message: Text color, Dates and countdown, Message size, Alignment and the Countdown box colors. Timeline: background, progress line, Icon circle size, Step names and Step dates. Icons: the icon for each step, or an uploaded image, which is stored in Content > Files.

Values left on Auto keep the default look; Alignment on Auto follows your theme, and so does Text color on Auto, so the widget stays readable on a dark theme; on a background of the widget's own (Whole widget), Auto is dark text instead. Rules that kept the old default text color (#1a1a1a) now use Auto, and picking #1a1a1a reads as Auto too. A color that shoppers can barely read on the widget's background gets a note under its field with the contrast and what to aim for; you can still save it.

Position

Click a spot on the sample product page (Above the title, Below the price, Above Add to cart or Below Add to cart); the widget moves there and the card names the spot. Or use a CSS selector for your theme. The first element that matches is used; if none does, the widget stays hidden. Position needs the app embed on, and wins over a block you placed by hand.

Width: Full width, Fit the content, or Up to a set width (280 to 800 px). A narrower widget can sit on the left, in the center or on the right (Align). Spacing adds room above and below it.