Milestone documentation

    Loading suggestions…

    ↑↓ to move ↵ to open esc to close

    Documentation

    Routine builder

    Tabbed routines — Morning, Evening, Weekly — each sequencing products into numbered steps with usage guidance. Steps take their product from a picker you fill in, or from the set contents or complementary list of the product being viewed, so one template can serve a whole catalog.

    Merchant-addable
    Yes, in supported locations
    Settings
    30
    Block types
    2
    Max blocks
    5
    File
    sections/routine-builder.liquid

    Excluded from: header, footer section groups.

    Included in supplied templates: page.how-to-layer, page.routine

    When to use it

    Dedicated routine pages with a curated sequence, a fixed routine on a home or collection page, or an optional product-specific builder. Start with the placement guide in Set up routines.

    Setting it up

    1. For a named routine, follow Create routine pages: create and assign its own page template before configuring the builder. For other placements, use the product, home, or collection instructions. The section cannot go in header or footer groups.
    2. Write Eyebrow text, Heading, and Body text under Content. All three are optional — leave one blank and it is left out rather than rendered empty. Heading size defaults to Small. The heading has a wider text measure, and eyebrow size follows the heading, while body text follows the global Body font size setting.
    3. Choose Step source. The rest of the setup follows from it. Step blocks (same on every product) gives every step a product you pick by hand, identical on every page. Set contents or complementary products uses the current product’s nonempty custom.set_contents list, otherwise its Search and Discovery complementary list. Pages, home pages, and collection pages should use Step blocks. A collection never populates builder steps.
    4. For a set, fill custom.set_contents with a List of products in order. For an individual product, curate Complementary products in Shopify Search & Discovery. The theme uses nonempty set contents first, otherwise complementary products, server-side so the routine renders without JavaScript.
    5. Add a Routine tab block per phase of the routine and name it with Tab name. Up to five tabs. The first one opens by default.
    6. Per tab, decide Show complete routine quick add — a single control that lets a customer review the selected version’s missing products and add them together — and write its Quick add label. Products are added as separate cart items, not as a bundle.
    7. Follow Set up routine discounts: create an automatic Amount off products discount for the routine’s collection, set its minimum eligible quantity and combinations, then write Offer message on each eligible tab to match. Quantity rules count eligible units, not distinct steps. Shopify applies the discount; the theme displays your message and the bag lists the actual product savings after adding.
    8. Enable Show Essentials and Extended versions to offer two versions of each routine. Set each Product step’s Include step in to Essentials and Extended or Extended only. Shared steps remain visible in both versions; counts and totals update with the selection.
    9. Enable Let customers exclude products they own to show I already own this choices. Keep quick add enabled on the tab so customers can review and add only their missing products. These choices last for this section visit.
    10. Add a Product step block inside each tab, one per step, and drag them into order. Step name is the shopper-facing label and also identifies the step in the editor.
    11. Write Usage guidance on each step — the instruction for that stage of the routine.
    12. In Step blocks mode, pick the Product for each step and, if you want something other than the product image on the card, a Custom image. Before you select a product, the theme editor shows a full sample card with a placeholder image, example price, and disabled add button so you can preview the design. A custom image replaces the placeholder. The setup note stays fully visible outside the scrolling usage guidance; sample cards grow as needed at every card height. Sample cards appear in the tab counts and summary only in the editor; customers see only steps with selected products.
    13. In Set contents or complementary products mode, tell each step which product to claim using Match by: Product type, Product tag, or Position in the list.
    14. Set Match value to the type or tag to look for. Matching is exact and ignores case, and a tag has to match the whole tag rather than part of it. With Position in the list there is no match value — the step takes whatever sits at that place.
    15. Set Match position when more than one complementary product fits the same rule: 1 takes the first match, 2 the second, up to 6. With Position in the list, it is the place in the list itself.
    16. Fill in Product on each step in this mode too. It is the fallback when nothing matches, and a step with neither a match nor a fallback is hidden from customers.
    17. Under Layout, set Tab bar size for desktop to Small, Medium, or Large. Large is the default and preserves the original tab bar dimensions; smaller sizes reduce its width and height. When labels do not fit, or four or more tabs are present, navigation becomes a dropdown; tabs do not scroll.
    18. Under Layout, leave Show routine summary on to give each tab a summary strip above the steps, or turn it off for just the cards. The default Product card layout is Image beside content, which stacks on tablets and phones. Choose Image above content for vertically arranged cards.
    19. The compact starting layout uses Landscape images and Small card height. Set Image ratio for desktop for Image above content and Mobile image ratio independently (Portrait by default) for phones, then set Card height to Small, Medium, or Large. Card height is what decides how much usage guidance is visible before it scrolls. Step cards and the section header are centered on desktop. Mobile header alignment aligns the eyebrow, heading, and body text on screens below 750px; it defaults to Center, and Left lines all three up on the left edge, including the short rule under the eyebrow.
    20. Set Color scheme, then Top spacing and Bottom spacing under Padding. The default color is Scheme 7 (the stored scheme-6 color scheme), and both spacing values default to 80px. Content is centered within the theme page width and capped at 1280px, while the background spans the section. The tabs and numbered path use compact spacing.
    21. Preview against several real products. In Set contents or complementary products mode, an unresolved step still shows in the theme editor as a slot explaining why it is empty, listing the product types actually present in the list when you are matching by type, so you can correct the match value against real data.

    Where the content comes from

    Blocks own the editorial — tab names, step names, usage guidance, and the order. Where each product comes from depends on Step source: either the step's own product picker, or the current product’s set contents or complementary list. Shopify owns prices, images, and availability.

    Notes and cautions

    • Steps match independently, so two steps asking for the same product type both resolve to the same product. Use Match position 1 and 2 to take the first and second match instead.
    • When matching a product source list, the product being viewed and deleted references are excluded. Step blocks use their selected Product directly.
    • Position matching counts the list after those exclusions, so it shifts if a referenced product is deleted. Type and tag matching survives that; prefer it unless the order is the only thing distinguishing the steps.
    • An unresolved step is hidden from customers rather than shown as a placeholder — placeholder copy fails Theme Store review. The tab count is rewritten from the steps that actually rendered, so it never advertises a step nobody can see.
    • Custom image applies only in Step blocks mode. When steps come from the product being viewed, the card always uses that product's own image.
    • On a page with no product, Set contents or complementary products mode falls back to the step pickers, so the section still renders something rather than collapsing.
    • Tablets and desktops show three compact step cards across, with horizontal navigation when there are more than three steps. One or two steps stay centered at the same card width. Below 990px, Image beside content cards stack the image above the content while keeping the selected Card height cap, so short instructions do not leave a large empty space. Phones show one step at a time.
    • Long usage guidance scrolls inside the card so the product name and its actions stay visible. Raise Card height rather than trimming the instruction. A long product name or step name makes the card taller instead of shrinking the guidance, so at least a few lines of usage guidance always show.

    Routine builder setup

    Start with the guide for your placement: routine pages, product pages, home page, or collection pages. The Routines overview explains how the builder, library, and optional product-page preview connect.

    Routine tabs own cadence and step order. Each Product step owns its name, usage guidance, matching rule, and fallback Product picker. Product data supplies images, titles, prices, variants, and availability.

    Product card layout and image ratios

    Product card layout offers Image above content and Image beside content. Image ratio for desktop appears only for Image above content, with Landscape (6:5), Square (1:1), and Portrait (4:5) choices. Image beside content fills the desktop card height and stacks the image above the content on smaller screens.

    Mobile image ratio is always available for both layouts. It independently selects Landscape (6:5), Square (1:1), or Portrait (4:5) below 750px. Portrait is the default; there is no Same as desktop option. Desktop ratio changes do not change the mobile crop.

    Product interactions

    The plus button adds a product with one variant directly to the bag, including a single named size such as 50 ml. Products with multiple variants show Choose options on hover and keyboard focus; selecting an available variant adds it to the bag. The complete routine review only offers a variant selector when the product has multiple variants. Selected options retain their button colors on hover and keyboard focus, with a visible focus outline. Products that require a subscription continue to link to their product page for plan selection.

    Hovering a step’s product title applies the global Image hover effect to its image and the global Text link hover effect to its title. Underline sweep is excluded for these titles; Fade, Lift, and None follow the global selection. Keyboard focus on the title also activates its image treatment. Ownership checkboxes and purchase controls do not trigger the image effect. Image effects respect reduced motion and remain within the card’s media frame.

    Tab bar size for desktop sets the navigation width and control size. Up to three routines use equal-width tabs with normal-case labels when every label fits. Each selected tab fills its column, with equal outer padding on both ends of the bar. The bar can widen by up to 15% to accommodate labels while preserving space around the text and counts. Navigation switches automatically to a centered dropdown whenever labels and their full padding cannot fit, even with one routine, or when four or more routines are shown on the current page. Tabs never scroll. The layout adjusts after resizing and font loading. The narrower dropdown trigger uses the same button colors as the selected tabs, with light text on the theme’s button background. The menu uses the theme’s typography and corners. Its compact menu overlays the product cards without changing the section height. Centered sentence-case labels and a subtle checkmark identify the selected routine. Each option shows the routine name and current step count, updating when shoppers switch between Essential and Extended. Open and close motion follows the global transition style and interface speed, with immediate toggles for No motion or reduced motion. Arrow keys navigate choices, Enter selects, and Escape closes the menu. Selecting a routine displays its steps; selecting its block in the theme editor also updates the dropdown. Switching routines follows the same global motion style and interface speed, including an animated change in panel height. No motion and reduced motion switch panels immediately. Routine summaries and batch quick add initialize when that routine is first selected; subsequent selections preserve the shopper’s choices.

    Under Step source, choose Step blocks (same on every product) for manual selections, or Set contents or complementary products for per-product selections. The latter reads custom.set_contents when it is a nonempty List of products metafield, then uses Search and Discovery complementary products when the field is empty or unavailable. Steps match within that list by product type, tag, or position. An unmatched step uses its Product picker or is hidden from customers when that picker is empty.

    For a set, Evidence cards uses the same custom.set_contents list to show what is included. Configure step guidance and matching for the actual products. Neither the product templates nor the set template include Routine builder; they link to routine pages through Product routine. Routine builder does not configure bundle inventory or component quantities.

    Routine discounts

    Use a Shopify automatic Amount off products discount scoped to the routine’s collection. Shopify owns eligibility, dates, combinations, and the amount applied. The theme displays your Offer message; the bag displays the product savings Shopify actually applied after adding items.

    Follow the numbered Set up routine discounts guide for a complete example, screenshots, and checks for alternative tabs and owned products.

    1. Create a collection for the routine

    In Products → Collections, create a manual collection, for example Facial routine, and add exactly the products the routine’s steps use. Check the products are available on the Online Store sales channel; a product that is not cannot be added to the bag.

    2. Create an automatic discount

    In Discounts → Create discount, choose Amount off products, then:

    FieldSetting
    MethodAutomatic discount. A code only works if the customer types it at checkout, so the routine builder never shows it.
    TitleA customer-facing name, such as Daylight routine — 10% off 3+. Customers see it in the bag and at checkout.
    Discount valuePercentage or Fixed amount, for example 10%.
    Applies toSpecific collections → the routine’s collection. Avoid adding unrelated collections or products.
    Purchase type, if shownOne-time purchase. Subscription products are left out of the routine’s batch add.
    Minimum purchase requirementsMinimum quantity of items, for example 3. Shopify counts eligible units, including repeated units of one product; it does not require one of every distinct step.
    CombinationsChoose deliberately. Leave combinations off for an offer that must not stack with other discounts. Shared products can be eligible for more than one routine offer.
    Schedule / Active datesUse the intended start and optional end date in the store’s time zone.

    Save. The discount’s status must read Active. Buy X get Y also works, but it discounts only the “get” items. Amount off order and Free shipping discounts apply to the whole order at checkout, so the routine confirmation never reports them.

    3. Write the Offer message

    In the theme editor, select the routine’s Routine tab and fill in Offer message. It must match the discount exactly: the same value, eligible products, and condition. For 10% off a routine collection with a minimum of 3, write Save 10% on 3 or more products from this routine. Do not describe a quantity rule as requiring every distinct routine product. The theme shows the message as written and cannot check it against your discount, so change or clear it whenever the discount changes or ends.

    Offer message appears only while Show complete routine quick add is on, and leaving it blank hides it. Configure the message on every eligible tab, including alternative night schedules. One collection and offer can cover all three night tabs when each uses products from that collection. Each independently scoped offer needs its own collection and automatic discount; Shopify allows up to 25 active automatic discounts.

    4. Test it

    Open the routine in the theme preview, open the review, and select Add routine. With the cart drawer, the bag lists the products at their discounted prices with the discount’s title. An Added products confirmation alone does not prove that a discount applied. Test a qualifying purchase, a below-minimum purchase, and owned-product exclusions; use the detailed guide’s checklist.

    What customers see

    • Before adding, the quick add button shows a tag icon beside the product count and total. Hovering the icon on desktop, or tabbing to the button, reveals the message in a small bubble above the button; on phones, tapping the icon opens the bubble below it, and tapping again or anywhere else closes it. The bubble stays within the button’s width and wraps long messages, so the section edge does not cut off the offer. Screen readers announce the message as part of the button. Opening the review shows the message under the Review your routine title.
    • Below the routine’s step cards, once per routine, the message appears with the tag icon and the note Applies when you add the complete routine. When the step carousel shows its arrows, the message sits at the start of the same row; otherwise it is centered under the cards. It sits with the routine rather than on each step card. The Offer message must state the actual eligibility rule; the theme cannot verify Shopify’s settings.
    • Prices and totals before adding are regular prices. Shopify confirms automatic discounts only once products are in the bag, and the theme never estimates them.
    • After adding, a savings confirmation, when available, reports only Shopify’s discount on the units just added; samples and subscription items are excluded. If it only confirms the product count, check the bag for the applied promotion. When no discount applies, it says nothing about savings. With the cart page instead of the drawer, customers go straight to the bag, which lists every applied discount.

    The complete routine discount tooltip wraps inside the quick-add button without clipping at the section edge.

    When the discount does not apply

    • The discount is not Active, or its dates have ended.
    • A step’s product is missing from the collection, or the step uses a different product.
    • The customer added fewer items than the minimum, for example after checking I already own this on several steps. Items from the same collection already in the bag count toward the minimum.
    • Another promotion conflicts with it. Check combinations and shared collection products.
    • The discount is a code, not automatic.

    See Shopify’s amount-off discount instructions and combination rules.

    See Routines for setup and Evidence cards for the included-product display.

    Normal body paragraphs follow Theme settings → Typography → Body font size, with a 15px minimum below 750px. Heading and content-size controls do not change paragraph sizes.

    Routine builder design

    100%

    Use the zoom controls, then scroll to inspect the image. Press Escape to close.

    Section settings

    Every setting on the section itself, in the order it appears in the theme editor. Group headings match the editor's own grouping.

    Content

    Eyebrow textText
    ID
    eyebrow
    Default
    BUILD YOUR RITUAL
    HeadingText
    ID
    heading
    Default
    A routine, made simple
    Heading sizeDropdown
    ID
    heading_size
    Default
    Small
    • Smallsmall
    • Mediummedium
    • Largelarge
    Body textRich text
    ID
    description
    Default
    <p>Thoughtfully layered skin care for every part of your week.</p>

    Add routine tabs, then add and reorder product steps inside each tab. The first tab opens by default.

    Step products

    Step sourceDropdown

    On product pages, uses the ordered custom.set_contents product list when filled; otherwise uses Search and Discovery complementary products. Each step matches a product from that list, then falls back to its own Product setting. Pages without a product use the step pickers.

    ID
    steps_source
    Default
    Step blocks (same on every product)
    • Step blocks (same on every product)blocks
    • Set contents or complementary productsproduct

    Layout

    Show Essentials and Extended versionsCheckbox

    Mark additional product steps as Extended. Shared steps stay visible in both versions.

    ID
    enable_versions
    Default
    On
    Let customers exclude products they ownCheckbox

    Adds an I already own this choice to purchasable steps. The routine review adds only missing products.

    ID
    allow_owned
    Default
    On
    Tab bar size for desktopDropdown
    ID
    tab_bar_size
    Default
    Large
    • Smallsmall
    • Mediummedium
    • Largelarge
    Show routine summaryCheckbox
    ID
    show_summary
    Default
    On
    Product card layoutDropdown

    The image beside content layout stacks on mobile.

    ID
    card_layout
    Default
    Image beside content
    • Image above contentstacked
    • Image beside contentsplit
    Image ratio for desktopDropdown
    ID
    image_ratio
    Default
    Landscape
    Shown when
    card_layout is 'stacked'
    • Landscapelandscape
    • Squaresquare
    • Portraitportrait
    Mobile image ratioDropdown
    ID
    mobile_image_ratio
    Default
    Portrait
    • Landscapelandscape
    • Squaresquare
    • Portraitportrait
    Card heightDropdown

    Long usage guidance scrolls inside the card so names and product actions remain visible.

    ID
    card_size
    Default
    Small
    • Smallsmall
    • Mediummedium
    • Largelarge
    Mobile header alignmentDropdown

    Aligns the eyebrow, heading, and body text on screens below 750px.

    ID
    mobile_header_alignment
    Default
    Center
    • Leftleft
    • Centercenter

    Color

    Color schemeColor scheme
    ID
    color_scheme
    Default
    scheme-6

    Padding

    Top spacingSlider
    ID
    padding_top
    Default
    80
    Range
    0px to 120px, in steps of 4px
    Bottom spacingSlider
    ID
    padding_bottom
    Default
    80
    Range
    0px to 120px, in steps of 4px

    Blocks

    Blocks are added, reordered, duplicated, and removed inside the section. Each type has its own settings.

    Routine tab _routine-tab

    Tab nameText
    ID
    heading
    Default
    Morning
    Show complete routine quick addCheckbox

    Lets customers review and add every available product in this routine. Products remain separate cart items.

    ID
    enable_quick_add
    Default
    On
    Quick add labelText
    ID
    quick_add_label
    Default
    Add complete routine
    Shown when
    enable_quick_add
    Offer messageText

    Must exactly match an active automatic discount in Shopify admin under Discounts, including its value and condition, such as Add the full routine and save 30%. The theme shows this message but does not apply discounts.

    ID
    offer_message
    Placeholder
    Add the full routine and save 30%
    Shown when
    enable_quick_add

    Product step _routine-step

    Added inside each Routine tab, and reordered within it.

    Step nameText

    This name also identifies the step in the theme editor.

    ID
    title
    Default
    Step 1
    Include step inDropdown
    ID
    routine_version
    Default
    Essentials and Extended
    Shown when
    enable_versions
    • Essentials and Extendedessential
    • Extended onlyextended
    ProductProduct

    Also the fallback when the section takes its steps from the product being viewed and this step matches nothing.

    ID
    product
    Custom imageImage

    Uses the product image when left blank.

    ID
    custom_image
    Shown when
    steps_source is 'blocks'
    Mobile imageImage

    Optional image for screens below 750px. Uses the custom image or product image when empty.

    ID
    mobile_image
    Shown when
    steps_source is 'blocks'
    Usage guidanceText
    ID
    guidance
    Default
    Apply gently to clean skin.
    Match byDropdown

    How this step selects a product from the set contents or complementary list.

    ID
    match_type
    Default
    Product type
    Shown when
    steps_source is 'product'
    • Product typetype
    • Product tagtag
    • Position in the listposition
    Match valueText

    The product type or tag a product in the source list must carry to fill this step. Matching is exact and not case sensitive.

    ID
    match_value
    Shown when
    steps_source is 'product' and match_type is not 'position'
    Match positionSlider

    Which match to use when more than one product in the source list fits. With Position in the list, this is the place in the list to take.

    ID
    match_position
    Default
    1
    Range
    1 to 6, in steps of 1
    Shown when
    steps_source is 'product'