For group registrations in a multi ticketed event (a main forum and several workshops) when registering several people for various sessions all at one time the single page registration form just shows a string of attendee registration form blocks labeled attendee 1, attendee 2 … attendee 9 but unfortunately, by the time the visitor gets down to attendee 5, or 6 or so they lose track of which session that ticket/attendee number is associated with. So what I want to do is append the Ticket Name to the Attendee # header on each attendee registration block.
I’m not sure of the EE variable that I need or where to put it in customizing the registration form. I’m making a guess that it might be <?php echo $attendee['event_hdr']; ?> but not sure. But I surely can’t be the only one needing better labeling of the attendee registration form blocks….
Thoughts, suggestions, even educated guesses will be most welcome!
This was resolved by concantenating $registration->ticket()->name(). to line 219 in /event-espresso-core-reg/modules/single_page_checkout/reg_steps/attendee_information/EE_SPCO_Reg_Step_Attendee_Information.class.php
add the above snippet to the beginning of: `’ – Attendee %d ‘, ‘event_espresso’ ), $attendee_nmbr)
)`
the resulting line is: 'legend_text' => sprintf( __( <strong>$registration->ticket()->name() .</strong>' - Attendee %d ', 'event_espresso' ), $attendee_nmbr)
Follow normal custom template procedures for applying this customization
Sorry, formatting garbled that explanation: the resulting line with the ticket name appended is ‘legend_text' => sprintf( __( $registration->ticket()->name() .' - Attendee %d ', 'event_espresso' ), $attendee_nmbr)
Viewing 2 reply threads
The support post ‘Show Ticket Name/Description on Attendee Registration Form’ 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.
If you would like help from the Event Espresso staff, then please purchase a support license right now so you can create a support topic in our premium support forums.