Services Plugins FAQs

Hourly Rentals - Home BNB Template

Hello,

Would anyone happen to know how to change the Home BNB total cost calculation on the ‘room’ (and ‘room_mob’) page to return a total cost calculated based on hours booked rather than days booked?

I have a marketplace of community spaces that are booked by the hour. Any help would be so appreciated!


What I’ve tried so far:

** I’ve changed the space listing form so I’m receiving hourly (rather than daily) rates for postings.*

** I’ve changed the date/time element to include times based on a 12hr clock (in addition to days)*

** I’ve tried to change the ‘totalDays’ Custom State (in the cost calculation) to a newly created state based on total hours.*

… and this is where it fails. I can’t seem to figure out the Values to write into the Custom State to set it based on hours.

Hello, @activatespace
Thanks for using our template :slightly_smiling_face:

Firstly, please allow me to note that creating such functionally is not simple enough and you will need quite solid Bubble skills.
Booking functionality is created not by just a few buttons, but it is created by a combination of database settings, workflowы, and plugins, like Air Date\Time Picker.
Thus, unfortunately, mentioned steps for changing it are not sufficiently correct.

As a proposal for your case, please allow me to provide you the next scenario:

  1. You can create a few groups, which will be responsible for the booking. In one group you will place the calendar, as it settled now:
    image
  2. After the date is selected, appears the next group, where you indicated the Hours ( this type should be created in the DataBase):

Hope this advice will help you.
Best regards,

Thanks @Ecaterina ! This is very helpful.

2 Likes

Hello, @activatespace
Happy to hear that!

In case I can help you with any additional information - let me know!

Best regards,