Support

Home Forums Event Espresso Premium Tickets holding time

Tickets holding time

Posted: May 31, 2019 at 4:34 am

Viewing 1 reply thread


cmventures2

May 31, 2019 at 4:34 am

Hi
My client has pointed out that a customer bought their last ticket but then didnt checkout. The event said sold out and the ticket did not go back into the system for about 1hr 30m.

Is there a way of controlling this or installing a countdown?


Josh

  • Support Staff

May 31, 2019 at 7:13 am

Hi,

You can do both.

To change the session time limit to 45 minutes, you can add the following code to a site specific functions plugin:

add_filter( 
'FHEE__EE_Session__construct___lifespan', 
'cmv_change_reg_time_limit' 
);
function cmv_change_reg_time_limit() {
 return 45 * MINUTE_IN_SECONDS;
}

Please note that the shorter you set that time limit, the more you’ll put the user at risk to where they will not have enough time to finish the transaction, and the transaction will fail.

Then, to add a countdown timer, you add:

add_filter( 
  'FHEE__registration_page_wrapper_template__display_time_limit', 
  '__return_true'
);

You can add the above code snippets to a functions plugin.

Viewing 1 reply thread

The support post ‘Tickets holding time’ 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