sidworks / sw-plugin-filter-counts
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
Requires
- php: ^8.3
- shopware/core: ~6.7.13.0
- shopware/storefront: ~6.7.13.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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:
Selecting Man updates Cotton (2) to Cotton (1):
Filter counts on mobile:
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.


