Rudy17
June 5, 2024, 11:14am
1
Continuing the discussion from Bug with "End date only" note in booking calendar :
Describe the issue in as much detail as possible. Please remove the sections below if the issue is obvious enough and doesn’t require extra details.
Steps to reproduce
List the steps to reproduce the issue.
Actual result
Describe the actual result.
Expected result
Describe the expected result.
Extra details
Add a link to your site, screenshots or any other details that may help us pinpoint the issue.
andrii
June 6, 2024, 11:56am
5
Hi,
Sorry, but this bug hasn’t been fixed yet. We plan to fix it according to the RoadMap in the next updates: Bookings Roadmap – Asana
Rudy17
June 6, 2024, 12:29pm
6
Thank you for the information.
I’m thinking of a temporary solution if you have a snippet that will make the “BOOKING OFFSET” with a value of 1 and make it hidden. So that no one will be able to book on the current day.
Do you think that would solve temporarily the problem?
thank you.
I found a snippet that will make it a require field.
add_filter(
'hivepress/v1/forms/listing_update',
function( $form ) {
$form['fields']['booking_offset']['required'] = true;
$form['fields']['booking_window']['required'] = true;
$form['fields']['booking_min_length']['required'] = true;
$form['fields']['booking_max_length']['required'] = true;
return $form;
},
1000
);
andrii
June 7, 2024, 12:31pm
11
1 Like
system
Closed
July 8, 2024, 11:51am
13
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.