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.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
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.