← All modules

Magento 2 module

Catalog Filter State Toolbar

Shows the currently applied filters directly above the product list, each with a remove link, plus a "Clear All" link, instead of in the sidebar.

In standard Magento the filters a shopper has selected (“Now Shopping by”) are listed at the top of the layered navigation sidebar. On many layouts, and especially when the filters are hidden in a panel or on mobile devices, shoppers do not see them right away. This module shows the active filters next to the product list toolbar, where shoppers look anyway, and lets them remove filters with one click.

Features

  • A bar with all currently applied filters appears below the product list toolbar on category pages and search result pages.
  • Each entry shows the filter name and the selected value, with a remove icon.
  • Clicking an entry removes this filter and reloads the product list.
  • A “Clear All” entry removes all applied filters at once.
  • The standard “Now Shopping by” list and the “Clear All” link in the sidebar are hidden, so the active filters are not shown twice.

Configuration

There is nothing to configure. The module works right after installation.

Good to know

For stores using the Hyvä theme, install the companion module “Catalog Filter State Toolbar Hyvä Theme”. The module fits well with “Catalog Filter Off Canvas”, which moves the layered navigation into a slide-in panel: the selected filters then stay visible while the panel is closed.

Installation

Install the module with Composer in your Magento root directory:

composer require infrangible/m2-catalog-filter-state-toolbar

Then enable it and update the store as described in the installation guide. Composer installs the required modules listed on this page automatically.

Using the Hyvä theme? Also install the companion module Catalog Filter State Toolbar Hyvä Theme:

composer require infrangible/m2-catalog-filter-state-toolbar-hyva