June 18, 20206 yr Hi! I'm looking for a date/time picker that is configurable for opening hours. The idea is to use it for reservations. But only withing business hours ofcourse. Anyone!
June 18, 20206 yr There are any number of scripts that will do this for you. What platform are you using for your website? Does it have a database?
June 18, 20206 yr Author No DB. Preferably jquery, vanilla, vue... There are a lot of scripts available. But I can't seem to find one the uses business hours config.
June 18, 20206 yr If there is no DB how are you going to manage the reservations? You could have 10 people all booking the same date/time. This is going to be something custom - all a script will give you is the framework. You then need to modify to add the business hours limits.
June 18, 20206 yr One I use often is https://flatpickr.js.org because it works well with just about everything. If you look at the examples page you'll see config settings for min and max dates, disabling dates and if you need to display the time there's a min and max time setting.
June 18, 20206 yr 24 minutes ago, Jack said: One I use often is https://flatpickr.js.org because it works well with just about everything. If you look at the examples page you'll see config settings for min and max dates, disabling dates and if you need to display the time there's a min and max time setting. Yes but you still need to save the reservation somewhere to prevent duplications.
June 18, 20206 yr 46 minutes ago, fisicx said: Yes but you still need to save the reservation somewhere to prevent duplications. It depends how many reservations they get and if it has the potential to cause issues with duplicate bookings. In a lot of cases like restaurants, this can just be a form that goes through to the client and they can act on it how they want. If they only get a small amount of reservations per year it's not worth implementing anything more than is required. If they do need to take into account duplicate bookings then they can justify the cost of implementing a more thought-out system because the demand warrants it. It's going to be a lot more involved to build though, these things can get stupid depending on the criteria, and any rules on the frontend need to be replicated on the server.
June 18, 20206 yr Author Thanks Guys. Form will just submit to owner. Reservations need to be manualy confirmed. bookings are so many they can't keep up, they need to use a table booker plugin or some sorts.
June 19, 20206 yr Author Nope. No CMS. Just static one pager. But we're planning to build it in to Umbraco projects. The friendly CMS
June 19, 20206 yr Ok. The date picker part is simple. But if you want to manage bookings you will need a database. The reason I mentioned Wordpress is because there are a load of free booking/reservations plugins. Someone else has done all the hard work for you.
Create an account or sign in to comment