Support

Home Forums Event Espresso Premium PHP code for showing available spaces on reg pages

PHP code for showing available spaces on reg pages

Posted: September 22, 2015 at 10:29 pm

Viewing 1 reply thread


Pedro Ordenes

September 22, 2015 at 10:29 pm

I recently upgraded to EE4 and had made a customization to EE3 that now obviously isn’t there. Essentially, on single event registration pages, it was set to say something like “Sign up now! Plenty of spaces available!” but when it dropped to 10 or less spaces, it would say “Time is running out! Only x spaces left!”

How can I do this in EE4? Thanks!


Lorenzo Orlando Caum

  • Support Staff

September 23, 2015 at 9:09 am

Hi, here is an example of how to show a message when a single spot is remaining:

https://gist.github.com/joshfeck/36bf0eb42cb81204ab9c


Lorenzo

Viewing 1 reply thread

The support post ‘PHP code for showing available spaces on reg pages’ 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