Overview
You can edit existing variant breakouts to change their configuration, enable/disable them, or delete them entirely. This guide covers all management operations for variant breakouts.Edit a variant breakout
- Go to Merchandising → Variant Breakouts in the dashboard
- Find the breakout you want to edit in the list
- Click on the breakout name to open the edit page
- Modify any of the following settings:
Editable fields
- Name - Update the descriptive name (editable inline in the page header)
- Option Attribute - Change which product option triggers the breakout
- Applies To - Modify where the breakout is active (search, collections, or both)
- Target Collections - Add or remove collection targets
- Target Products - Add or remove product targets
- Include Option Value in Title - Control whether the option value is appended to the product title in variant tiles
- Click Save Changes to apply your modifications
Publish or unpublish a breakout
You can control whether a breakout is live using the Publish and Unpublish buttons in the page header:- Go to the breakout’s edit page
- Click Publish to make a draft breakout live, or Unpublish to revert a published breakout to draft status
Draft breakouts are saved but not applied to results. This is useful for testing or temporarily reverting to standard product tiles without losing your configuration.
Delete a variant breakout
- Go to the breakout’s edit page
- Open the overflow menu (the three-dot icon in the page header)
- Click Delete Breakout
- Confirm the deletion in the dialog
What happens when you delete
- Layers permanently removes the breakout configuration
- Products immediately revert to standard product tiles
- API responses no longer include
__typenamefields (unless other breakouts are active) - Facet counts return to product-based counting
- You need to update any merchandising rules that pin variant tiles
Validation rules
When editing a breakout, Layers enforces these rules:Overlap prevention
You cannot publish a breakout if it overlaps with another published breakout that has the same option code. The overlap logic depends on product targeting: Without product targeting:- Breakouts with the same option code cannot target overlapping collections
- Multiple breakouts with different option codes can target the same collections without conflict
- Breakouts with the same option code and both having product targeting cannot have overlapping products AND collections
- A breakout with product targeting can coexist with a breakout without product targeting on the same collections (they target different scopes)
- Breakouts with product targeting that target different products can coexist on the same collections
- Change the option code to a different value, or
- Add or modify product targeting to create a distinct scope, or
- Unpublish the conflicting breakout with the same option code, or
- Modify the target collections or products to remove the overlap, or
- Delete the conflicting breakout with the same option code
Option attribute validation
The option attribute must:- Exist in your catalog
- Be a valid option attribute (starts with
options.) - Have products that use this option
Best practices
Test changes before publishing
Test changes before publishing
When editing a breakout, consider unpublishing it first, making your changes, testing in a staging environment, then publishing it again.
Use descriptive names
Use descriptive names
Name your breakouts clearly so team members understand their purpose (e.g., “Gemstone Breakout for Jewelry” instead of “Breakout 1”).
Document your strategy
Document your strategy
Keep notes on why you configured breakouts for specific collections. This helps when reviewing or optimizing your merchandising strategy.
Monitor impact on facets
Monitor impact on facets
After enabling or modifying a breakout, check your facet counts to ensure they align with expectations.
Troubleshooting
I can't publish my breakout
I can't publish my breakout
Check for validation errors:
- Ensure no other published breakout with the same option code targets overlapping collections and products
- Consider adding product targeting to create a distinct scope that won’t conflict
- Verify the option attribute exists and is spelled correctly
- Confirm you have products with this option in the target collections
Changes aren't appearing in results
Changes aren't appearing in results
- Verify the breakout is published after saving
- Clear any caching in your frontend application
- Check that you’re viewing a collection or search result where the breakout applies
I deleted a breakout by accident
I deleted a breakout by accident
Unfortunately, deletions are permanent. You’ll need to recreate the breakout with the same configuration. Consider unpublishing instead of deleting if you might need the configuration again.