Home Forums Event Espresso Premium Sale end date in Table View Template

Sale end date in Table View Template

Posted: December 7, 2018 at 7:37 am


December 7, 2018 at 7:37 am


I would like to show the sale end date of the event in the Table View. I’m using Event Espresso to register for judo tournaments and it would be very handy that the judoka’s can see the SALE enddate. Is this possible?

Marco Hesselink


  • Support Staff

December 7, 2018 at 12:07 pm


This is possible, and requires a working level of html & PHP coding.

First, you’ll follow the documentation for how to load in a custom template:

The file name you’ll be working with will typically be:

Then, you’ll add a new column heading somewhere between lines 45-50 (where the column headings are)
<th>Sale ends</th>

Then, you’ll add the table cell to display the sale end date of the event. The table cells start on line 114 and end around 133.

	<?php $ticket = $event->get_ticket_with_latest_end_time();
	if($ticket instanceof EE_Ticket) {
		echo $ticket->end_date();

The support post ‘Sale end date in Table View 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 5 months, 2 weeks ago ago

Topic Tags


This topic is: not resolved
Do NOT follow this link or you will be banned from the site!