Support

Home Forums Event Espresso Premium Display number of tickets available for a specific event

Display number of tickets available for a specific event

Posted: February 28, 2018 at 10:13 am


mamlearning

February 28, 2018 at 10:13 am

To continue the conversation.
Is there a way to get the number of Tickets still Available on any higher level than currently (bottom level)? I don’t prefer to but a bit of coding is acceptable to me to get this working.

Ideally I want to show the number of tickets still available independent of the event page and also on top level. Any bit that helps with this is very welcome.

Initial topic: https://eventespresso.com/topic/number-of-tickets-still-available/


Tony

  • Support Staff

March 1, 2018 at 4:17 am

Hi there,

You mentioned coding so I’m assuming you are confident with PHP?

There’s a snippet there:

https://gist.github.com/Pebblo/f07d5515180b363864160d90ca41ec0f

That adds a shortcode [EE_NUMBER_OF_TICKETS] which will pull the remaining tickets for an event, if used within the event description it will pull the current events tickets. If you use it outside of the event editor you’ll need to add the event_id, [EE_NUMBER_OF_TICKETS event_id=111] pulls the number of tickets for the event with ID 111.

Is that what you are looking for?

The support post ‘Display number of tickets available for a specific event’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Tony 3 months, 3 weeks ago ago

Topic Tags

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!