0

I saw a behavior in default Magento 2 layered navigation.

Steps to generate

Create any category and sub category under root.

Add any multiple dropdown attribute with anchor.

Assign all the products to category and also in any one atrribute option.

Outcome

Magento hides the attribute option in layered page, if the product collection of category is equal to its collection. which I think is correct in some way but I want to show the option even if its equal.

I can use Filterable without results in layered navigation but it also shows the 0 products filters.

Example

Category : Chair(20)

Types

Corporate (20)
Education (2)
Health (1)

Here When I click on chair category magento hides the corporate filter because both are sharing the same number of products.

Anyone has any better solution for this. Please share

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.