• Resolved webwerkplaats

    (@webwerkplaats)


    The module shows the time (in our case one slot: 11:00). Now everybody thinks they have to arrive at 11:00. (eventhough it’s explained in the text)
    Is there a way to just click the day and reservation will be made ?
    Maximum number of vistors / slots doesn’t need to work.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    That requires a piece of custom script to make the time selection automatically after clicking a date and a piece of CSS code to hide the default selection box.

    Link to the script (copy and paste it in the “Edit Scripts” section of the plugin):

    https://wordpress.dwbooster.com/customdownloads/one-click-select-slot/one-click-select-slot.txt

    CSS (add the needed styles into the “Appointment Hour Booking >> General Settings >> Edit Styles” area):

    #fbuilder .slots{display:none}

    Please note that this is a bit complex modification of the default features of the plugin. Use the “Edit Scripts” section carefully to avoid breaking the booking form.

    Thank you for using the plugin!

    Thread Starter webwerkplaats

    (@webwerkplaats)

    Brilliant ! Working on it.

    Hi I wanted to solve the same issue so I’ve copied that script, but now if I go back and forth between the days, time selection would just keep expending to several time slots (even though you should be able to select only one time slot), could you please revise this solution?

    Update: I just added this into “Edit Scripts” section:

    jQuery(document).ready(function( $ ){
      setTimeout(function(){
        $("body #fbuilder .slots .availableslot:first-of-type a").trigger("click");
      }, 200);
    });

    This code will click first available time slot, in my case, that is enough.

    Plugin Author codepeople

    (@codepeople)

    Thank you very much for the feedback!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Reservation with no time, only day’ is closed to new replies.