How to Remove Product Count From Layered Navigation in Magento?

In Magento product count is shown with layered navigation and this subsequently can be removed from the navigation by following the below mentioned steps one by one.


  • 1. These settings are modified from Admin panel by disabling the layered navigation without any changes in templates file by going through configuration at :
    System -> Configuration -> Catalog -> Layered Navigation -> Display Product Count
    
    
    System -> Configuration -> Catalog -> Layered Navigation -> Display Product Count

    Here you must Set Display Product Count as “No” and then save setting accordingly to get the desired results from there on.


  • 2. These settings can also be done via by removing the specific below given code from the phtml file.
    app/design/frontend/base/default/template/catalog/layer And Remove below code or comment code accordingly as you like:
    <?php echo $_item->getCount()  ?>

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


With these both ways the required results will remove the product count from layered navigation.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *