I had a main category (parent category) whose id = 10. I want to echo just its sub-categories. How can I do that?
$children = Mage::getModel('catalog/category')->getCategories(10); foreach ($children as $category) { echo $category->getName(); }