Hi! It’s been a while š
So since I’ve last used EO it seems some things have changed on the booking form and I have two main questions/features I need to accomplish:
1.) There used to be a simple booking form; what happened to it? I would love for users to be able to show their intent to attend an event with just 1 simple button click :]
2.) On a related note, I set up my content so there are multiple book buttons within the same document for the users ease. The button redirects them to the main event’s page though, which for the purposes of this service actually ends up being counterproductive. How can I just have it either book through AJAX, reload the current page, or redirect to a custom page? I’m using the booking form shortcode.
Thanks!

Gabriel David
Ok, so I did find where simple booking is hiding. However, I am still having a problem with simple booking not actually being that simple :/
That is, when I click on “Book”, I am re-directed to the actual event page and then told “Please select a ticket”. The desired behavior is AJAX booking and no need to “Select a Ticket” because I want it to be as simple as a button click

Gabriel David
Hi Gabriel,
“Simple Booking Mode” can be enabled via the booking form and editing the “ticket picker” options.
However, it will only come to affect if all the following are true:
- This option is selected.
- The event has only one ticket currently on sale
- You are booking by series, or the event is non-recurring (i.e. no date needs to be selected)
If all of those are true, and you’re still required to select a ticket, then let me know and I’ll take a look – since that would a bug.

Stephen Harris
The option is selected, the event only has one ticket, and the event is non-recurring.

Gabriel David
If you could provide me with details for admin access via this form or directly via e-mail, I’ll be happy to take a look and see if I can determine what’s going wrong.

Stephen Harris
Sorry, I never got to your second question…
It’s possible to build an ajax-powered one-click booking button, but it’s quite involved. I’d be happy to provide a quote if this something you’d want me to do for you.
On the other hand, it’s fairly straightforward (in terms of code) to change the page where the user ends up after successfully booking. In 1.9 there’ll be a UI option. For the time being I’ll post an example snippet here – but can you let me know which payment gateway you use, or indeed, if the tickets are all free.

Stephen Harris
The tickets are all free. I will email you temporary admin access momentarily.
Theoretically, couldn’t I just create an ajax function that adds a booking for the currently logged in user for a specified event ID thru AJAX on click? Is there something I’m not thinking about that would make this “complicated”?

Gabriel David
I can’t seem to find your email š

Gabriel David
I used the form to send you credentials.

Gabriel David
Theoretically, couldnāt I just create an ajax function that adds a booking for the currently logged in user for a specified event ID thru AJAX on click? Is there something Iām not thinking about that would make this ācomplicatedā?
In this case you’re probably right. However one issue might be that simply creating a booking doesn’t check if there is capacity for it, so events might end up over booked.
More generally avoiding the existing booking validation routine might invalidate third-party code / extensions you might try to run alongside it. But in your case this doesn’t seem relevant.

Stephen Harris