Create WooCommerce order for free order

Hi,

Following our discussion by email and this topic : Create WooCommerce order for free booking.
The bug has been confirmed. Is it possible to get a fix asap ?

Best,
Samir

cc @andrii

Hi,

We apologize for the long wait time, but we have limited development resources at the moment, our developer will review it as soon as possible. Please make sure that temporary access is still available.

Sorry for the delay. To temporarily fix this, please change line 1401 in hivepress-bookings/includes/controllers/class-booking.php:

} elseif ( hivepress()->get_version( 'marketplace' ) && $listing->get_price() ) {

to:

} elseif ( hivepress()->get_version( 'marketplace' ) && !is_null($listing->get_price()) ) {

Then there should be a checkout redirect even if the booking is free.

Thank you very much Ihor, working great!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.