2

For now I have directly edited this file

\vendor\magento\module-backend\view\adminhtml\templates\widget\grid\extended.phtml

and I have added a button as you can see from the photo below

enter image description here

But this template file edits all the pages in Reports>Sales and I would like to have this button being visible only for Reports>Sales>>Orders

How could I limit the button only for Orders?

Your Answer

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

Browse other questions tagged or ask your own question.