Support

Home Forums Event Espresso Premium Prevent booking same event twice

Prevent booking same event twice

Posted: November 4, 2014 at 5:16 am


Kish Parmar

November 4, 2014 at 5:16 am

Hey,
Am I right in assuming that currently there is no way of preventing a user from booking an event twice as I haven’t seen mention of this functionality anywhere?


Dean

November 4, 2014 at 6:09 am

Hi,

There isn’t a way to prevent this by default. I’ve heard of someone customising the plugin to disable it but I believe this was for EE3 and requires the WP User Integration addon and requires the user to be logged in (so member only events) – I also do not have any details of the modification.

I came up with a very basic example here (https://gist.github.com/Apina/f11b5ce2db10f7b3bb93) which informs informs logged in users that they have already booked, but does not block them. In theory it could be expanded upon by a developer to block events.

Please note that that code is an example only and is not supported by us, plus it has not been tested on recent versions.

The support post ‘Prevent booking same event twice’ 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.

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: closed

Updated by  Dean 5 years, 5 months ago ago

Topic Tags

Tagged: ,

Notifications

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