AnopaFilterClear
Wraps a designed button and clears active filters when clicked. Can clear all filters at once or target a specific dimension, and can optionally hide when there is nothing to clear.
What it does
AnopaFilterClear wraps a designed button and clears active filters when clicked. It can clear all filters at once or target a specific filter dimension. It optionally hides itself when there are no active filters to clear.
In All Filters mode, a single click clears categories, tags, collections, colors, vendors, all variant option filters, and the price filter in one action. When there is nothing to clear in its target scope, the component fades to 35% opacity and becomes non-clickable, or can be removed entirely when hideWhenEmpty=true.
How to set it up
- Connect your designed “Clear Filters” button to the Button UI slot.