Hi,
- Please use this PHP snippet:
This snippet removes the auto-complete of the booking, which in turn stops the auto-complete of the order and the refund of the deposit.
add_action(
'hivepress/v1/models/booking/update_status',
function($booking_id, $new_status, $old_status, $booking){
if ( 'publish' === $new_status ) {
hivepress()->scheduler->remove_action( 'hivepress/v1/models/booking/complete', [ $booking->get_id() ] );
}
},
10,
4
);
-
This function should be used if you have only the Marketplace extension, without Bookings, if you have the Bookings extension, you do not need to enter data there.
-
Unfortunately, this is impossible in this version, but we plan to add these settings in future updates.
-
Unfortunately, there is no exact timeframe, but we plan to release a new update for the Bookings extension this week.
-
Unfortunately, we do not have such extensions. You can try plugins from WooCommerce, but please note that you may need additional integration.