- This topic has 1 reply, 2 voices, and was last updated 5 years, 8 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › YITH WooCommerce Booking and Appointment compatibility
Hello,
I use YITH WooCommerce Booking and Appointment plugin, to create bookable products on my website.
On my “product archive” pages, I want to use Search & Filter Pro plugin to filter the results.
My booking products are different “Karaoke Box”, bookable over 1h30 slots. Several slots are available each day.
On my “product archive” pages, I want to be able to filter by date, in order to exclude the days when all the slots are already reserved.
However, YITH plugin doesn’t include informations in “Meta Key”, but it’s given by a number of function that check general and product availability rules.
In the file “class.wc-product-booking.php” of YITH booking plugin, we can find the method is_available used by the plugin to check the availability…
Is it possible to filter the available dates from a PHP function?
Best regards