Configure Layered Navigation Magento 2 from Magento 2 default is designed as a convenient sitemap on your Magento 2 store. The Layered Navigation is usually placed on the left of the category page with list of categories and price range. Thus, instead of going around your store, the customers only need to describe their demands through the criterias filter, and they will get the desired items very quickly. However, if you want to give more criterias for the searching as well as enhance customer’s experience on your site, you can refer to Magento 2 Layered Navigation extension, an advanced filter from Mageplaza.
With the default Layered Navigation, the customers can filter by product attributes or price, meanwhile the configuration of product count is mentioned in this topic.
Layered Navigation with Filterable Attributes allows your customers to filter product by category or by attribute. For example, when a visitor goes shopping on your clothes store, the first step can be selecting a category he needs such as women, men, or sandals. At this time, all products classified into these groups will appear on the result page. Next, he can filter product attributes to narrow the suggestions by styles, colors, price range and so on. These attributes are called filterable attributes and they are hidden in each criteria section.
Keep your eyes on the following guides to configure the layered navigation with filterable attributes
Stores > Attributes > Product
Attributescolumn, enter the attribure name in the search box or find it manually, and then go to the
Storefront Propertiesand set Filterable (with results) or Filterable (no result) for
Use in Layered Navigation.
Use in Search Results Layered Navigationfield.
Products > Inventory > Categories.
Display Settingstab, choose Yes in the
Save Categoryto complete.
Just go to your store and hover over the category in the top navigation. Immediately, the selection of filterable attributes is displayed in the layered navigation section of the category page.
Ref: Magento 2 User Guide
It comes to the end of tutorial: How to Configure Layered Navigation with Filterable Attributes in Magento 2.