Hi, I have added an activity and connected it to WooCommerce. The calendar shows up, they can select it, but despite setting it to add to cart, it doesn’t add. Where could the problem be? Thanks in advance for your help.
There are two distinct ways to make a booking form add a product to cart.
From the product page
From the booking form shortcode
In the first case, you need to select the booking form in the WC product settings, the booking form is then automatically displayed on the WC product page. You must not display the booking form with its shortcode, but use the add-to-cart form provided by WooCommerce on the product page (docs, demo).
In the second case, you need to configure your booking form to add a product to cart and select the desired product for each activity in the booking form settings. Then, display the booking form with its shortcode on the desired page (docs, demo).
Note that you still need to set up your product as described in #1 first and create a second booking form for this use case.
That’s exactly what I’ve done and it doesn’t work. It does work with a shortcode though.
By the way – is there a two-way integration with Google Calendar somewhere? So if I block a date in Google Calendar, it would also block it on the website?
Can you confirm that the problem reproduces even when all your plugins are deactivated (except Booking Activities and WooCommerce) and the Twenty Twenty Four theme is active? In that case, I would need an administrator access to a website where I can reproduce the issue in order to dbug it (you can send it to me at [email protected]).
The sync with Google Calendar is only one-way, from Booking Activities to Google Calendar (docs 1.). There is no way to edit your bookings or events from Google Calendar unfortunately, you can only see them.