0.00  View cart

Support Easy Booking: Availability Check [Resolved] Problem of compatibilty with Woocommerce Deposits

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #4414
    eloso
    Participant

    Hello,

    I have some problem of compatibilty with “Woocommerce deposits”. When an order is created, it got a “Partially Paid” status and it’s not recognized as a booked  product for “Availability check” and it doesn’t appear in the “report” section of “Easy Booking”.

    If I change the status manually from “Partially Paid” to “hold”, or if the customer pay the second amount after the deposit, il works perfectly.

    I saw that there is an option to reduce stock in the “Woocommerce deposits”: after the payment of the deposit or the second amount, but it doesn’t change anything.

    Any idea on how to make these two plugins compatible ?

    Thank you and have a nice day.
    Julien

    #4421
    Ashanna
    Plugin's author

    Hello,

    You need to add this custom status to Easy Booking, adding this code to your theme’s functions.php:

    add_filter( 'easy_booking_get_order_statuses', 'wceb_custom_order_status', 10, 1 );
    
    function wceb_custom_order_status( $statuses ) {
        $statuses[] = 'wc-partially-paid';
        return $statuses;
    }

    You might need to change “partially-paid” with whatever your order status is 🙂

    Regards,
    Natasha

    #4424
    eloso
    Participant

    That was it ! The status was ‘wc-partially-paid’
    Thank you so much 😉

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘[Resolved] Problem of compatibilty with Woocommerce Deposits’ is closed to new replies.

Want to know what's next with Easy Booking? Check the roadmap!