:::: MENU ::::

magento 2 Remove layered navigation

magento 2 Remove layered navigation

If you want to remove for for all the categories then add this code in your default.xml

Add this to your theme or module

 

default.xml

<referenceBlock name="catalog.leftnav" remove="true" />

 

If you want to do this for single category you can do that from admin panel. Login to admin panel and then go to

Admin Panel > Products > Categories > YOUR PAGE > Design

 

Add the following xml.

<referenceContainer name="catalog.leftnav" remove="true" />
Author: Qaisar Satti
Category: Magento 2
Last Modified: December 20, 2017


One Comment

  • Reply shoaib |

    Really Helpful found others solutions on your blog that work like charm.. thanks for starting this blog looking forward more helpful stuff here.

So, what do you think ?