Your request is related to a premium product. Please add the license key to the account settings to access forums for your purchased products and get the Premium Support badge on your profile. If the support for your purchase has expired, please consider renewing it for assistance Renew Support | HivePress
Yes, it is a community, but note that there are two types of users: premium and free. From our side, we cannot provide support for a longer period than you purchased when you bought the theme, as we have limited resources. If you need further assistance, I recommend that you consider renewing your premium support: Renew Support | HivePress
I fixed it for anyone interested on how:
1- go to \wp-content\plugins\hivepress-bookings\includes\components\class-booking.php
2- search for
public function get_shifted_time( $listing, $time, $old_timezone = 'UTC' ) {
// Check settings.
if ( ! $this->is_time_enabled( $listing ) ) {
return $time;
}
3- and replace it with
public function get_shifted_time( $listing, $time, $old_timezone = 'UTC' ) {
// Check settings.
if ( ! $this->is_time_enabled( $listing ) ) {
return $time >= time();
}
4- Go to \wp-content\plugins\hivepress-bookings\includes\controllers\class-booking.php
5- Search for
// Set time range.
if ( $start_time && $end_time && $end_time >= $start_time && $start_time > hivepress()->booking->get_shifted_time( $listing, time() ) ) {
6- And change it to
// Set time range.
if ( $start_time && $end_time && $end_time >= $start_time && $start_time >= hivepress()->booking->get_shifted_time( $listing, time() ) ) {
7- Test today booking and all other bookings, this will also fix the cached selected date from previous booking to show up instead of the today booking attempt.