Hide invoice from body of "Customer Invoice" email?

This topic contains 2 replies, has 3 voices, and was last updated by  Patrik 11 months, 2 weeks ago.

  • Author
  • #3558

    Full Member
    Post count: 22

    I would like to just send some custom HTML (using the Email Content field) along with a .pdf of the invoice – which works great, however below the Email Content is a HTML version of the invoice – can this be disabled anywhere?


    Post count: 16516

    Hi Marc,

    Thanks for your post. I’ve forwarded this to a developer and he will attend to you asap!


    Post count: 1971


    You can override the template in your currently active theme and modify it as per your requirements. You can copy the template emails/wpinv-email-user_invoice.php from Invoicing plugin to your currently active theme and comment or remove all following lines from that file:

    do_action( 'wpinv_email_invoice_details', $invoice, $email_type, $sent_to_admin );
    do_action( 'wpinv_email_invoice_items', $invoice, $email_type, $sent_to_admin );
    do_action( 'wpinv_email_billing_details', $invoice, $email_type, $sent_to_admin );

    Let me know if it works for you.


Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Hide invoice from body of "Customer Invoice" email?’ is closed to new replies, this may be for inactivity, please open a new topic if you have a similar question.