Home Forums Event Espresso Premium Available Tickets (Total amount) in Table view

Available Tickets (Total amount) in Table view

Posted: June 7, 2021 at 11:03 am


June 7, 2021 at 11:03 am

is it possible to show the number (Total Amount) of available tickets not the available ticket types in the Table view and the Event detail view?
When I use the Template Tag espresso_event_tickets_available() I can see only the type of Tickets available not the total amount.
In Event detail view I have to click on each drop down to see how many places are available.



  • Support Staff

June 8, 2021 at 4:55 am

Hi there,

The EE_Event object has a couple of methods you can use for available spaces.

$event->total_available_spaces(); shows the total available spaces on the event no considering sold values.

$event->spaces_remaining_for_sale(); shows the number of spaces remaining for sale taking to account the limit and sold values.

Is that what you are looking for?


June 8, 2021 at 10:04 am

Hi Tony,
great, exactly what I’m looking for!


  • Support Staff

June 9, 2021 at 3:48 am

Great 🙂

Any further questions just let us know.

You must be logged in to reply to this support post. Sign In or Register for an Account

Event Espresso