Search by

sidworks / sw-plugin-filter-counts

sidworks

Add dynamic product counts to storefront filters in Shopware 6

Package info

github.com/sidworks-dev/sw-plugin-filter-counts

Type:shopware-platform-plugin

pkg:composer/sidworks/sw-plugin-filter-counts

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

1.0.0 2026-09-08 09:04 UTC

This package is auto-updated.

Last update: 2026-09-08 09:10:07 UTC


README

This plugin adds dynamic product counts to manufacturer and property filters in the Shopware 6 storefront. Counts update when customers filter category listings or search results, on desktop and mobile.

Images

Product counts next to the available filter options:

Product counts in the default Shopware storefront

Selecting Man updates Cotton (2) to Cotton (1):

Updated product counts after selecting a filter

Filter counts on mobile:

Dynamic product counts in Shopware’s mobile filter panel

Screenshots taken in a local DDEV store using the default Shopware theme and demo products.

Installation

Requires Shopware 6.7.13.x and PHP 8.3+.

Install with Composer via Packagist:

composer require sidworks/sw-plugin-filter-counts
bin/console plugin:refresh
bin/console plugin:install --activate SidworksFilterCounts
bin/console cache:clear
bin/console theme:compile

Alternatively, download SidworksFilterCounts-1.0.0.zip from Releases, extract it into custom/plugins/, and run the plugin and theme commands above. Compiled storefront assets are included.

Configuration

Use Show dynamic counts in the plugin settings to enable or disable counts globally or per sales channel. Enabled by default. Clear the storefront cache after changing this setting.

Counts reflect selections in other filter groups; alternatives within the same group remain comparable. Variants shown as one product card count once.

See usage and technical details and the test report for behaviour, limitations and validation.