free
web stats

Fill the form & Get Installation Support

We don't monkey around your business.

GET IN TOUCH WITH US NOW





captcha

Magento 2 “Category” Filter Expand by default for all categories in layered navigation

By default Magento collapse all filters in layered navigation. So if you want to expand only “Category” filter please follow below steps.

First you have to override below PHTML file in your theme:

Like:

After overriding above PHTML file find below code and replace with new code (Around line no. 33 to 42):

Replace with this code:

After doing all steps please clean the cache php bin/magento cache:clean and check in front-end categories page category filer is expand like below image: