• Resolved frenchomatic

    (@frenchomatic)


    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi frenchomatic,

    Thanks for reaching out.

    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.

    Thread Starter frenchomatic

    (@frenchomatic)

    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

    .wt_pklist_invoice_print{
    display: none!important;
    }

    I would also like to remove the print button from the admin orders list page too.

    <a class="button wc-action-button wc-action-button-wf_pklist_print_document wf_pklist_print_document" href="#1218" aria-label="" title=""></a>

    Looking to see how this action can removed. Again using css it is possible but not a nice way to do it.

    a.button.wc-action-button.wc-action-button-wf_pklist_print_document.wf_pklist_print_document{
    display: none!important;
    }

    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.

    Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi 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.