Posted: 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!
You can use a snippet like this:
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: