``copex/module-filtergrouping``
Ability to group filters in the layered navigation
- Unzip the zip file in
app/code/CopeX
- Enable the module by running
php bin/magento module:enable CopeX_FilterGrouping
- Apply database updates by running
php bin/magento setup:upgrade
* - Flush the cache by running
php bin/magento cache:flush
- Make the module available in a composer repository for example:
- private repository
repo.magento.com
- public repository
packagist.org
- public github repository as vcs
- private repository
- Add the composer repository to the configuration by running
composer config repositories.repo.magento.com composer https://repo.magento.com/
- Install the module composer by running
composer require copex/module-filtergrouping
- enable the module by running
php bin/magento module:enable CopeX_FilterGrouping
- apply database updates by running
php bin/magento setup:upgrade
* - Flush the cache by running
php bin/magento cache:flush
Go To: Stores -> Configuration -> Catalog -> Attribute Grouping
- Name: The name that is displayed as group label in storefront (can be translated)
- Attributes: Comma separated list of attribute codes that should be grouped together
Possiblilty to create 10 groups
- Plugin
- afterGetFilters - Magento\Catalog\Model\Layer\FilterList > CopeX\FilterGrouping\Plugin\Frontend\Magento\Catalog\Mode\Layer\Filter
- aroundRender - Magento\LayeredNavigation\Block\Navigation\FilterRenderer > CopeX\FilterGrouping\Plugin\FilterRenderer