Inicio - Documentación - POM Theme - 09 Shortcodes - 09.1 Shortcodes reference - `web_fsearch_selections` Shortcode

web_fsearch_selections Shortcode

The web_fsearch_selections shortcode renders the currently selected facet values.

Usage

[web_fsearch_selections]

Attributes

Attribute Default Accepted values Purpose
class String unless stated otherwise Adds one or more custom CSS classes to the rendered control.
label String unless stated otherwise Sets the visible control label.
empty_label String unless stated otherwise Sets the label displayed when the component has no active value.
button_style 1 1 or a configured button-style slug Selects a button style defined in the POM design system.
button_size default String unless stated otherwise Selects the rendered button size.

Faceted search context

Enable and configure Faceted Search in Settings → POM Theme → Content model → Faceted search. Controls, results, and gateways that belong together must use compatible context values.

Verification

Test web_fsearch_selections with the configured Faceted Search context, active selections, no selections and an empty result set. Pay particular attention to class and label.