Configure Layered Navigation Magento 2 from Magento 2 default is designed as a convenient sitemap on your Magento 2 store. The 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 Layered Navigation default, 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 attribute. For example, when a visitor go to your clothes store, the first step is selecting a category they need such as women, men, or sandal. At this time, all products of these will appear on the result page. Next, he can filter with product attributes to narrow the suggestions by style, color, price, etc. These attributes are called as filterable attributes and they are be 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 displays in the layered navigation section of the category page.
Ref: Magento 2 User Guide Read more extension: Layered Navigation Magento 2
It comes to the end of tutorial: How to Configure Layered Navigation with Filterable Attributes in Magento 2.