Menu Close
    Start a Project 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 🙂

    . . .


    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