Configuration options
Applies to
Control where your variant breakout is active:- Both - 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)
Target collections
You can configure variant breakouts to apply:- To all collections - Leave the target collections field empty
- To specific collections - Select one or more collection handles
Search results only run breakouts that apply to Search and target all collections. A collection-scoped breakout is skipped in Search even when its Applies to is Search or Both. Use a store-wide breakout to affect Search.
Target products
You can optionally configure variant breakouts to apply only to specific products:- To all products - Leave the target products field empty (default)
- To specific products - Select one or more products
Exclusion conditions
Attach conditions to a breakout to exclude variants that match them. Conditions accept three kinds of variant-grain fields. Use variant fields (variants.*) such as variants.on_sale, variants.inventory_quantity, or variants.compare_at_price. Use variant metafields (variant_metafields.*) such as variant_metafields.custom.material, including nested JSON paths like variant_metafields.custom.specs.weight. Use variant options (options.*) such as options.Size or options.Color to match on the option value a variant is assigned. Rules combine with an AND/OR combinator across a single flat list. Nested groups aren’t supported.
Matched variants don’t produce a tile:
- Sibling variants still break out for their option values.
- If every candidate variant matches the exclusion, the product falls through as a single standard product tile.
- Exclusions run in Browse, Search, blocks (when block targeting is on), and facet counts.
- Break out Color, except
variants.on_sale = true. - Break out Size, except
variants.inventory_quantity <= 0. - Break out Metal, except
variants.compare_at_pricebelow a floor. - Break out Style, except
variant_metafields.custom.discontinued = true. - Break out Color, except
options.Size = 'Small'to hide the small size while every other size still tiles out.
options.*) treat values as strings and support equals, does not equal, is in, is not in, contains, begins with, ends with, is empty, and is not empty. Layers matches the option name against the option’s canonical code, so options.Size and options.size refer to the same option. Options that don’t exist on the store’s catalog are rejected at save time.
Exclusions are compiled into the persisted breakout targets and refresh on the same cycle as price and inventory changes, not in real time. See Exclusion conditions for the full behavior.
Target blocks
Control whether the breakout also applies to block recommendations:- Off (default) — The breakout only affects Browse and Search results. Blocks continue to return standard product tiles.
- On — Blocks return variant tiles for products in scope of the breakout, matching the behavior on Browse and Search.
Include option value in title
Control whether variant tile titles include the option value:- 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
Out-of-stock behavior
Variant breakouts respect your store’s out-of-stock settings at the individual tile level:Hiding out-of-stock variants
When you disable Show out-of-stock products, Layers completely hides out-of-stock variant tiles from results, even if the parent product has other in-stock variants. Only variant tiles with available inventory appear.Demoting out-of-stock variants
When you enable Demote out-of-stock products (and showing out-of-stock is also enabled), Layers pushes out-of-stock variant tiles to the end of results. In-stock variant tiles maintain their normal sort order among themselves.These settings apply per tile. A product with 5 color variants where 2 are out of stock shows 3 tiles when hiding is enabled. With demotion enabled, all 5 tiles appear but the 2 out-of-stock variants are pushed to the end.
Sell-out pin behavior
When Delete Pins on Sell Out is enabled on a merchandising rule, a pinned product is only unpinned when all of its variants are out of stock. If at least one variant still has inventory, the pin remains active.Pinning variant tiles
Merchandising rules support pinning individual variant tiles to specific positions. When creating a pin in a merchandising rule, you can choose between:- Product pin - Pins the entire product (or the product tile for non-breakout products)
- Variant pin - Pins a specific variant tile to a position
Variant pins only take effect when variant breakouts are active for the collection. If variant breakouts are disabled (either globally or via a merchandising rule override), variant pins are ignored.