← Back to Changelog
Facet and Filter on Metaobject References
Layers now supports faceting and filtering on single-type metaobject-reference metafields — like color or material swatches — using the referenced metaobject's handle as the facet value. Enable it from Configure → Metafields the same way as any other attribute, and it's ready to use wherever your storefront already reads facets.
Pass the new enrichFacetMetaobjects flag on any Search or Browse request and each returned handle comes back with its display name and fields resolved from Layers' local metaobject cache — no follow-up request needed to render a real swatch instead of a raw handle.
FeatureCatalogMetaobjectsFacets