I want to remove Print Invoices from mass action select menu available on order view page in admin order panel. enter image description here


Override ../vendor/magento/module-sales/view/adminhtml/ui_component/sales_order_grid.xml

Remove below code from it:

<action name="pdfinvoices_order">
        <url path="sales/order/pdfinvoices"/>
        <label translate="true">Print Invoices</label>

You can place xml file in your custom module of in app/design theme with same path to override.

  • I tried to override in theme but it dosen't work app/design/adminhtml/Magento/Magento_Sales/view/adminhtml/ui_component/sales_order_grid.xml
    – Anil Singh
    Dec 1 '17 at 14:22
  • Place it in your custom module that will work fine! app/code/<vendor name>/ <module name>/view/adminhtml/ui_component/sales_order_grid.xml Dec 1 '17 at 14:25
  • I already tried in custom module also but dosen't worked :(
    – Anil Singh
    Dec 1 '17 at 14:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.