Anopa Active Filter Count
Displays the number of active filter selections, scoped to a specific dimension or all filters, as a Badge or Text.

AnopaActiveFilterCount displays the number of currently active filter selections, either as a styled badge or as plain text. It can count across all filter dimensions at once or scope to a specific dimension — categories, tags, collections, colors, vendors, a named variant option, price, or the favourites list. In Badge mode a configurable pill renders the number. In Text mode the count appears inline with optional prefix and suffix strings, letting you produce output like "3 active" or "(2)". On the canvas it always shows 3 as a preview. It can be hidden entirely when the count is zero, or shown as zero with the Show Zero option.
Property Controls
Counts
all
Which dimension to count. All Filters = total across every active dimension. Specific dimensions count only that filter type. Option = counts active values for the named option. Favourites ♥ = counts saved wishlist products.
Option Name
Size
The option name to count when Counts is set to Option. e.g. Size, Material, Fit. Only shown in Option mode.
Display As
badge
Badge = pill with count number. Text = inline count with optional prefix and suffix.
Hide When Empty
false
When on, renders nothing when the count is 0.
Show Zero
false
When on, displays the count even when it is 0. Overridden by Hide When Empty.
Prefix
—
Text rendered before the count number in Text mode. e.g. "(". Only shown in Text mode.
Suffix
active
Text rendered after the count number in Text mode. e.g. ") filters". Only shown in Text mode.
Container
—
Outer wrapper styling: background color, padding, and border radius.
Badge Style
—
Badge pill styling: background color, text color, font, size, and border radius. Only shown in Badge mode.
Text Style
—
Text color and font for the inline count display. Only shown in Text mode.