Tuesday, 18 February 2014

How to get child category in magento

$collections= Mage::getModel('catalog/category')->getCollection()->addAttributeToSelect('*')->addAttributeToFilter('is_active',1)->addAttributeToFilter('parent_id',5)->addOrderField('position');

1 comment:

  1. "Hello,
    This is really great information found here, I really like your blog. Thanks very much for the share. Keep posting."

    Magentocommerce - Magento Singapore

    ReplyDelete