Forums Forums Search & Filter Pro Woocommerce Bookings search by date integration

Viewing 3 posts - 1 through 3 (of 3 total)
  • Anonymous
    #11875

    Hey Guys,

    i have the following site: http://www.venicein.com where we use the woocommerce bookings plugin for managing the booking of appartments. On the page “appartments” we are using your searchandfilter plugin to search through the different product attributes, now the plugin is making an excellent work, my problem is that i need to integrate 2 calendar fields in wich the customer insert the period in wich he wants to book the apartment, so that he displays only the available appartments.

    For the searching i need to loop through each day the customer provides and check in each appartment if in that day it’s allrady booked or not. Than i need to display only the apartments that are totally free in this time range (for example if an appartment is booked for only 1 day provided it has not to be displayed).

    Now woocommerce booking stores the information only the start day and the end day of the booking in two separate meta_data in timestep the first is bookings_start and bookings_end.

    I tried to put an calender range provided with the search and filter plugin, but it let’s me put only one meta data into it.

    Is there anyway that i can handle this throughout the plugin settings?

    If not are there hooks or actions i can use to output my code so that it works perfectly fine with your plugin?

    I hope i explained my self and that you understand my needs.

    Thank you very much for your support.

    Anonymous
    #12012

    any news yet for this problem? i have a bit of a hurry. Thanks

    Ross Moderator
    #12057

    Hey Alvise

    This is not possible.

    Currently 1 meta key = 1 field

    I am however planning to add this to the next big update – v2.0 (hoping for end of March completion).

    Thanks

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