Menu Close
    Hire us Request quote Reading list Switch to dark mode

    Category Listing in Magento

    Category Listing in Magento : Category listing is very common and useful for all the magento information .Many time magento developers needs this information . So here i’ll explain to get all the categories and subcategories in magento.Open the phtml file of the magento (where you want the listing ) and add the following code

    $MainCat = Mage::getModel(‘catalog/category’)->load(3)->getChildren();

    foreach($cats as $opt)

    . . .
    Subscribe Articles

    Just enter your email below to subscribe and receive weekly updates about the most interesting similar articles.

    You need to accept conditions to receive letters.
    You've Subscribed!

    Share article via

    . . .

    <?php echo $catname->getName();?>


    . . .


    Add Your Comment

    Be the first to comment.

    Back to Top
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again