Overview
Product Sequences allow you to create a consistent browsing experience by grouping related products together. This feature is particularly useful for ensuring sets of matching products (such as coordinating tops and bottoms) appear next to each other in collection pages.Product Sequences work in conjunction with Sort Orders and require sequence mode to be enabled in your Sort Order settings.
How sequences work
When you create a product sequence, you’re defining a group of products that should always appear together in your storefront. The sequence logic ensures that:- Products within the same sequence group stay together
- Products maintain their defined order within the sequence
- The sequence applies across your selected collection or all collections
Draft product support
You can include draft (unpublished) products in a sequence. This lets you prepare sequences ahead of time — for example, adding upcoming products before they go live. Draft products within a sequence are marked with a Draft badge in the sequence form so you can easily distinguish them from active products. A sequence requires at least 2 active (published) products to become enabled on your storefront. If a sequence contains fewer than 2 active products — for example, because some are still in draft — the sequence remains in Draft status and is excluded from storefront results. Once enough products are published and meet any configured conditions, Layers automatically activates the sequence.Sequence control
Sequences can be controlled at multiple levels:- Sort Orders: Enable sequences in your sort order settings to activate sequence mode
- Merchandising Rules: Control whether sequences are preserved or disabled for specific segments. When you create a new merchandising rule and select a sort order with sequences enabled, Group Related Products Sequentially defaults to on so your sequences are preserved automatically. You can turn it off if you need to override this for a specific rule.
- Blocks: Blocks can independently control sequence behavior through a dashboard option, bypassing merchandising rules entirely
Sequence architecture
Product Sequences operate at multiple scopes and integrate with Sort Orders to maintain consistent product groupings.Example use case
A common use case for Product Sequences is coordinating fashion items:- A matching top and bottom that should appear side by side
- A complete outfit (shirt, pants, accessories) that should be displayed as a group
- A set of products that are frequently purchased together
Automatic sequence creation
Beta Feature: Automatic sequence creation via metafields is currently in beta and only processes during bulk operations, not incrementally. This means sequences are created or updated when performing bulk data imports from Shopify, but not during real-time product updates.
Configuration dashboard
You can configure which metafields should be used for automatic sequence creation through the dashboard at Settings > Sequences. This interface allows you to:- Add multiple metafield configurations (namespace and key pairs)
- Control whether each metafield already includes the current product
- Remove metafield configurations that are no longer needed
Auto: {namespace}.{key} (e.g., “Auto: layers.global_sequence” or “Auto: custom.related_products”).
Metafield configuration options
When configuring a sequence metafield, you need to specify:- Namespace: The metafield namespace (e.g.,
layers,custom) - Key: The metafield key (e.g.,
global_sequence,related_products) - Includes current product: Whether the metafield value already contains the current product
- Enabled (default): The metafield value already includes the current product. Layers will use the product list as-is.
- Disabled: The metafield value contains only related products. Layers will automatically prepend the current product to create the sequence.
AI-powered ordering
When automatic sequences are created from metafields, products are grouped in the order they appear in the metafield value. With AI-powered ordering enabled, Layers uses AI to rearrange the products into a more logical merchandising order before saving the sequence. For example, the AI may place tops before bottoms, outerwear before innerwear, and accessories last.AI-powered ordering only applies to automatic sequences created from metafields. Manually created sequences are not affected.
Enabling AI-powered ordering
You can enable AI-powered ordering for your store under Settings > Sequences. Toggle AI sequence ordering on to activate the feature. When disabled, automatic sequences use the order products appear in the metafield value.How it works
When AI-powered ordering is enabled and a metafield triggers an automatic sequence:- Layers reads the product titles from your catalog
- The AI evaluates the titles and determines a logical display order based on merchandising best practices
- The reordered product list is saved as the sequence
Custom ordering rules
You can provide custom ordering instructions that guide how the AI arranges products within a sequence. This is useful when your catalog has domain-specific conventions that the default ordering logic may not capture. To configure custom rules:- Go to Settings > Sequences.
- In the AI sequence ordering card, enter your instructions in the Ordering rules text field.
- Save.
- “Always place dresses before skirts”
- “Group products by color family, with neutrals last”
- “Place best-selling categories first: tops, then bottoms, then accessories”
When to use it
AI-powered ordering is useful when:- Your metafield values don’t have a deliberate product order
- You want a consistent merchandising presentation without manually sorting each sequence
- Your catalog contains outfit sets, coordinated collections, or product bundles where display order matters
Default configuration example
The default configuration uses thelayers.global_sequence metafield:
Custom configuration example
You can configure custom metafields for different use cases. For example, a “related products” metafield where the current product should be included:[Product A, Product B, Product C], with Product A prepended automatically.
Sequence conditions
You can attach conditions to a product sequence so it only becomes active when every product in the group satisfies those conditions. Sequences that fail their conditions are automatically set to Draft status and excluded from storefront results until the conditions are met again. Conditions are evaluated against product attributes such as title, vendor, product type, tags, price range, availability, metafields, and calculated attributes. Layers re-evaluates conditions automatically whenever a product in the sequence is updated during catalog sync.Per-sequence conditions
Each sequence can have its own set of conditions. When you create or edit a sequence, the Conditions section lets you build rules using product attributes. The sequence is active only when all products in the group match every rule. For example, you could create a condition that checks whether all products in the sequence are available. If one product sells out, the entire sequence moves to Draft until stock is replenished.Global sequence conditions
Global conditions apply to every sequence in your store and are configured under Settings > Sequences. They work alongside per-sequence conditions — a sequence must satisfy both global and per-sequence conditions to be active. Global conditions are useful when you want a store-wide policy, such as requiring all sequenced products to be in stock or to belong to a particular product type. When you update global conditions, Layers re-evaluates every sequence in the background.Active and draft status
Each sequence displays a status badge in the sequences table:- Active — The sequence has at least 2 active (published) products and all products satisfy both global and per-sequence conditions. The sequence appears on your storefront.
- Draft — The sequence has fewer than 2 active products, or at least one product fails a condition. The sequence is hidden from storefront results.
Why sequences matter
Sequences keep related products together so shoppers can quickly see matching items and complete looks. They work alongside your base sort order to preserve both relevance and grouping. For step‑by‑step instructions, see:Managing product sequences
For editing or removing sequences, use the Help tutorials for clear, step‑by‑step guidance:Best practices
- Be strategic with sequences: Only create sequences for products that genuinely benefit from being grouped together
- Consider collection specificity: Use the “all” collection with caution - it’s often better to create specific sequences for relevant collections
- Maintain reasonable group sizes: Keep sequence groups to a manageable size (typically 2-5 products) for the best visual presentation
- Update regularly: Review your sequences when adding new products or during seasonal changes to ensure they remain relevant