Forums Forums Search & Filter Pro YITH WooCommerce Booking and Appointment compatibility

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #265227

    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

    Trevor
    #265257

    It isn’t, I am, sorry. You correctly identify that you would need a field that specifically reflects what the YITH plugin uses PHP to work out.

Viewing 2 posts - 1 through 2 (of 2 total)