Title: Past Availability
Last modified: August 30, 2016

---

# Past Availability

 *  Resolved [jkp1826](https://wordpress.org/support/users/jkp1826/)
 * (@jkp1826)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/past-availability/)
 * I would like to show the past availability for bookings. Nothing shows from before
   today (7/26) and I have several reasons why I need the fact they were requested
   versus confirmed to continue to show after the date (and would like to edit them
   as well, but that is not as important!)
 * Thank you!
 * I’m using Booking v5.4.2 Small Business
 * [https://wordpress.org/plugins/booking/](https://wordpress.org/plugins/booking/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * (@wpdevelop)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/past-availability/#post-6367127)
 * Hello.
    Its possible to activate this feature by making some customizations. 
   _Please note, if you will have too many bookings, its can impact to the speed
   of loading page with these booking forms.  If you still want to make this customization,
   please make this fix.
 * 1) Please open this file: ../{Booking Calendar Folder}/js/client.js
 * find this code:
 * `var bkMinDate = 0;`
 * and replace it to this code:
 * `var bkMinDate = null;`
 * 2) then open this file: ../{Booking Calendar Folder}/lib/wpdev-booking-class.
   php
 * find this code:
 *     ```
       WHERE  dt.booking_date >= CURDATE()  AND bk.booking_type IN ($bk_type_additional) AND bk.form like '%admin@blank.com%'
       ```
   
 * and replace it to this code:
 *     ```
       WHERE   bk.booking_type IN ($bk_type_additional) AND bk.form like '%admin@blank.com%'
       ```
   
 * 3) then find this code:
 * `WHERE dt.booking_date >= CURDATE() AND bk.booking_type IN ($bk_type_additional)`
 * and replace it to this code:
 * `WHERE bk.booking_type IN ($bk_type_additional)`
 * 4) finally find this code:
 *     ```
       WHERE  dt.approved = $approved AND dt.booking_date >= CURDATE() AND bk.booking_type IN ($bk_type_additional)
       ```
   
 * and replace it to this code:
 *     ```
       WHERE  dt.approved = $approved AND bk.booking_type IN ($bk_type_additional)
       ```
   
 * Kind Regards.
 * Please note, if you will modify the source code of the Booking Calendar, we will
   not guaranteed the correct work of plugin and do not support it.
    Kind regards.
 *  Thread Starter [jkp1826](https://wordpress.org/support/users/jkp1826/)
 * (@jkp1826)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/past-availability/#post-6367471)
 * We attempted this, but the historical bookings are not showing up, nor can we
   add them via the “add booking” tool”. So we can navigate to the past months like
   July, but there is no data displayed…
 * Any suggestions?
 *  Plugin Author [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * (@wpdevelop)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/past-availability/#post-6367517)
 * Hello.
    Sorry for delay with reply to you (just missed you last reply). Please
   recheck my previous instruction in previous comment, probably you was making 
   some mistake in that configuration. Because that customization must activate 
   to show past bookings in the calendar. Kind Regards.
 *  Thread Starter [jkp1826](https://wordpress.org/support/users/jkp1826/)
 * (@jkp1826)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/past-availability/#post-6367568)
 * I’m still having trouble with this. Can you PM me at [jenny@blueshiftinnovation.com](https://wordpress.org/support/topic/past-availability/jenny@blueshiftinnovation.com?output_format=md)
   please? I’d like to talk about getting this feature added to your roadmap. 🙂
 *  Plugin Author [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * (@wpdevelop)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/past-availability/#post-6367569)
 * Hello.
    You can contact about adding some new features directly here [http://wpbookingcalendar.com/contact/](http://wpbookingcalendar.com/contact/)
   Or by email: support @ wpbookingcalendar.com Kind regards.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Past Availability’ is closed to new replies.

 * ![](https://ps.w.org/booking/assets/icon-256x256.gif?rev=3335907)
 * [Booking Calendar](https://wordpress.org/plugins/booking/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/booking/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/booking/)
 * [Active Topics](https://wordpress.org/support/plugin/booking/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/booking/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/booking/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [wpdevelop](https://wordpress.org/support/users/wpdevelop/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/past-availability/#post-6367569)
 * Status: resolved