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/

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: publish

Updated by  Tony 1 week ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!