Reserve if slot already started?

SupportReserve if slot already started?
Andrea asked 4 years ago
Hi. My settings: to make available 20 slots with same time 9am-1pm, I set up:
- service duration 240 min, slot duration 240 min
- in the connection 20 slots from 9am to 1pm My issue: after the slots have started, i.e. today after 9am, it's not possible anymore to make reservations. Is it possible to change this? We need that users can book even if slots have already started. Thanks
Andrea
3 Answers
Nikola Loncar Staff answered 4 years ago
Hi Andrea, can you please try next thing. Go to EA Settings > Customize > Date & Time section and set Block time value to be -240. Best regards, Nikola
urbini Staff answered 4 years ago
Hi Nikola, it doesn't work. Yesterday I set Block time-240, but today after 9am reservations are not allowed. Other ideas? Thanks Andrea
urbini Staff answered 4 years ago
Hi Nikola, I've modified the file logic.php commenting the lines:
if ($check_current_day && $is_current_day && $time_now > $temp_time) {
continue;
}
and it seems to work correctly, i.e. now we can make reservations of today's slot even if the slot's start time has passed. Do you think this is correct? Or can we have problems because of this modification? Thanks Andrea
Nikola Loncar Staff replied 4 years ago

Hi Andrea, this should work but if you update plugin you will loose those changes and you need to reapply it again.

Best regards,
Nikola