Menu Close
    Start a Project Request quote Reading list Switch to dark mode
    magento-hyperlocal-marketplace-guide

    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 recieved your project brief and our expert will contact you shortly.
    Send Again
    Close