Support

Home Forums Event Espresso Premium Adding Company Name to PDF

Adding Company Name to PDF

Posted: July 17, 2013 at 9:02 am


Kimber

July 17, 2013 at 9:02 am

Is there anyway to add the Company name to the PDF invoice right under the attendee’s name?

Thanks!


Dean

July 17, 2013 at 9:34 am

This is possible but I’ll be honest the Invoice PDF template is not very nice to edit.

There is some code in the template that can be uncommented and can be used to add in the question data.

You will need the Questions ID, and to search the code for EDIT THE NUMBER BELOW (line 94) as it will need the id number of the question you made.

I made a quick version here that you can use, but it may need further modification, so you may want your web developer to look at it if it is not suitable

http://pastebin.com/SgXUj7iQ (it replaces the code in the gateways/invoice/template.php file.)

Hope that helps you a bit.


Josh

  • Support Staff

July 17, 2013 at 10:01 am

Hi Kimber,

There is, and it involves adding some custom code to the invoice template file to grab the answer from the “Company Name” question on the registration form.

If you or someone on your staff can edit one of the template files in the invoice payment gateway I can post some example code here. Does that sound all right?

The support post ‘Adding Company Name to PDF’ 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