Support

Home Forums Event Espresso Premium Show Ticket Name Per Ticket in Events Table View

Show Ticket Name Per Ticket in Events Table View

Posted: November 10, 2016 at 7:30 pm


agilityhealth

November 10, 2016 at 7:30 pm

We’ve implemented all ticket prices as a separate column in the events table view with instructions from this post:
https://eventespresso.com/topic/add-all-ticket-price-as-separate-column-in-the-events-table-view/

Now we need to either add the ticket name next to each ticket price or as a separate column. Is that possible?

http://agilityhealthradar.com/view-schedule/


Tony

  • Support Staff

November 11, 2016 at 2:28 pm

Hi there,

Using the code Josh provided from the other thread here:

https://gist.github.com/lorenzocaum/ef6afefd07c9c5f6f681#gistcomment-1874376

You can change this:

$ticket_price .= '<li>' . $ticket->pretty_price() . '</li>';

To something like this:

$ticket_price .= '<li>' . $ticket->pretty_price() . '(' . $ticket->name() . ')' . '</li>';

To output $1.00 (Ticket Name)

Would that work?


agilityhealth

November 14, 2016 at 9:38 am

Yes it will work. Thank you!


Tony

  • Support Staff

November 15, 2016 at 6:20 am

You’re most welcome 🙂

The support post ‘Show Ticket Name Per Ticket in Events Table View’ 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