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

    How to add link in Category Menu in Magento 2

    In this blog, I’ll explain how you can add link in category menu.

    First, create di.xml under [Namespace]/[Module]/etc/frontend/ folder with following content,


    Then create Topcat.php under [Namespace]/[Module]/Plugin/Block/ folder,


    It will add the menu in the category menu section as shown below,

     

    Feel free to comment if you run into some issue.

     

    Check out some other posts related to menu,

    Header and Top links in Magento 2

    . . .

    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