magento category product count


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. Mage::getModel('catalog/category')->load(198)->getProductCount();

URL: http://prattski.com/2008/12/17/magento-display-only-if-there-are-products-in-the-category/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.