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

    Magento subcategories of a Specific category

    Magento subcategories of a specific  category : This is very useful and important code when you are dealing with customizing  magento . There are two ways to display subcategories in phtml file using magento models

    Solution One :  Using getCategories() Method


    here is the rest of the code (This code is from our snippet so you may ignore some of them)


    Solution Two: using Load() getChildren() Method .


    and to display in them use the same code as above . enjoy magento coding

    . . .

    Comment

    Add Your Comment

    Be the first to comment.

    Back to Top
    css.php
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just received your message and our expert will get back to you shortly.
    Send Again
    Close