Support

Home Forums Event Espresso Premium Missing City Names in PDF of Invoice

Missing City Names in PDF of Invoice

Posted: March 18, 2014 at 9:45 am


cmccreery

March 18, 2014 at 9:45 am

Wordpress 3.8.1
Event Espresso – 3.1.36.4.P
ldahalton.ca/

The pdfs printed out for attendees is missing city and province/state. Have confirmed the registrations are using system fields for both city and state. Checked the database and there are entries in those fields for attendees


Josh

  • Support Staff

March 18, 2014 at 12:06 pm

Hi Chris,

Did you look in the _events_attendee table or in the _events_answer table? The reason I ask is because the invoice template grabs the data from the _events_attendee table.


cmccreery

March 18, 2014 at 12:08 pm

This was in the events_antendee table.


Josh

  • Support Staff

March 19, 2014 at 6:38 am

Hi Chris,

Can you try a quick test of downloading an Invoice with this line of debug code added to the bottom of the gateways/invoice/template.php file? You add it just before the last line that says exit;

var_dump($attendee);

The PDF will fail, but you’ll see an output of variables where you can check to see if city and state are being passed to the template.


cmccreery

March 19, 2014 at 8:43 am

Thanks Josh, since this is a production site and in the middle of a registration period I will have to wait to test until this evening. I’ll let you know what I find.

Thanks

The support post ‘Missing City Names in PDF of 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.

Event Espresso