Shortcodes integration
Here is all you can do with a simple shortcode:
- Display a booking form and make reservations
- Display a simple calendar
- Add a product to cart or redirect to a URL from a calendar
- Display your customers’ booking list
Booking form
You can use Booking Activities without WooCommerce.
Simply write this shortcode: [bookingactivities_form form="xx"]
in your page and the booking form appears as follows:
Note that it is possible to combine your calendars and display only the activities of your choice.
Simple calendar
If you want to display only the calendar, for simple consultation, you can remove the “Submit” button (and any other fields) from your form.
Form actions: add to cart, redirect to a URL
You can use your booking forms or your simple calendars for:
- Making a reservation
- Redirecting to a URL
- Adding a product to cart
In the example below, submitting the booking form will add a product to cart:
Note that it is also possible to trigger the form action when you click the event.
Customers’ booking list
Finally, the shortcode [bookingactivities_list]
allows your customers to see their bookings list. Use it on their My Account area for example. You can also display their calendar of bookings. You must be logged into your account to see it.
This shortcode allows your customers to cancel or reschedule their reservations, or ask for a refund (according to your preferences).