简体   繁体   English

如何在Magento中删除分层导航中的计数?

[英]How to remove count in layered navigation in Magento?

I am using Magento 1.8.1 for my website tcollar.com. 我在我的网站tcollar.com上使用Magento 1.8.1。 How to remove count in side bar left category in Magento? 如何删除Magento中左侧栏中的计数?

You can disable the count directly from the Admin Panel, without modifying any templates: 您可以直接从管理面板禁用计数,而无需修改任何模板:

System -> Configuration -> Catalog -> (Layered Navigation) -> Display Product Count 系统 - >配置 - >目录 - >(分层导航) - >显示产品计数

在filter.phtml中转到以下目录:app / design / frontend / default / default / template / catalog / layer /删除下面的代码或注释:

(<?php echo $_item->getCount() ?>)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM