Menu Close
    Start a Project Request quote Reading list Switch to dark mode

    Add Tab On Product Edit Page Magento 2.1.0 Admin

    Here we will learn how to add Tab on product edit page magento admin in Magento Version 2.1.0.
    Magento 2.1.0 structure is different from previous version of magento2.

    Add Tab on Product Page

    First of all create ‘catalog_product_edit.xml’ file in location Webkul/Demo/view/adminhtml/layout.

    Now create block ‘Webkul\Demo\Block\Adminhtml\Catalog\Product\Edit\Tab\Demo’.
    Create Demo.php in location Webkul/Demo/Block/Adminhtml/Catalog/Product/Edit/Tab.

    protected $_template = ‘product/edit/demo.phtml’
    This template file will be called in tab content.

    Finally create template file demo.phtml in location Webkul/Demo/view/adminhtml/templates/product/edit.

    If you are using Magento 2.0.x then read how to create tab on product page in Magento 2.0.x Admin.

    If you have any query please comment below.

    . . .

    Comments (11)

    Add Your Comment

  • kavya k
    I followed the above steps which are mentioned in tutorial, but it is not working in ver 2.2.4
  • Zulqarnain Abdul Jabbar
    An easy to follow blog. Thank you for sharing.
    • Zulqarnain Abdul Jabbar
      I further work to add a form in demo.phtml file
  • Johan van de Vijver
    Hi, i followed your steps of this tutorial. But unfortunately the custom tab is not showing. Is this applicable in Magento 2.2?
    • Webkul Support
      We will try to add that in future blog
      • sunil verma
        Any news how to add it on v 2.2
        • sunil verma
          Hi Support, is there any tutorial doe v 2.2, above is not working in 2.2 version.
  • Sikander Al Masum
    I did exactly like the tutorial, but unfortunately not working. Im using ver 2.1.5.
  • kumarg311
    I create textbox in demo.phtml but textbox value not posted on product save
  • Futuresoft India
    I create textbox in demo.phtml but textbox value not posted on product save
  • Maciej Sroka
    How do you remove the Tab that is already there?
  • 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