ClickCease

Fill the form & Get Installation Support





    To add a custom button on the admin order view page, you need to create a before plugin for the PushButtons() method from the Magento\Backend\Block\Widget\Button\Toolbar class.

    Create di.xml file under the adminhtml scope,
    Path: app/code/Magemonkeys/OrderViewButton/etc/adminhtml/di.xml

    create ToolbarPlugin.php
    Path: app/code/Magemonkeys/OrderViewButton/Plugin/Block/Widget/Button/ToolbarPlugin.php

    Output :

    Fill the below form if you have any Magento programming need.





      Recent Articles

      Author Info

      Author Image

      Magento Certified Developer

      Hire J. Lakum

      Get a Free Quote





        Close

        mage Monkeys

        Let’s initiate a discussion!!

        Book a call

        Let our Magento expert connect to discuss your requirement.


          We offer Magento
          certified developers.

          Our Magento clientele
          is 500+.

          We sign NDA for the
          security of your projects.

          We’ve performed 100+
          Magento migration projects.

          Free quotation
          on your project.

          Three months warranty on
          code developed by us.