• Resolved bhwarrior

    (@blackhatwarrior)


    Is there a way to hide booking calendar on a WooCommerce product page when there are no dates available for booking? It’d be better if it shows “Fully Booked” or “Currently Unavailable” notice in place of the calendar. Also, it should work with Waterfall layout.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author yoancutillas

    (@yoancutillas)

    Hello,

    This is not possible for now because events are retrieved by interval (of 92 days by default). So we can know if there are no events in that interval, but not on the whole availability period.

    It’s the same problem as for this feature request (to open the calendar on the first event instead of navigating through empty views until we find it).

    However, I am working on a solution for this to be release in the next version (1.8), so I may have an opportunity to include that feature at the same time. Thank you for your request.

    Regards,
    Yoan Cutillas

    Plugin Author yoancutillas

    (@yoancutillas)

    This is now released in 1.8.0.
    You need to activate the “Trim empty days” option in Booking Activities > Booking forms > your form > Calendar field settings > “Availability” Tab

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hide calendar if no dates available for booking’ is closed to new replies.