Many customers have asked about the possibility of renting or booking products from the calendar. The project is a simple example of how you can select a day from the calendar and retrieve the free times of that day from an external source.
The front-end is made in Svelte and the current calendar is a modified version of the svelte-dates.
The back-end wants to know the product id and the picked date, and it returns the free hours for that product in json format. We are using ProcessWire CMS for back-end, because this calendar is only a small part of the website.