I want to display custom fields in Woocommerce Bookings Availability
P粉130097898
P粉130097898 2023-09-08 19:43:58
0
1
451

I am using Woocommerce Booking and Woocommerce Bookings Availability to display my booking availability as a timetable. This is what it looks like now:

But I want to add custom field information inside each block, such as "vessel type", "destination", etc. How do I proceed?

This is what I want to achieve:

Thanks for any help. I've been stuck in this forever.

P粉130097898
P粉130097898

reply all(1)
P粉956441054

There are some options you can try to achieve this, but this may require some development level knowledge as there are no options to configure from the admin dashboard. Hope these options will benefit you.

WooCommerce provides detailed documentation for its main plugin, so it has developer documentation for the WooCommerce Bookings plugin, but I couldn't find the same documentation for Bookings Availability.

1. Booking Template

You can use this to modify the display template of the booking screen. Please see more details here: https://woocommerce.com/document/bookings-templates/

2. hook up

Introduced some filters before processing the fetched data (inserting some extra data/modifying the entered data) and sending the data to the frontend for display. You can find the right filter for your situation to accept the data (with some extra fields) and display it all on the screen.

Hook details here: https://woocommerce.com/document/booking-actions-and-filters-reference/

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!