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

    Create a Custom Tab on Category Edit Page in Admin Panel of Magento 2

    Hello Everyone! Today we are going to learn that How to add a custom tab on Category Edit Page in Admin panel of Magento 2.

    Step 1:  create category_form.xml at Vendor/Module/view/adminhtml/ui_component folder and add following code to it-


    Step 2: Create Tab.php at Vendor/Module/Block/Adminhtml/Custom folder and add the following code to it-


    Final Step: Create the Template file tab.phtml at  Vendor/Module/view/adminhtml/templates/catalog/category folder, and add the content that you want to display in the custom tab.

    Once you are done, it will look like this –

    This is all for now. Hope this will help.

    For any doubts, you can comment below 🙂

    . . .

    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