Skip to main content
added 401 characters in body
Source Link
Vivek Kumar
  • 5.7k
  • 2
  • 24
  • 53

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)".

EDIT

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.

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)".

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)".

EDIT

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.

Source Link
Vivek Kumar
  • 5.7k
  • 2
  • 24
  • 53

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)".