Support

Home Forums Community Forum Show Ticket Name/Description on Attendee Registration Form

Show Ticket Name/Description on Attendee Registration Form

Posted: September 21, 2016 at 6:06 pm

Viewing 2 reply threads


ahhhaweb

September 21, 2016 at 6:06 pm

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!


ahhhaweb

September 21, 2016 at 10:20 pm

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


ahhhaweb

September 21, 2016 at 10:23 pm

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.

Event Espresso