Support

Home Forums Event Espresso Premium Tickets sold/remaining

Tickets sold/remaining

Posted: April 13, 2017 at 12:32 am


lupineart

April 13, 2017 at 12:32 am

Hey guys,

I’m looking to do something like here:

https://eventespresso.com/topic/available-spaces-in-ee4/

But would like to show TICKETS SOLD in place of the ‘REMAINING TICKETS’ and show XX / XX (sold / total available) in place of XX (remaining tickets).

I didn’t make any modifications to the code provided in the link above, but cannot seem to get that to work. Site link: http://www.lupineart.com/events/toddlers-3-5yrs/

I first tried editing the function.php in my child theme folder, then the webpage didn’t load anything (just white). Then I scrapped that, and created a site specific plugin: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

I appreciate you help!


Tony

  • Support Staff

April 13, 2017 at 4:02 am

Hi there,

When you got a whitescreen I’m guessing you were using the code from here:

https://eventespresso.com/topic/available-spaces-in-ee4/#post-145623

And also included the <?php tage from the beginning of the snippet, you need to leave that out if you already have an opening php tag, which you will do in functions.php.

Did you try the code I posted a little further on in that thread?

https://eventespresso.com/topic/available-spaces-in-ee4/#post-145670

The support post ‘Tickets sold/remaining’ 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