How To Prevent Users From Double Booking Events

Have you ever had events that are accepting registrations at the same time, and then had customers purchase tickets or register for both events, even though they can’t split themselves in half and attend both events at the same time?

If so, here is a little trick that Event Espresso maestro himself, Josh, came up with.

First of all you will need to group the events (classes, etc) together in a table. This can be achieved with the table shortcodes from the Custom Files add-on.

Adding the following to the page or page template which displays the tables.

<script> jQuery("a.ee_add_item_to_cart").click(function() { jQuery(this).closest(".espresso-table").fadeOut('slow'); })? </script>

This code hides the table once an item is added to cart, effectively stopping the user from selecting any others from that group.

If the user has Javascript turned off, this will not work.

We always recommend migrating to Event Espresso 4 if the time and situation is right for you. In this case, Event Espresso 4 also has a feature that disallows people from registering for more than one ticket at a time for a single event (given you are NOT using the Multiple Event Registration add-0n). These features can help you select the right events and keep their schedule organized. Additionally, you can add iCal links to your confirmation email messages so that when attendees add your events to their calendar, they can clearly see that they have one or multiple events booked for the same time.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us