Pages

Wednesday 12 November 2014

Magento To get the total product under the particular category(product count)

<?php
    $prodCollection = Mage::getResourceModel('catalog/product_collection')->addCategoryFilter($child);
    
    echo $prodCollection->count(); ?>

No comments:

Post a Comment