Many of you have made this request:
I want to display a calendar with all my activities on my homepage, and when the customer clicks an event (or when he submits the form):
- he is redirected to a page corresponding to the activity
- the WooCommerce product corresponding to the activity is directly added to cart, without having to go through the product page
Booking Activities 1.7 meets these two requirements.
In addition to these major features, this version also offers
- full compatibility with WordPress tools for exporting and deleting personal data, to make it easier for you to comply with the RGPD European law
- as well as a tool for archiving your events and your bookings, in order to unclog your database if your site generates a big amount of bookings
Add a product to cart from a calendar
You all know the default behaviour: when you submit a booking form, a booking is made.
You can now change what action to perform, and when.
In the “Calendar” field settings of your form, you will find an “Actions” tab, and a “Form action” field.

Select “Add a product to cart”, and choose when to trigger the action: when you click the event, or when you submit the form?
Then, bind a product to each activity and each group category displayed on your calendar.
It can be a simple product, or a variation of a variable product.
This product will be added to cart immediately after the customer has submitted the form / clicked the event.

Go to the page where the form is displayed (with the shortcode) to test its new mode of operation (see a demo here).
Redirect to a page according to the event
Same principle: go to the “Calendar” field settings of the desired form, and set the form action to “Redirect to a URL”.
Choose whether the redirect should be triggered when the user clicks the event, or when he submits the form.

Finally, set a redirect URL for each activity and each group category.
Now, your customers will be redirected to the corresponding page as soon as they click the event / submit the form.
Note that if there is a booking form on the redirect page, the desired event will be automatically selected, and any custom fields created with the Advanced Forms add-on will also be filled. Your customers won’t have to fill in the same fields twice.
For your convenience, an option has been added to easily redirect your customers to WooCommerce product pages. It is working exactly like URL redirects, but instead of giving the product URL, you will be able to pick the targeted product directly in a selectbox.

Export and erase personal data
Since the entry into force of the RGPD law, WordPress offers a tool to export and delete your customers’ personal data (on your admin panel, Tools > Export / Erase personal data).
You can now use these tools to export / delete the customers’ bookings personal data upon request.

Only personal data will be deleted, your reservations will be kept safe, they will simply become anonymous.
If you use the Advanced Forms add-on, you will be able to define for each of your custom fields whether or not it is personal data. If it is marked as such, the data collected with this field will be exported / deleted during the process.

Archiving events and bookings
Edit: The archiving tool has been removed since version 1.12.
If many bookings are made everyday on your site, your database size will quickly increase and performance may decrease.
Booking Activities offers an archiving tool to help control your database size. It will archive all data prior to the specified date related to your bookings and events, and keep it safe in a SQL file.
You will also be able to download the backup files and restore your data with one click.

Go to Booking Activities> Settings> System to find this tool.
…and all the small things, with true care
- You can use HTML tags in your events / groups of events title (word in bold, hyperlink…)
Use HTML tags in event title - Since version 1.6, your customers can book without account, but therefore these customers do not appear in the drop-down list when you want to filter your bookings by customer. Now, you can manually enter an unregistered customer email address in this field and apply filters to easily find his bookings
- Use the {booking_list_raw} tag in your notifications to display a comma-separated list of events, instead of an HTML list
[bookingactivities_list]
shortcode supports more parameters, so you can filter more specifically your customers’ booking list (E.g.:in__group_category_id
,in__form_id
, same withnot_in__
)- Your customers and you can change the phone number saved during the booking process on the user Profile page