Support

Home Forums Event Espresso Premium Change minute length of Ticket Reservation from 1 hour to something shorter?

Change minute length of Ticket Reservation from 1 hour to something shorter?

Posted: February 23, 2021 at 1:38 pm


jcforrester

February 23, 2021 at 1:38 pm

(EE4) So, as I’ve read (and for those that don’t know and are viewing this later), Event Espresso uses a reserved ticket system to make sure nothing gets doublebooked. Basically, if you put tickets into your cart they get marked as reserved for an hour, which is reflected on the backend as well as in the frontend.

My question then, is since my events are 1. Free and 2. Super limited capacity (10 max on a lot of them), is there a way to shorten up that time from 1 hour to only reserve tickets while they are in a cart? Or at minimum change it from an hour to 10 minutes or something?

I just don’t want users putting 8 tickets in their cart, looking at a different event, and then thinking the event is now booked up when they technically are holding the tickets.

Thanks in advance!


Tony

  • Support Staff

February 24, 2021 at 5:06 am

Hi there,

You can use a snippet like this:

https://gist.github.com/Pebblo/b6e20b03c57efe693bd86ebcf1b00ce9

The tickets are reserved for the duration of the users session, that snippet changes that to be 30 minutes, but you can alter that on line 4 if needed, however, we generally don’t recommend going less than 15 minutes. The session is the whole registration process from ticket selection through to the thank you page so you don’t want that to time out whilst they are adding their registration details.

You can add the above to a custom functions plugin and we have some details on creating one here:

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

The support post ‘Change minute length of Ticket Reservation from 1 hour to something shorter?’ 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