Revision: 33371
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 8, 2010 07:09 by TioSolid
Initial Code
$category = Mage::getModel('catalog/category'); $tree = $category->getTreeModel(); $tree->load(); $ids = $tree->getCollection()->getAllIds(); $arr = array(); if ($ids){ foreach ($ids as $id){ $cat = Mage::getModel('catalog/category'); $cat->load($id); var_dump($cat); }
Initial URL
Initial Description
Return a list of all store Categories
Initial Title
Get a list of store Categories
Initial Tags
magento
Initial Language
PHP