Multiple Bookings Mode
ProRequires Events Manager Pro. Compare plans
By default each booking is for one event: the visitor fills in the event's booking form, pays, and is done. Multiple Bookings Mode turns that into a shopping cart. Visitors add events to a cart as they browse, then enter their details and pay for everything on a single checkout page.
Turn it on if people commonly book more than one of your events at a time, such as several classes in a term or sessions at a festival. Leave it off if most bookings are for one event, because it adds a step for everyone. The settings section is still labeled Multiple Bookings Mode (Beta).
What changes when it is on
| Area | In Multiple Bookings Mode |
|---|---|
| Event booking form | Only asks for tickets, attendee details and the event's own questions. Name, email and other personal fields move to the checkout. The submit button adds the booking to the cart. |
| Payment | Taken once, at checkout, for the cart total. |
| Coupons | Entered in the cart, and apply to the whole order. See Coupons. |
| Emails | One email per order, from a separate set of templates. |
| wp-admin | Each order is stored as a main booking containing one booking per event. |
Set it up
You need two empty pages, one for the cart and one for the checkout. Create them under Pages then Add New with titles such as "Cart" and "Checkout" and publish them. Events Manager fills in their content.
-
Go to Events then Settings then Bookings then Multiple Bookings Mode (Beta) and set Enable Multiple Bookings Mode? to Yes. The other settings in the box appear once it is on.
-
Choose your Checkout Page and your Cart Page. Both are required.
-
Choose the Checkout Page Booking Form: the booking form shown at checkout. It should hold the personal fields you need to register someone, such as name and email.
-
Click Save Changes.
-
Go to Events then Payment Gateways and check your payment methods. See Payment gateways below.
-
Review the order emails under Events then Settings then Emails then Multiple Booking Email Templates.
The mode's settings, with the cart and checkout pages assigned.
Settings
| Setting | What it does |
|---|---|
| Enable Multiple Bookings Mode? | Switches the cart and checkout on for the whole site. |
| Checkout Page | Where the visitor reviews the cart, enters their details and pays. |
| Cart Hold | How long spaces in a cart are kept for the visitor, when booking holds are on. See Holding spaces in the cart. |
| Redirect To Checkout on Booking? | Sends the visitor straight to the checkout after each event they add. Leave it at No to let them keep browsing. |
| Checkout Page Booking Form | The form shown at checkout. |
| Cart Page | Where the visitor sees what they have added and can remove events before checking out. |
| Successfully Added Message | Shown after an event is added. Default: Your booking was added to your shopping cart. |
| Loading Cart Contents | Shown while the cart loads on sites that use page caching. |
| Event Already Booked | Shown when the visitor tries to add an event that is already in their cart. |
| No Bookings | Shown on an empty cart. |
| Empty Cart Warning | The confirmation asked before the cart is emptied. |
| Checkout Form Button | The label of the checkout's submit button on a free order. Default: Place Order. |
Events Manager replaces the whole content of the cart and checkout pages. To keep your own text around it, write the word CONTENTS (in capitals) in the page where the cart or checkout should go, and only that word is replaced.
What visitors see
Adding events to the cart
On an event page the visitor chooses tickets, fills in any attendee details and event questions, and submits. The event's button keeps its usual label, such as Submit Booking - $45.00, but the booking is added to the cart and the confirmation offers a Checkout link. An event can be in the cart once. Adding the same event again is refused with the Event Already Booked message, whose default text tells the visitor to modify their booking; the cart only offers remove, so to change a booking the visitor removes it from the cart and adds it again.
The cart page
The cart lists each event with its date, location, spaces and price, then the sub total, discounts, taxes and total. details expands an event to show its tickets and the answers given. remove takes it out of the cart. Under the table are the coupon field (when you have coupons), Empty Cart and Proceed to Checkout.
The cart, before checkout.
The checkout page
The checkout shows the same summary, then the Checkout Page Booking Form, any consent checkboxes, the payment method, and the submit button. The payment method selector only shows when more than one gateway is active. On an order with a price the button uses your Submit button text (payment) from the booking form settings, Submit Booking followed by the total unless you changed it, and on a free order it reads Place Order. Visitors who have an account can sign in from here. Submitting creates all the bookings at once and starts the payment for the total.
One form and one payment for the whole order. Only the Offline gateway is active on the demo site, so there is no payment method selector.
A cart in your sidebar or header
Two tools show the visitor's cart anywhere on the site, with links to the cart and checkout pages. The contents update as events are added.
- The Event Bookings Cart widget, under Appearance then Widgets, with the options Title, List item format, Loading text and No bookings text.
- The
[em_cart_contents]shortcode, which accepts these attributes:
| Attribute | Default | Sets |
|---|---|---|
format | #_EVENTLINK - #_EVENTDATES<ul><li>#_BOOKINGSPACES Spaces - #_BOOKINGPRICE</li></ul> | How each event in the cart is listed. Accepts event and booking placeholders. |
cart_text | View Cart | The text of the link to the cart page. |
checkout_text | Checkout | The text of the link to the checkout page. |
no_bookings_text | No events booked yet | Shown when the cart is empty. |
loading_text | Loading... | Shown while the contents refresh. |
Holding spaces in the cart
ProSince 3.10Requires Events Manager Pro. Compare plans
Without holds, adding an event to the cart reserves nothing: spaces are only taken at checkout, and a visitor can find that an event sold out while they were browsing. With core's booking holds switched on, the spaces for each event are held as soon as it goes into the cart.
The Cart Hold setting decides when those holds run out:
| Cart Hold | Behavior |
|---|---|
| Hold the whole cart until one deadline (default) | The clock starts when the first event is added. Everything in the cart is held until that one deadline, so events added later get less time. |
| Hold each event for its own time | Each event is held for the full hold time from the moment it was added, so events can drop out of the hold one by one. |
The length of a hold and how many events one visitor can hold at once are set in core. By default only two events per visitor are held. An event added beyond that limit stays in the cart without a hold, and is booked at checkout if its spaces are still free. See Holds in a Multiple Bookings cart.
Removing an event from the cart, or emptying the cart, releases its spaces immediately. When a hold expires the event stays in the cart, and checkout books it only if spaces remain.
Forms
Two forms are involved in every order:
- Each event's booking form collects what is specific to that event: its custom questions and its attendee form. Personal fields (name, email, address and the other user fields) are left out here, even if the form contains them.
- The checkout form collects the booker's personal details once, for the whole order. Any other field you put on it is stored with every booking in the order.
If a field with the same Field ID is on both forms, the answer given on the event's form is the one kept for that event.
Coupons
Coupons become order-wide. Every coupon works on every event, the code is entered on the cart or checkout page, and the discount comes off the cart total. Coupons can't be limited to particular events in this mode. See Coupons in Multiple Bookings Mode.
Payment gateways
The customer pays once for the cart total, through any active gateway that supports Multiple Bookings Mode. All gateways in the current releases of Events Manager Pro and its Stripe, PayPal, Square, Authorize.Net and Xero add-ons do. A custom gateway that has not declared support is not offered at checkout.
Payments and refunds are recorded against the order as a whole, not against the individual events in it. See the payment gateways overview.
Emails
An order sends one email covering everything booked, using the templates in Events then Settings then Emails then Multiple Booking Email Templates in place of the usual booking emails. There are templates for the booker (Booked User Emails: confirmed, pending, rejected and cancelled) and for you (Admin Emails: confirmed, pending and cancelled, sent to the address in Admin Email). Leave a subject blank to switch that email off.
Because one email describes several events, single-event placeholders such as #_EVENTNAME or #_LOCATIONNAME have nothing to refer to in these templates. Use the summary placeholders instead:
| Placeholder | Output |
|---|---|
#_BOOKINGSUMMARY | Every event booked, broken down by ticket with spaces and price |
#_BOOKINGTICKETS | A list of all tickets booked |
#_BOOKINGATTENDEES | Attendee details for each event and ticket |
#_BOOKINGSPACES, #_BOOKINGPRICE and other booking placeholders | Totals for the whole order |
Two options add per-event emails on top of the order email:
| Setting | Default | What it does |
|---|---|---|
| Email event owners? | No | Also sends the normal single-booking admin emails to each event's owner, once per event booked. Turn it on if different people run different events. |
| Send individual user emails? | No | Also sends the booker the normal single-booking email for every event in the order. |
The usual single-booking templates are still used when you add a manual booking or change the status of one event's booking inside an order. In those emails, #_BOOKINGFORMCUSTOM_MB{field_id} and #_BOOKINGFORMCUSTOMREG_MB{field_id} output answers from the checkout form. For editing templates see booking email templates.
Manage orders in wp-admin
Each order is saved as one main booking (the "multiple booking") plus one ordinary booking per event.
- In any bookings table under Events then Bookings, switch the view to Multiple Booking to list orders, one per row. Actions taken on a row there, such as approving or canceling, apply to every booking in the order, after a confirmation.
- Opening an order shows the customer's details and payments, and the notice This booking contains a set of bookings made by this person. above a list of the bookings inside it, each with edit booking and + details buttons. Opening one event's booking shows a notice with a View Main Booking link back to the order.
- In the normal bookings views, columns from the order are available under Multiple Bookings Data in the table settings, marked [MB].
- You can change the status of a single event's booking without touching the rest of the order, for example to cancel one class out of four.
Limits
- Event owners see less. A user who manages only their own events sees the bookings for those events and the user fields of the booker, but not the other answers given on the checkout form, unless they have the
manage_others_bookingscapability. - Coupons are site-wide only. Per-event and per-owner coupons are not available.
- An order can't be moved as a whole. To move a booking, move each event's booking separately, at the price it was booked for.
- Deposits are not offered on a cart. Partial payments apply to single event bookings only, so an order is paid in full.
- Manual bookings skip the cart. A booking you add in wp-admin is always a single booking for one event.
- PDF invoices are per order, PDF tickets per event. See PDF tickets and invoices.
- Dependent events can be booked in the same order as the event they require. See Dependent events.
Troubleshooting
Bookings are still made one at a time
Both the Checkout Page and the Cart Page must be set to published pages. Without them the mode can't work.
The cart is empty on the cart page but the widget shows events (or the reverse)
A page cache is serving a stored copy of the page. Exclude the cart and checkout pages from your caching plugin or host cache.
A payment gateway is missing at checkout
The gateway doesn't support Multiple Bookings Mode. This applies to custom or third-party gateways. Developers can declare support by setting $supports_multiple_bookings = true on the gateway class, after checking that the gateway handles a booking that contains several events.