THat is working thanks – Next question is when the PDF prints out it grabs the data from the invoice details block. When that is put on the PDF it looses all formatting and ends up as one long blob. Putting in HTML is stripped when saving. The CR are also stripped from the view. How can I get line breaks into this block so the format is not so messy. We have about 4 paragraphs of required disclosures etc that have to be on the invoice.
This will change in a future version of Event Espresso 4 where we’ll be moving the invoice template editing into having its own UI similar to the messages templates.
For now, you can copy over the invoice_body.template.php file over to a nested folder in wp-content/uploads/espresso (I’ll outline the full file path below).
There in your copied over template you can add your html formatted text and remove the [instructions] shortcode.
The full filepath where Event Espresso 4 looks for a custom invoice template is as follows:
When we shared feedback on your question last year, copying over the templates for editing was the recommended way to edit the templates for the Invoice or Receipt.
That has changed as Event Espresso 4 now has an editor to edit those templates through the WP dashboard.
It can be found in Event Espresso –> Messages. You’ll now be viewing the Messages Overview screen. Now look for Invoice or Receipt and click on Purchaser. Here is an example of how they appear on the Messages Overview Screen:
If you do not see them, then you may be using an old version of Event Espresso 4 or they may be on page 2 so you can paginate (browse) to page 2 and they should be there.
The support post ‘Split: Printing Invoice’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.