Support

Home Forums Event Espresso Premium How do I add date and venue to invoice template

How do I add date and venue to invoice template

Posted: July 28, 2015 at 8:56 am


Fatbeehive

July 28, 2015 at 8:56 am

I have been going around in circles and can’t figure out your invoice templates and I have had no luck looking through previous forum posts or your support / help documentation.
All I want to do is add the date and time of the event the registrant is booked on to the invoice template. Similar to the Order Confirmation Receipt template.

Please can you help me?


Tony

  • Support Staff

July 28, 2015 at 10:42 am

Hi there,

When you registrants register onto an event they are registering onto a ticket.

So what you need to display is the ‘Datetimes’ that are assigned to that ticket (as those are what the registrant can go to)

Go to Event Espresso -> Messages -> Invoice. Click on the Recipient link to edit the template – http://take.ms/x25lZ

So this would be done within the TICKET_LIST field – http://take.ms/AnZTV

Looking within Receipt to have a similar output the datetime list uses:

<ul class="event-dates">[DATETIME_LIST]</ul>

So we’ll add that – http://take.ms/fzxwB

Most _LIST shortcodes loop over each element of the list (in this case each Datetime assigned to the ticket) and use the content of the shortcode field to build the list.

We wrapped the field in UL tags so that we can us LI to list out the dates.

Scroll down a little more you’ll find an empty ‘[DATETIME_LIST]’ field.

Again copying from the Receipt we’ll add the value from there to the invoice:

<li>
	[DTT_NAME] <br />
	[DATETIME_START] - [DATETIME_END] ([DATETIME_TIMEZONE]) <br />
	<p class="ticket-note">[DTT_DESCRIPTION]</p>
</li>

See here – http://take.ms/qMMyW

So for each datetime it loops over and lists the DTT_Name, Datetime start, end, timezone and finally description (you can remove any of those values if you prefer) which looks like this – http://take.ms/3aHbN

Does that help?

The support post ‘How do I add date and venue to invoice template’ 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