Revision: 58109
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at June 26, 2012 19:22 by luxmedia
Initial Code
<?php $category_model = Mage::getModel('catalog/category'); //get category model $_category = $category_model->load($categoryid); //$categoryid for which the child categories to be found $all_child_categories = $category_model->getResource()->getAllChildren($_category); //array consisting of all child categories id ?>
Initial URL
http://blog.decryptweb.com/child-categories-magento/
Initial Description
One approach to get all child categories of a magento category.
Initial Title
Get child categories in Magento
Initial Tags
magento
Initial Language
PHP