Support

Home Forums Event Espresso Premium Expire Cart

Expire Cart

Posted: July 24, 2019 at 2:31 am

Viewing 1 reply thread


ocouvin

July 24, 2019 at 2:31 am

Hey,

Does is existed a expiration time for cart ? If yes, how ? and how change this parameters ?

Thank you


Tony

  • Support Staff

July 24, 2019 at 4:14 am

Hi there,

Yes, there cart is active for the duration of the uses session, which by default is 1 hour.

You can change this using a snippet like this:

https://gist.github.com/Pebblo/b6e20b03c57efe693bd86ebcf1b00ce9

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

The above would change the session lifespan to be 30 minutes, we don’t recommend setting anything less than 15 minutes as it is the total time from when the user submits a ticket to the cart and finalizes the registration, meaning if the session expires whilst the user is adding their payment details it can have unexpected results.

Viewing 1 reply thread

The support post ‘Expire Cart’ 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