can anyone please tell me why am I not getting layered navigation in search result page in magento2.4.5?

I tried various modules. currently I don't have any module of Layered Navigation using magento2.4.5 default only.

  • are you using sample data or your own products? Commented May 19, 2023 at 10:14
  • i am using my own products!
    – user112085
    Commented May 19, 2023 at 10:17

1 Answer 1


You need to make sure that the product attributes are filterable. Log into the admin and go to Store > Products (under Attributes), now click on one of your attributes you want to be shown in Layered navigation.

Go to "Storefront Properties" and set "Use in Layered Navigation" to either "Filterable (with results)" or "Filterable (no results)".


There was an issue on Magento 2.4.5 which layered navigation was not working, it was fixed in this commit - https://github.com/magento/magento2/commit/a9170022cce29993e586ffaa6f4c1cc357ee3b11#diff-1bda4b8d76362780cc546ecd1550493ce8030bea00298543a08831b61022a32d

Please extend the core files and add this change to your code base or apply this change to your core files via a patch.

  • it is already "Filterable (with results)" and also "Use in Search Results Layered Navigation" is set to "Yes" but still not visible. i am not using any third party extension using magento default layered navigation only as i already mentioned above.
    – user112085
    Commented May 19, 2023 at 10:31
  • Please try running following commands - php bin/magento in:reset and php bin/magento in:reindex Commented May 19, 2023 at 10:54
  • Also, it may be some errors due to which it may be not rendering. Please check var/log/system.log and var/log/exception.log and post if you find something that feels connected to the error. Commented May 19, 2023 at 10:55
  • i tried running both the commands and checked log file but nothing their in it. i think this is magento2.4.5 bug!
    – user112085
    Commented May 19, 2023 at 11:01
  • Did you recently upgrade to 2.4.5? Commented May 19, 2023 at 11:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.