<p>This would be really tricky without a plugin but you <em>could</em> (and this is a stretch) manipulate the entry channel to accept "reservations" where as the reservations date and time use the date and time field types.</p>

<p>You could then output all the reservation entries to show if/when times are still available. There's no getting around this though, you'd need to work extensively with the saveEntry form, jQuery and a date/time picker to get everything to line up correctly.</p>

<p>The best way to do would be to create a reservation plugin that does specifically this instead of wrangling entires to do the same thing. Either-way I'd say you're looking at some in-depth development time.</p>

CC BY-SA 3.0
2014-09-17T03:11:53.827Z
2014-09-17T14:35:10.277Z
2014-09-17T14:35:10.277Z
Adam McCombs
<p>I asked a similar question previously but it was a bit too vague (and slightly different) to what I actually need. I'm about to start building a site that requires a booking system.</p>

<p>Essentially the site owner is available 24/7 (with the exception of some dates and times that they would set as unavailable). So users need to be able to book a service for ANY time except the times the site owner has set as unavailable.</p>

<p>In addition to that, the visitors of the site will be booking specific services that have pre-set durations. For instance one service may be 2 hours, another might be 3 hours, etc. When someone books a service the time-slot should no longer be available for another individual to book. For instance if customer X books a service that is set to take up 3 hours on November 16th 2014 to start at 8:00 AM PST, then customer Y can not book any services between 8:00 AM - 11:00 AM PST on that day. </p>

<p>Payments should also be processed when they make a booking, i'd think i could use something like CHARGE for that.</p>

<p>My question then is not only how would i go about building a system like this sans-plugin? I know it's a pretty complex question but i'd really appreciate a little help in the right direction as I'm having a bit of a hard time wrapping my head around how to accomplish this. Thanks a bunch in advance.</p>

CC BY-SA 3.0
2017-06-29T10:22:50.927Z
How did you get on with this? Use a custom plugin or work with the entries etc - might be looking at something similar in the near future.
mmc501
<entries><booking>
Booking & Reservation System
# Booking & Reservation System

(Asked by: username_0 on 2014-09-17)

I asked a similar question previously but it was a bit too vague (and slightly different) to what I actually need. I'm about to start building a site that requires a booking system.

Essentially the site owner is available 24/7 (with the exception of some dates and times that they would set as unavailable). So users need to be able to book a service for ANY time except the times the site owner has set as unavailable.

In addition to that, the visitors of the site will be booking specific services that have pre-set durations. For instance one service may be 2 hours, another might be 3 hours, etc. When someone books a service the time-slot should no longer be available for another individual to book. For instance if customer X books a service that is set to take up 3 hours on November 16th 2014 to start at 8:00 AM PST, then customer Y can not book any services between 8:00 AM - 11:00 AM PST on that day.

Payments should also be processed when they make a booking, i'd think i could use something like CHARGE for that.

My question then is not only how would i go about building a system like this sans-plugin? I know it's a pretty complex question but i'd really appreciate a little help in the right direction as I'm having a bit of a hard time wrapping my head around how to accomplish this. Thanks a bunch in advance.

**Tags:** entries, booking

> **Comments:**
> **username_1**: How did you get on with this? Use a custom plugin or work with the entries etc - might be looking at something similar in the near future.  

---

## 1 answers

### Answer by username_2 on 2014-09-17. Score: 1

This would be really tricky without a plugin but you *could* (and this is a stretch) manipulate the entry channel to accept "reservations" where as the reservations date and time use the date and time field types.

You could then output all the reservation entries to show if/when times are still available. There's no getting around this though, you'd need to work extensively with the saveEntry form, jQuery and a date/time picker to get everything to line up correctly.

The best way to do would be to create a reservation plugin that does specifically this instead of wrangling entires to do the same thing. Either-way I'd say you're looking at some in-depth development time.


---

