Support

Home Forums Event Espresso Premium EE3 Add Registration Data to Invoice, or print registration email?

EE3 Add Registration Data to Invoice, or print registration email?

Posted: April 3, 2016 at 8:58 am


websynest

April 3, 2016 at 8:58 am

I have a client who needs to be able to print out registration data for each event, whenever she pleases. 😉 They do not like the spreadsheets that you can export, which are kind of unwieldy. They also don’t want to have to keep track of the registration emails, which do have all of the needed data on them. They want to be able to, on demand, print out the data for an event in an easy-to-read format.

So the two options I have been able to come up that would be possibilities:

1. Using the pdf invoice for this (but I would need to be able to add all of the registration info to the invoice template). Here is one of our current invoices: https://dl.dropboxusercontent.com/u/6464476/Invoice_18_book-a-kids-party-5-56b51f2774769.pdf
Note it has some <br/> characters messed in with the address and I don’t know why/where that is happening. They need to go. Been looking at the invoice template.php and don’t see where that issue is.
I would then also need to add all of the other registration info to the invoice. Which I don’t really know how to do.

2. The second option is to be able to re-print the email registration on demand. I know you can resend the email to the registrant. Would really like a way to just print it without sending it to anyone again.

3. Or any other options that would allow them to print out all of the registration data in a nice format without a spreadsheet. I am open to ideas.


Tony

  • Support Staff

April 4, 2016 at 4:55 am

Hi there,

Note it has some
characters messed in with the address and I don’t know why/where that is happening.

Go to Event Espresso -> Payment Settings -> Invoice.

You’ll find an ‘Address to Send Payment’ text box which likely contains br tags, remove those and save.

That should remove those tags from the invoice.

The CSV was included to provide a printable copy of the registration details, all of the other options are going to require custom development, which is not something we can provide on the forums, however we can point you in the right direction.

1. Using the pdf invoice for this (but I would need to be able to add all of the registration info to the invoice template).

You could use the [EE_ANSWER] shortcode within template.php, so you can do something like:

$custom_answer_13 = do_shortcode('[EE_ANSWER q="13" a="'.$attendee_id.'"]');

Which pulls in the answer for the question with ID = 13 and assigned to the current attendee_id.

Then display the $custom_question_13 variable within the template.

You will likely need the help of a developer familiar with PHP to do this.

2. The second option is to be able to re-print the email registration on demand. I know you can resend the email to the registrant. Would really like a way to just print it without sending it to anyone again.

You could use a mail logging plugin such as WP Mail logging however it will not be a very user friendly solution as they will need to find the email within the log each time.

3. Or any other options that would allow them to print out all of the registration data in a nice format without a spreadsheet. I am open to ideas.

The other option would be to create a custom function to import all of the data and output it to PDF in any way you prefer, however its not really a simple solution, especially with PDF’s as they are very picky on what will and will not work.

Again you’ll need developer familiar with PHP (and WordPress) to add this, we have a list of developers familiar with EE here:

https://eventespresso.com/developers/event-espresso-pros/

EE4 allows for more customization of the Invoice from within the admin, this could be setup to include of all of the custom questions easier than with EE3.

The support post ‘EE3 Add Registration Data to Invoice, or print registration email?’ 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.

Event Espresso