Magento Expert Forum - Improve your Magento experience
-
magento category
Please anybody tell me the meaning of this line.
$cats = Mage::getModel('catalog/category')->load(2)->getChildren();
Thanks
View more threads in the same category:
-
-
Administrator
You code get all of children categories of a category what have id = 2
-
-
Hello bab ,
Yes the David is right , this code will get list of all subcategories of a category whose id = 2 .
For more tips and tutorial about magento visit : http://www.ilovemage.com/learn-magento-programming-customization-extension-development.html
Thanks
iLoveMage
-
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks