Support

Home Forums Event Espresso Premium Total number of tickets per event / category

Total number of tickets per event / category

Posted: December 3, 2018 at 12:33 pm


hemc.rodeo

December 3, 2018 at 12:33 pm

I noticed there is a way to limit max number of tickets per order but we are looking to have a max number of tickets for the entire event or better yet for a category.

We have a category created with 21 events. We want our members to only buy 4 tickets max between 21 events.

Lastly, can we add a timer during checkout? You have 15 mins to purchase and if not tickets are put back for others.


Josh

  • Support Staff

December 4, 2018 at 11:00 am

Hi,

Max number of tickets per event can be set in the Datetime Reg limit. What that will do is set a limit to the total number of sold tickets for that event, it does not limit an individual to go back and buy more tickets later in other transactions though.

Currently there isn’t a way to set a limit of purchased tickets for a category.

You can add a timer during checkout, by adding this code to a site specific-plugin:

add_filter( 
  'FHEE__registration_page_wrapper_template__display_time_limit', 
  '__return_true'
);

add_filter( 
'FHEE__EE_Session__construct___lifespan', 
'ee_change_reg_time_limit' 
);
function ee_change_reg_time_limit() {
 return 15 * MINUTE_IN_SECONDS;
}

Please note that if the above is activated on a site, the end user may not have enough time to fill out the registration forms & credit card information, so you will likely see an uptick in abandoned & un-finalized registrations.

The support post ‘Total number of tickets per event / category’ 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