0.00  View Cart

On your administartion panel, you should now see a new “Availability Check” sub-menu on the “Easy Booking” tab.

Availability Check settings page in WordPress dashboard

There are two tabs on top of the screen: “Settings” and “Imports”.

Tabs in Availability Check settings page

Settings

Easy Booking: Availability Check settings

License key

Here you can enter the license key you received by email.
If you didn’t get it, please check your spam box or send an email.

Display availabilities

Displays availabilities for each date on the frontend calendar(s).

  • None: nothing is displayed. Availabilities are only returned after selecting dates.

Easy Booking: Availability Check calendar no availability

  • Colors: display a colored circle (orange or green).

Low stock threshold is defined on WooCommerce Settings (WooCommerce > Settings > Products > Inventory > “Low stock threshold”).

Easy Booking: Availability Check calendar with colors

  • Amount: display the exact number of items available for each date.

The numbers will only be displayed on simple and variable products, and for readability issues won’t be displayed on mobile.

Calendar with stock amount showed for each date

  • Amount and colors: display the exact number of items available for each date and color them in green/orange.

The numbers will only be displayed on simple and variable products, and for readability issues won’t be displayed on mobile.

Low stock threshold is defined on WooCommerce Settings (WooCommerce > Settings > Products > Inventory > “Low stock threshold”).

Easy Booking: Availability Check calendar with amount and colors

Unavailability period after a booking

Makes the products unavailable for x day after the end of a booking.
This can be useful if you need to have your items back for a certain time before renting them again.

Example:
Start: 01/01/2016
End: 01/10/2016
Unavailability period: 5 days.

The product will be available on 01/15/2016 for booking.

Initialize availabilities

Inits all availabilities of your products, taking into account orders and manually added bookings.

If you ever have any troubles with availabilities, click on this button and everything should be back on track!

Automatically delete past imported bookings?

If checked, manually imported bookings (see “Imports” below) will be deleted every day once bookings are over. This helps cleaning your admin panel and database, if you don’t need to store the data once bookings are over.

Imports

Here you can manually add bookings, for example if they weren’t made on your website.

Manually import a booking

To add a booking:

Click on “Add booking” on top of the screen.
Choose the product(s), start date, end date (optional) and quantity booked.
Click on “Save”. Easy, right?

Then, you can edit or delete the booking.

Here’s a code to add a custom column to the form, for example to add the client’s name:


add_filter( 'easy_booking_availability_imports_columns', 'ebac_custom_import_column', 10, 1 );

function ebac_custom_import_column( $new_column ) {
    $new_column[] = array(
        'position' => 0,
        'content' => array(
            'client'   => __( 'Client', 'easy_booking_availability' )
        )
    );

    return $new_column;
}

Result:

Add a custom column in the "Imports" section

When adding, editing or deleting a manually added booking, its availabilities will automatically be updated.