Overview
Variant breakouts allow you to configure specific product options (like Stone, Color, or Size) to be displayed as individual variant tiles instead of a single product tile. This is useful when each variant represents a distinct item that customers want to browse and compare independently.Before you begin
- Ensure you have products with the option attribute you want to break out (e.g., products with a “Stone” option)
- Verify that variants have unique images and meaningful differences
- Consider which collections would benefit from variant breakouts
Create a variant breakout
- Go to Merchandising → Variant Breakouts in the dashboard
- Click Create Breakout
- Configure the breakout settings:
Name
Enter a descriptive name for your breakout configuration (e.g., “Stone Breakout” or “Color Breakout for Apparel”).Option attribute
Select the product option attribute that should trigger the breakout. This dropdown shows all option attributes in your catalog (attributes that start withoptions.).
Examples:
Stone- For jewelry with different gemstonesColor- For apparel with distinct colorwaysSize- For products where size represents meaningfully different items
Applies to
Select where the variant breakout should be active:- Search & Collections — Applies to both search results and collection browse pages
- Collections Only — Only applies to collection browse pages (Browse API)
- Search Only — Only applies to search results (Search API)
You can use different strategies for search versus browse. For example, show variants in collections but keep products grouped in search results.
Target collections
Specify which collections should use this breakout:- All Collections — Leave this field empty to apply the breakout to all collections
- Specific Collections — Select one or more collection handles to target specific collections
Search results only apply breakouts that target all collections. A collection-scoped breakout with Applies to set to Search or Both is skipped in Search. Use a store-wide breakout if you need breakout behavior in Search results.
Excluded collections
Optionally select collections the breakout should never run on. Use the Excluded collections field to select one or more collection handles. The breakout skips those collection pages even when they fall inside its targeting. This is most useful for store-wide breakouts. Instead of enumerating every collection you want as a target, leave Target collections empty and exclude the few collections that should keep standard product tiles. On an excluded collection page, products covered by the breakout display as single product tiles instead of variant tiles. Example — store-wide Color breakout, except Clearance:- Target Collections: All collections (empty)
- Excluded Collections:
clearance
Exclusions only apply where a collection context exists. A store-wide breakout with exclusions still runs in Search results. To remove individual variants from the tile grid instead of whole collection pages, use Conditions.
Target products
Specify which products should use this breakout:- All Products — Leave this field empty to apply the breakout to all products (within the target collections)
- Specific Products — Select one or more products to target only those products
When you combine product targeting with collection targeting, the breakout uses AND logic: it only applies to the selected products within the selected collections. This allows you to create highly specific breakout configurations.
- Target a specific product line within a broader collection
- Create breakouts for featured products while keeping other products as standard tiles
- Test variant breakouts on a subset of products before rolling out to an entire collection
Preview a targeted product
The Preview card shows how a targeted product splits into tiles with the current settings. When you target more than one specific product, a Preview product select appears above the preview. Select any targeted product to see it split into tiles. Switching products reloads the variant tiles immediately. By default the preview shows the first unresolved target if one exists, otherwise the first targeted product. If you remove the previewed product from the targets, the preview falls back to that default. When no products are targeted, the preview samples a product that has the selected option.Conditions
Optionally add conditions that exclude variants from the breakout. Matching variants don’t get their own tile, but their siblings still break out as normal. Use this to keep specific variants out of the tile grid without dropping the whole product from the breakout.- In the Conditions card on the breakout form, click Add condition.
- Select a variant-grain attribute. You can select a variant column under
variants.*(for examplevariants.on_sale,variants.inventory_quantity, orvariants.compare_at_price), a variant metafield undervariant_metafields.*(for examplevariant_metafields.custom.material, including nested JSON paths likevariant_metafields.custom.specs.weight), or a variant option underoptions.*(for exampleoptions.Sizeoroptions.Color). - Select an operator and enter a value. Supported operators depend on the field’s value type:
- Text fields and variant options (
options.*):equals,does not equal,is in,is not in,contains,begins with,ends with,is empty,is not empty. - Numeric and datetime fields:
equals,does not equal,greater than,less than,between,is empty,is not empty. - Boolean fields:
equals,does not equal,is empty,is not empty.
- Text fields and variant options (
- Add more conditions and switch the combinator between AND and OR to control how they combine.
Conditions apply per variant. If every variant of a product matches the exclusion, that product falls through to a single standard product tile instead of breaking out. See Exclusion conditions for more.
- Field:
variants.on_sale - Operator:
equals - Value:
true
- Field:
variant_metafields.custom.discontinued - Operator:
equals - Value:
true
custom.discontinued metafield is true, while sibling styles keep breaking out. Variant metafield conditions use the metafield’s declared value type (string, number, boolean, or datetime) to determine which operators are available.
Example — hide a specific option value:
- Field:
options.Size - Operator:
equals - Value:
Small
options.Size and options.size refer to the same option.
Target blocks
Choose whether the breakout also applies to block recommendations:- Off (default) — Blocks continue to return standard product tiles.
- On — Blocks return variant tiles for products in scope of the breakout, matching Browse and Search behavior.
Include option value in title
Control whether variant tile titles include the option value appended to the product title.- Enabled (default) — Variant tiles display titles in the format
"{product title} - {option value}"(e.g., “Amethyst Ring - Rose Quartz”) - Disabled — Variant tiles use the original product title without modification
Merchandising rule warnings
When configuring a breakout that applies to collections, the form displays a warning if any merchandising rules have the Disable Variant Breakouts option enabled. This alert lists the affected rule name, collection, and sort order so you know which collection pages will override your breakout. The warning updates automatically as you change the Applies To or Target Collections fields.Save the breakout
When you are ready to save, you have two options:- Save Draft — Saves the breakout configuration without making it live. Use this to prepare and review your configuration before activating it.
- Publish — Saves and immediately activates the breakout. Variant tiles will begin appearing in API responses right away.
Track propagation after saving
After you save or publish, Layers rebuilds the breakout’s collection scope in the background. A Publishing variant breakout toast with a spinner appears while the rebuild runs, then updates to a Published confirmation once the change has propagated. Only you (the person who made the change) see these toasts. Rebuilds triggered by background syncs don’t show them. The Status badge on the Variant Breakouts list shows the same progression to everyone: Publishing with a spinner while the rebuild runs, Failed if the rebuild fails, and Published once the change is live.What happens next
Once your variant breakout is active:- Products with the option will be expanded into individual variant tiles
- Products without the option will continue to display as standard product tiles
- API responses will include a
__typenamefield identifying each tile as"Product"or"Variant" - Total results and facet counts will reflect tile counts (not product counts)
- Pagination will operate on tiles
Example scenarios
Single option breakout
Goal: Display rings with different gemstones as individual tiles in the “Rings” collection. Configuration:- Name:
Gemstone Breakout - Option Attribute:
Stone - Applies To:
Both - Target Collections:
rings,gemstone-jewelry - Target Products: All products
- Status:
Published
Multiple option breakouts in the same collection
Goal: Display both jewelry with different gemstones and apparel with different colors as individual tiles in the “New Arrivals” collection. Configuration 1:- Name:
Gemstone Breakout - Option Attribute:
Stone - Applies To:
Both - Target Collections: All collections
- Target Products: All products
- Status:
Published
- Name:
Color Breakout - Option Attribute:
Color - Applies To:
Both - Target Collections: All collections
- Target Products: All products
- Status:
Published
Product-specific targeting
Goal: Break out only specific premium rings by gemstone in the “Rings” collection, while keeping other rings as standard product tiles. Configuration:- Name:
Premium Gemstone Breakout - Option Attribute:
Stone - Applies To:
Both - Target Collections:
rings - Target Products:
Premium Amethyst Ring,Premium Rose Quartz Ring,Premium Tiger Eye Ring - Status:
Published
Combining product and collection targeting
Goal: Break out color variants for a specific apparel line only within the “Sale” collection. Configuration:- Name:
Sale Apparel Color Breakout - Option Attribute:
Color - Applies To:
Both - Target Collections:
sale - Target Products:
Summer Hoodie,Beach T-Shirt,Sunset Joggers - Status:
Published
Coexisting breakouts with product targeting
Goal: Create two different color breakouts for different product lines in the same collection. Configuration 1:- Name:
Premium Apparel Color Breakout - Option Attribute:
Color - Applies To:
Both - Target Collections:
clothing - Target Products:
Premium Hoodie,Premium T-Shirt - Status:
Published
- Name:
Basic Apparel Color Breakout - Option Attribute:
Color - Applies To:
Both - Target Collections:
clothing - Target Products:
Basic Hoodie,Basic T-Shirt - Status:
Published
Color) and target the same collection (clothing), but they don’t conflict because they target different products. The premium products are broken out by the first breakout, and the basic products are broken out by the second breakout. This is possible because product targeting creates distinct scopes that don’t overlap.
Troubleshooting
My breakout isn't showing in results
My breakout isn't showing in results
- Verify the breakout is published (not in draft status)
- Check that you’re viewing a collection or search result where the breakout applies
- Ensure products in the collection have the specified option attribute
- Confirm the option attribute name matches exactly (case-sensitive)
I see a validation error about overlapping collections or products
I see a validation error about overlapping collections or products
An enabled breakout already covers the collections or products you selected. The validation rules are:
- Breakouts with product targeting can coexist with breakouts without product targeting — the product-targeted one wins for its products, and the catch-all covers everything else.
- Breakouts with the same option code that both omit product targeting cannot overlap on collections.
- Any product can only be targeted by one enabled breakout per applies-to surface, regardless of option code. Two product-targeted breakouts that both apply to the same surface (search results or collection pages) cannot list the same product — the runtime breaks a product out by a single option code, so the second would silently do nothing. A search-only breakout and a collections-only breakout can share a product; a breakout set to both conflicts with any same-product breakout on either surface.
- Remove the overlapping product from one of the breakouts.
- Disable one of the conflicting breakouts.
- Narrow the target collections so the two breakouts no longer overlap.
- Split the breakouts by surface — set one to search only and the other to collections only so they no longer run in the same query.
Understanding facet counts with variant breakouts
Understanding facet counts with variant breakouts
Facet counts reflect unique tile counts, not total variant counts. When a product is broken out by an option (e.g., Color), the facet count increases by the number of unique option values, not the total number of variants.Example: A product with 4 variants (Red/S, Red/M, Blue/S, Blue/M) broken out by Color produces 2 tiles (Red, Blue) and contributes 2 to facet counts, not 4.This ensures facet counts match the number of unique tiles displayed in results.
Variant tiles don't have unique images
Variant tiles don't have unique images
Ensure each variant has its own image assigned in Shopify. Variant breakouts work best when variants have distinct visual representations.
Next steps
- Edit or delete a variant breakout
- Pin variant tiles in merchandising rules
- Learn more about variant breakouts