Okay
  Public Ticket #3600289
Allow multiple bookings in same time slot
Closed

Comments

  • Melle Rijpstra started the conversation

    At our boat rental we have 30 boats available.

    However, when one customer books a time slot (meaning 1 boat for 1 hour), it is no longer available for other customers to book, while we actually stil have 29 boats available for that time slot. 

    How do I allow multiple bookings per time slot? With a max number of 30?

  •  1,171
    Uroš replied

    Hello Melle,

    Thank you for reaching out to us.

    You could go in two directions here. You can look at the number of boats as employees in Amelia and make each employee a boat. 

    On the other side, you can set the maximum capacity for that service to the value of 30 and thus 30 people will be able to book one appointment. But, the downside of that is that they will all be grouped into one appointment and it will be treated as a group appointment.

    Please let me know if you have any other questions.


    Kind Regards, 

    Uros Jovanovic
    [email protected]

    Rate my support

    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

  • Melle Rijpstra replied

    Thanks. Creating a new employee for each boat does not work because they all need different email addresses. Any fix for this?

    I already set the max capacity to 30, but that only accounts for the amount of people that book it in the same booking, not when they make a separate booking. 

    So one person making a booking can say 29 others join, but as soon as that booking is made, the time slot is taken, and nobody else can book that time slot. Because there's only one employee.

  •  1,171
    Uroš replied

    Hello Melle,

    Thank you for the update on this and for your patience.

    All Amelia's users are saved in the database, and databases don't allow multiple users to have the same email.

    The only way you can do this is through the database, so you'd need to navigate to wp_amelia_users table (please note that wp_ is the default database prefix, but on your end it could be anything, so look for your_prefix_amelia_users table). Then, go to Structure of that table, and drop the "email" index:

    7745895499.png

    After that, go back to the table (click on "Browse" in top left of the screen above), and manually change the email addresses of all your "providers". You cannot do this from within Amelia, though, so if you were to add a new employee, you would need to save that employee with a dummy email address, then navigate back to wp_amelia_users and change his email in the database.


    Kind Regards, 

    Uros Jovanovic
    [email protected]

    Rate my support

    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

  • Melle Rijpstra replied

    That seems to have worked, thank you!

  •   Uroš replied privately