Support

Home Forums Event Espresso Premium Show Number of Spaces Available When One Ticket Left – EE4

Show Number of Spaces Available When One Ticket Left – EE4

Posted: August 18, 2015 at 3:40 pm

Viewing 1 reply thread


jackie neufeld

August 18, 2015 at 3:40 pm

Hi there,

We’d like to customize our event list page so that a message appears beside the registration button when one space is left in the class saying “Only 1 Space Left!”. There is a support doc for EE3 outlining how to do this (“How to Customize your Available Spaces Text”), just wondering how to do this in EE4. I am using an EE4 custom code plugin to customize the event pages.

Thanks!


Josh

  • Support Staff

August 20, 2015 at 11:34 am

Hi Jackie,

The ticket selector has an action hook you can use along with a built in method that gets the number of spaces remaining for sale. Here’s an example you can use:

Viewing 1 reply thread

The support post ‘Show Number of Spaces Available When One Ticket Left – EE4’ 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