Support

Home Forums Event Espresso Premium Displaying tickets left

Displaying tickets left

Posted: October 19, 2019 at 5:02 pm

Viewing 2 reply threads


kefka

October 19, 2019 at 5:02 pm

Hello, i’m trying to figure out how to display remaining tickets left for an event. I see that there is an option in the templates section however it only seems to show when there are more then one ticket linked to the event. How can I have this display if I only want one ticket available for anyone registering for my event?


kefka

October 19, 2019 at 5:07 pm

Specifically, I mean that the “show details” option only seems to be available when there are multiple tickets for the event


Tony

  • Support Staff

October 21, 2019 at 4:04 am

Hi there,

If your event has a single free ticket and has the ‘Maximum number of tickets allowed per order for this event’ option set to 1, EE will hide the ticket selector options by default.

However, you can prevent that using a snippet of code:

add_filter('FHEE__ticket_selector_chart_template__hide_ticket_selector', '__return_false');

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Viewing 2 reply threads

The support post ‘Displaying tickets left’ 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