Okay
  Public Ticket #3809465
booking time slots
Closed

Comments

  • lorenzo started the conversation

    Hello,

    I use the amelia plugin to book a room.
    I would like to offer a reservation:
    by the hour
    by the half day
    by the day

    by defining a time page from 9am to 6pm for the reservation
    I can offer the rental by the hour
    by the day without problems.

    For the half day I would like time slots 9am-1pm and 2pm-6pm

    the plugin offers me (9am-1pm / 10am-2pm / 11am-3pm / 12pm-4pm...)

    If I add a break from 1pm to 2pm to the employee the half-day reservations are fine as I would like them to be but the reservation by the day becomes impossible.

    Do you have a solution to offer me?

    I hope I am clear in my explanations!

    Thanks in advance

  •  1,612
    Uroš replied

    Hello Lorenzo,

    Thank you for reaching out! I understand that you want to offer room reservations by the hour, half-day (9 AM – 1 PM and 2 PM – 6 PM), and full-day (9 AM – 6 PM) while ensuring the system handles these time slots correctly.

    Since adding a break from 1 PM to 2 PM helps with half-day bookings but prevents full-day reservations, I recommend the following approach:

    1. Create Separate Services:

      • One service for hourly booking (set minimum and maximum duration accordingly).
      • One service for half-day booking (set fixed time slots for 9 AM – 1 PM and 2 PM – 6 PM).
      • One service for full-day booking (set duration to 9 AM – 6 PM).
    2. Set Employee Availability:

      • Keep the employee available from 9 AM – 6 PM without a break.
      • Ensure each service has the correct working hours and does not overlap incorrectly.
    3. Use Different Pricing & Buffers If Needed:

      • You can apply different pricing for half-day and full-day services.
      • Add buffer times if necessary to prevent overlap.

    This setup should allow customers to book by the hour, half-day, or full-day without conflicts. Let me know if you need further assistance!

    Kind Regards, 

    Uros Jovanovic
    [email protected]

    Rate my support

    Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables