Magento 2 Amasty分层导航。删除当前应用的过滤器的显示

问题描述 投票:0回答:1

我试图删除显示所有当前应用过滤器的块。请看下面的图片。这是通过编辑布局文件还是通过管理面板中的选项完成的?如果是这样我怎么做?

enter image description here

magento magento2 magento2.2 layered-navigation amasty
1个回答
1
投票

可以从布局中删除当前过滤器块

app/code/Amasty/Shopby/view/frontend/layout/catalog_category_view_type_layered.xml

或者通过模板文件:

 app/code/Amasty/Shopby/view/frontend/templates/layer/state.phtml
© www.soinside.com 2019 - 2024. All rights reserved.