0.00  View Cart

[Important note - 2019-01-07] If your translations don't work anymore after updating Easy Booking to version 2.2.0, you need to rename your .mo/.po files as follow (replace "fr_FR" by your own language code):

Support Easy Booking: Availability Check Double Booking Issues

This topic contains 7 replies, has 2 voices, and was last updated by  Ashanna 1 month ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #4488

    Hybrid AWD
    Participant

    Over the last month I’ve had issues where a product that we only show one in stock is being double-booked.

    For example we had an order placed on the 24th for a product for the 26th through may 1st. It should have put it out of stock through May 1st but it did not. Another person placed an order for today for the same item for today through the 1st as well.

     

    I double checked this with another ktemand it too allowed me to double book a product.

     

    Any idea what is going on? I’ve initialized the inventory and now I’m out of ideas on what’s going on.

    #4492

    Hybrid AWD
    Participant

    I’ve tried uninstalling and reinstalling the availability checking plugin at this point and it hasn’t resolved the issue either.

    This product should not show available for the next couple of days: https://digitallensrental.com/shop/camera-lenses/canon-lenses/canon-16-35mm-f2-8-ii/

    #4496

    Ashanna
    Plugin's author

    Hello,

    You are in “Nights” mode. So when a customer books from April 26th to May 1st, the last booked date is the night between April 30th and May 1st. This means that the product should be back at the beginning of May 1st and is available for renting in the night between May 1st and May 2nd. So it’s normal that May 1st is still available.

    Imagine that you  rent a hotel room, the first guest usually leaves at 11AM on May 1st, and the next one arrives at 4PM. So there are 2 bookings on the same day.

    If you want to avoid these situations, either set the plugin in “Days” mode (so the whole day is booked) or set an “Unavailability period” (Easy Booking > Availability Check > Unavailability period) of 1 day.

    I hope I’ve been clear 🙂

    Regards,
    Natasha

    #4505

    Hybrid AWD
    Participant

    I understand what you are saying but that’s not what is happening on my end. Here are two recent an examples:

    Example #1:
    Item Inventory Stock Amount (1)
    Customer 1: Places and order (2959) for Item “A” on April 18th. Rental period was set for April 19th through April 23rd.
    Customer 1: Places and order (2970) for Item “A” on April 20th. Rental period was set for April 19th through April 23rd.

    Item is checked as bookable, Manage Stock is checked, Stock Quantity reflects 1, and Backorders are not allowed.

    Example #2:
    Item Inventory Stock Amount: (1)
    Customer 1: Places an order (#2978) for Item “X” April 24th. Rental period is April 24th through May 1st.
    Customer 2: Places an order (#2988) for Item “X”  April 26th. Rental period is April 27th through April 30th.

    Item is checked as bookable, Manage Stock is checked, Stock Quantity reflects 1, and Backorders are not allowed.

    I emailed you a UN/PW for the site and made you an admin so you can look around on the backend if you’d like. Something is definitely acting funny.

    #4506

    Ashanna
    Plugin's author

    Ok, I see.

    You have custom order statuses (Picked up, Equipment due back, etc.), you need to add them to Easy Booking otherwise they are not taken into account.

    Please use this filter to add any custom order status you use:

    add_filter( 'easy_booking_get_order_statuses', 'wceb_custom_order_status', 10, 1 );
    
    function wceb_custom_order_status( $statuses ) {
    
        $statuses[] = 'wc-picked-up';
    	$statuses[] = 'wc-equipment-due-bac';
    
        return $statuses;
    
    }

    Then init availabilities. Does it work better?

    #4528

    Hybrid AWD
    Participant

    So far this seems to be the fix! We’re going to keep an eye on it for the next couple of weeks to make sure.

    #5441

    Hybrid AWD
    Participant

    So it looks like for some reason I had this issue again and Im not sure exactly why as nothing has recently changed.

    add_filter( 'easy_booking_get_order_statuses', 'wceb_custom_order_status', 10, 1 );
    
    function wceb_custom_order_status( $statuses ) {
    
        $statuses[] = 'wc-picked-up';
    	$statuses[] = 'wc-equipment-due-bac';
    	$statuses[] = 'wc-late';
        $statuses[] = 'wc-return-tomorrow';
        $statuses[] = 'wc-prepped';
        
        return $statuses;
    
    }

    I am still using custom statuses. I added the “prepped” status to the list but someone was still able to book the same item for the same period (December 14-17) and the product inventory shows a QTY of 1.

     

    The “Prepped” status was basically copied from “Equipment Due Back” custom status and I followed the same approach as far as adding code.

    Any ideas?

    #5443

    Ashanna
    Plugin's author

    Hello,

    If you use the “Init availabilities” button, does it block the dates that are “Prepped”?

    If not, it would be easier to have an admin access to check a few things 🙂

    Thanks.

    Regards,
    Natasha

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

You must be logged in to reply to this topic.