简体   繁体   中英

How to remove count in layered navigation in Magento?

I am using Magento 1.8.1 for my website tcollar.com. How to remove count in side bar left category in 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() ?>)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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