Support

Home Forums Event Espresso Premium Incomplete registration

Incomplete registration

Posted: September 3, 2019 at 10:06 am


gmkws

September 3, 2019 at 10:06 am

My understanding from reading a few post is that if someone is registering and leaves in the middle of it, it will go to incomplete. After 60 min it should be released back into available seats? My customer would like that 60 min to be set to “0” they do not want incomplete to stick around as there classes fill very quickly.

Where can this be changed.

Thank ,you,
Gerrit


Josh

  • Support Staff

September 3, 2019 at 10:24 am

Hi Gerrit,

If you change this to 0, then it will not allow people time to fill out the registration form. Instead, they’ll see an error message that says their session has expired. You could set the limit to 15 minutes, but that will likely cause problems for anyone that needs more than 15 minutes to complete a registration from start to finish.

A good compromise may be to set the limit to 30 minutes, which allows enough time to complete most registration forms and provide all billing/credit card information.

You can set the limit to 30 minutes by adding the following code to your site:

add_filter( 
'FHEE__EE_Session__construct___lifespan', 
'gmkws_change_reg_time_limit' 
);
function gmkws_change_reg_time_limit() {
 return 30 * MINUTE_IN_SECONDS;
}


gmkws

September 3, 2019 at 11:21 am

maybe a silly question, but where do i need to add the codes?

Thank you


Josh

  • Support Staff

September 3, 2019 at 11:34 am

You can add the above code to a functions plugin or, if available, into your WordPress child theme’s functions.php file.

The support post ‘Incomplete registration’ 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