0

Imagine having a category with 10 products, all having the same weight of 2 lbs.

Weight filter will still show in layered navigation as:

Weight

2 lbs (10)

How to remove such attributes from layered navigation?

2
  • Can you elaborate your question?
    – MagentoDev
    May 3, 2023 at 13:34
  • Basically, if all products from category have the same attribute value - the attribute filter doesn't make sense. In the given example, all products have 2 lbs weight, therefore, no need for Weight filter to be displayed.
    – vladPavlov
    May 3, 2023 at 13:53

1 Answer 1

0

By default in Magento, the layered navigation shows all the attributes set to the products but we can hide the attribute from layered navigation using storefront properties for that attributes. enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.