How can I prevent/stop rendering layered navigation (filters) for some categories in product list page in Magento 2 ?


You can set from category page is anchor to No.

Go to

Product -> Categories

Click on your category,

Display settings 
Set Anchor to No.

enter image description here

Clear Cache.

| improve this answer | |
  • yes, working @Rakesh :) currently am not able to accept your answer after 7 mins Will accept it. – shankar boss Dec 9 '16 at 13:29
  • Ok sure, You can set it for any category from backend. If required enable for specific category in future just set Is Anchor to Yes and clear cache. – Rakesh Jesadiya Dec 9 '16 at 13:30
  • can we able to remove default "category filter" ? means what ever filters I want I can make them at the time of attribute creation but here I did not create category filter.I dont want that.How can I remove ? – shankar boss Dec 9 '16 at 13:32
  • you have to disable specific code from template file for category. – Rakesh Jesadiya Dec 9 '16 at 13:33
  • If you already know that file let me know the path or else I will check :) – shankar boss Dec 9 '16 at 13:34

You can set it from Admin

Product >> Categories >> Display Settings >> Anchor (SET NO)

| improve this answer | |

Your Answer

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

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