Support

Home Forums Event Espresso Premium Show Event dates on registration form next to ticket information

Show Event dates on registration form next to ticket information

Posted: September 26, 2017 at 7:27 am


jacl

September 26, 2017 at 7:27 am

Hi

Sorry I’ve searched but cant find a solution on how to show the event START – END DATES on the registration form next to the ticket details. I’m having to add the dates to the ticket name to get them showing which isn’t ideal 🙂

Any solutions?

Also any idea how much longer the Event reminder emails will be in beta testing… getting close yet?

thank you


Josh

  • Support Staff

September 26, 2017 at 1:07 pm

Hi jacl,

You can add the start and end dates just below the ticket details on the registration form by adding some PHP code to a custom template. Here’s a step by step how to:

1) You copy over the attendee_info_main.template.php file from the Event Espresso plugin into your activated WP theme. We recommend using a child theme for adding customizations. The file is located in the /modules/single_page_checkout/reg_steps/attendee_information/ folder.
2) You make the following edit: After line 42, which has this:
<?php echo $ticket_line_item[ $registration->ticket()->ID() ]; ?>
You add this:

<?php 
$datetimes = array();
$datetimes = $registration->ticket()->datetimes();
foreach ($datetimes as $datetime) {
	echo '<tr><td colspan=1><strong>Start:</strong> ';
	echo $datetime->get_date('DTT_EVT_start') . '</td>';
	echo '<td colspan=3><strong>End:</strong> ';
	echo $datetime->get_date('DTT_EVT_end') . '</td></tr>';
}
?>

3) Then you save the file.

The above changes will result in something that looks like this:
https://www.evernote.com/l/AAQR4E2BLl9Nh6K50T50O-P_1uz5MXYMZKc


Josh

  • Support Staff

September 26, 2017 at 1:21 pm

how much longer the Event reminder emails will be in beta testing… getting close yet?

Not close. There was quite a bit of negative feedback given from testers so it’s back to get reworked.


jacl

September 27, 2017 at 12:15 pm

Thanks so much for the guidance on adding dates to the reg form.

Works perfectly 🙂

That’s a shame about the event reminders…. do you think we are talking weeks, months or worse?


Josh

  • Support Staff

September 27, 2017 at 3:38 pm

I don’t have a timeframe on the event reminders add-on.

You’re invited to download the beta, try it out, and let us know what you think of it. There’s information about how to download it in this blog post:

https://eventespresso.com/2017/07/upcoming-event-notification-beta-testing/

The support post ‘Show Event dates on registration form next to ticket information’ 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