/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Mage::getModel('catalog/category')->load(198)->getProductCount();
URL: http://prattski.com/2008/12/17/magento-display-only-if-there-are-products-in-the-category/