Support

Home Forums Event Espresso Premium Display Selected Price Option in Attendee List?

Display Selected Price Option in Attendee List?

Posted: August 14, 2014 at 1:11 pm

Viewing 5 reply threads


Trevis

August 14, 2014 at 1:11 pm

Is it possible to display the pricing option a user has selected for an event in the front-end attendee list for that event? It displays the selected option in the admin side, so I’m assuming it would be.


Dean

August 15, 2014 at 2:04 am

Hi Trevis,

Yes you can, but it involves a template edit.

Copy the /wp-content/plugins/event-espresso_ee31365/templates/attendee_list.php over to wp-content/uploads/templates.

Then edit that file and you can use $attendee->price_option in the list item at the bottom.

IF you need further info, you can var_dump the $attendee (within the foreach) and see exactly what data is available.


Trevis

August 15, 2014 at 12:29 pm

That works perfect, thanks Dean!


Trevis

August 20, 2014 at 6:55 pm

One thing that’s occurring when there is no price option selected and an attendee has been manually added by an admin is it will display “Admin” where the price option would normally display. Is there a way to prevent that?

Screenshot


Dean

August 21, 2014 at 3:49 am

Hi Trevis,

Unfortunately not. Any attendee added via the admin will have Admin in place of a ticket type. The only real way to avoid that would be to register them from the front end.


Trevis

August 23, 2014 at 1:11 pm

OK, thanks Dean.

Viewing 5 reply threads

The support post ‘Display Selected Price Option in Attendee List?’ 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