Web Analytics

Fill the form & Get Installation Support

Any Question or Concerns?
Let's discuss





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

    Related articles

    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:

    Contact us for scientific strategies to increase your site conversions





      Connect With Us