Is there an action which can be removed via functions php so that we don’t get the print button on the customer orders page? I can’t seem to find one. Using css to hide it isn’t the best way.
You may disable the ‘My account – Order details page’ option from the invoice plugin settings page as shown in the screenshot to remove the ‘Print invoice’ button from the order confirmation page.
Hi, Sorry I should have been clearer. In the my-account page orders list page – I can use css but it isn’t a nice way to remove the print button – i.e. I currently do this
The issue is really that it is not possible to turn off print buttons and for most people, a download button is probably enough. People can then print happily afterwards if they wish to. For me my template starts to look crowded with two buttons as I have others doing different things in my application.
This reply was modified 2 years ago by frenchomatic.
Thanks for briefing us. You may use this code snippet to to hide print button in “My account order details page” and “My account order lists page” for the invoice document.
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Print button on orders page’ is closed to new replies.