Support

Home Forums Event Espresso Premium Countdown Timer Starts Over

Countdown Timer Starts Over

Posted: February 26, 2017 at 9:53 am

Viewing 6 reply threads


mpseminars

February 26, 2017 at 9:53 am

Hello, I’ve added the countdown timer to my checkout page and changed the time from 60 minutes to 30 minutes by using the code below. However, when the 8 minutes runs out, the timer starts over at 60 minutes. Thank you.

=====================================
//* Display Coutndown Timer
add_filter( ‘FHEE__registration_page_wrapper_template__display_time_limit’, ‘ee_display_countdown_timer’ );

function ee_display_countdown_timer() {
return TRUE;
}

//* Set Countdown Limit to 8 Minutes
add_filter( ‘FHEE__EE_Session__construct___lifespan’, ‘ee_change_reg_time_limit’ );

function ee_change_reg_time_limit() {
return 8 * MINUTE_IN_SECONDS;
}


Josh

  • Support Staff

February 27, 2017 at 3:34 pm

Hi there,

While the timer function can be added for testing, it’s not recommended to be displayed on production sites. What you’ll find when you test the timer is after the 8 minutes is up, if you try to go to the next registration step (or finalize if it’s the last step) it will throw an error because the registration session expired at the 8 minute mark. That’s a really short time limit so you’ll likely get customers reporting errors that say “A valid Primary Registration for this Transaction could not be found.”


mpseminars

February 28, 2017 at 12:47 pm

Is there another option to have a timer on the checkout page likes eventbrite does? Something that I can use on a production site? Thanks.


Tony

  • Support Staff

March 3, 2017 at 4:01 am

Hi there,

No, we do not currently have another timer you would display to users on a production site.

Are you planning on using a session lifespan of 8 Minutes on the production site?


mpseminars

March 7, 2017 at 9:10 am

Yes, that is correct.


mpseminars

March 7, 2017 at 9:11 am

…And would like to display a countdown timer for it.

What are the downsides of using the current timer?


Josh

  • Support Staff

March 7, 2017 at 11:19 am

The downside of using the current timer and setting it to be 8 minutes will be many of your registrants may not be able to finish their registration within that time period, and they’ll get errors when they try to finish their registration after that 8 minute is up.

Viewing 6 reply threads

The support post ‘Countdown Timer Starts Over’ 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