0.00  View cart

The calendar doesn’t work.

If the calendar doesn’t show up, there might be a Javascript error. Open your navigator’s console (F12 > Console), and look for any error.

Translation files might be missing, use the contact form or the support forum if it is the case.

If you are on a multisite and the calendar is not working, make sure to save the plugin settings again to generate the stylesheet corresponding to your site.

When I select dates, the loading circle keeps spinning and nothing happens.

It’s probably a cache issue. Easy Booking is not compatible with cache plugins/systems.Please disable any cache plugin (or at least disable caching on the product pages if you can). If your host provides any caching system, ask them not to cache product pages (for example: WP Engine).

I can’t select previous/next month on the calendar.

Go to Easy Booking > Settings > Appearance and make sure “Text color” is set to “#000000” and not “000000”. Then save (you might need to clear your browser’s cache after).

How can I remove the price calculation?

To completely remove the price calculation, add this code to your theme’s functions.php:

add_filter( 'easy_booking_two_dates_price', 'easy_booking_return_base_price', 10, 5 );
 
function easy_booking_return_base_price( $booking_price, $product, $_product, $data, $price_type ) {
	
    $prices_include_tax = get_option('woocommerce_prices_include_tax');
    $price = ( $price_type === 'regular_price' ) ? $_product->get_regular_price() : $_product->get_price();
    $args = array( 'price' => $price );       
    $price = $prices_include_tax === 'yes' ? wc_get_price_including_tax( $_product, $args ) : wc_get_price_excluding_tax( $_product, $args );
 
    return $price;
}

Is WooCommerce Easy Booking compatible with Networked Sites?

It is. You will need to install the plugin on the network, and then activate it on each site.For the addons, you need to enter the license keys on the network.

I can’t make a product not bookable.

Make sure to uncheck the “Make all products bookable?” options on the plugin settings page (Easy Booking > Settings) if you want to have not bookable products.

How to make a product bookable and not bookable at the same time?

You can make a variable product with two variations : one bookable and one as a regular product. Make sure to check the “Bookable” option on the parent product level aswell.

How can I change the “Start” and “End” texts?

Add this code to your theme’s functions.php, and customize it as you want:


add_filter( 'easy_booking_start_text', 'wceb_custom_start_text', 10, 2 );

function wceb_custom_start_text( $text, $product = false ) {

    // You have access to the $product variable (not everywhere) in case you want to display a different text for some products
    $text = __( 'Your custom text', 'textdomain' ); // Translation-ready
    return $text;

}

add_filter( 'easy_booking_end_text', 'wceb_custom_end_text', 10, 2 );

function wceb_custom_end_text( $text, $product = false ) {

    // You have access to the $product variable (not everywhere) in case you want to display a different text for some products
    $text = __( 'Your custom text', 'textdomain' ); // Translation-ready
    return $text;

}

And the information text?

To add an information text before the datepicker(s), add this code to your theme’s functions.php:

/**
  *
  * This function will display a different information text whether there is one or two date(s) to select.
  * @param str $text - The information text (empty by default)
  * @param WC_Product or WC_Product_Variation - Product or variation object
  *
  * @return str $text
  *
  **/
add_filter( 'easy_booking_information_text', 'wceb_custom_info_text', 10, 2 );

function wceb_custom_info_text( $text, $product ) {
	
    $date_format = wceb_get_product_booking_dates( $product );

    if ( $date_format === 'one' ) {
        $text = __( 'Select the date you want.', 'easy_booking' );
    } else {
        $text = __( 'Select your arrival date and your departure date.', 'easy_booking' );
    }

    return $text;

}

How can I change the ” / day” and “Select dates” texts?

There are several filters available to customize the price texts.

  • Add text before the price “/ day”:
add_filter( 'easy_booking_display_price', 'easy_booking_display_custom_price', 10, 1 );

function easy_booking_display_custom_price( $content ) {
    $content = 'From ' . $content;
    return $content;
}
  • Add text after the “/ day”:
add_filter( 'easy_booking_display_price', 'easy_booking_display_custom_price', 10, 1 );

function easy_booking_display_custom_price( $content ) {
    $content .= ' your custom text';
    return $content;
}
  • Change the “/ day”:
add_filter( 'easy_booking_get_price_html', 'easy_booking_custom_price_html', 10, 4 );

function easy_booking_custom_price_html( $price_html, $product, $booking_duration, $custom_duration) {
    $price_html = 'your custom text';
    return $price_html;
}
  • Change the “Select date(s):
add_filter( 'easy_booking_loop_add_to_cart_link', 'easy_booking_loop_add_to_cart_link', 10, 2 );

function easy_booking_loop_add_to_cart_link( $content, $product ) {

    $product_id = is_callable( array( $product, 'get_id' ) ) ? $product->get_id() : $product->id;

    $link    = get_permalink( $product_id );
    $label   = __( 'Your custom text', 'easy_booking' );
    $content = '<a href="' . esc_url( $link ) . '" rel="nofollow" class="button">' . esc_html( $label  ) . '</a>';

    return $content;
}

Can I have hours instead or in additon to dates?

No, it is not possible.

Is it possible to select dates on the shop page?

No, it’s not possible. I’ve explained why in this blog post (under “Search widget” at the end). Dates need to be selected on the product page for each product individually.

Can dates be selected on the cart/checkout/order page and applied to all products?

No, dates need to be selected on the product page for each product individually.

How do I translate the plugin?

You’ll find everything you need to know about translations here.

The automatic update doesn’t work for the addons

If you have any issue with the updates of the addons, please visit http://download.easy-booking.me/your-license-key/ to download the latest version or send a message with your order number and license key.

How can I help the development of this plugin?

Developping and maintaining WordPress plugins take a lot of time, if you want to support the development you can get one or several addons for Easy Booking. Thank you!

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