Okay
  Public Ticket #2353989
Several bookings at the same time
Closed

Comments

  •  1
    GHENAM started the conversation

    Hello, I have a big problem with the configuration of your plugin. It is necessary that customers can reserve three slots of five hours maximum per day with an interval of 1.5 hours between each appointment. My activity hours start from 11:00 a.m. to 8:00 p.m., and each service lasts 5:00 a.m.Your plugin is correctly configured for this, the appointment slots are as follows:
    - 11:00 a.m. - 4:00 p.m. (5:00 a.m. service),
    - 12:30 p.m. - 5:30 p.m. (5:00 a.m. service),
    - 2:00 p.m. - 7:00 p.m. (5:00 a.m. service).
    The problem is that it is impossible according to your plugin to have two clients at the same time for the same Employee. Do you have a solution to this problem?
    I'm very annoyed, I don't know how to do it anymore, my business won't work without it.

    -- French version

    Bonjour, je rencontre un gros problème avec la configuration de votre plugin. Il est nécessaire que les clients puissent réserver trois créneaux de cinq heures maximums par jour avec un intervalle de 1h30 entre chaque rendez-vous. Mes horaires d’activité commencent de 11h00 à 20h00, et chaque prestation durent 5h00.Votre plugin est correctement configuré vis-à-vis de ça, les créneaux de rendez-vous sont les suivants :

    • 11h00 – 16h00 (5h00 de prestation),
    • 12h30 – 17h30 (5h00 de prestation),
    • 14h00 – 19h00 (5h00 de prestation).

    Le problème, c’est qu’il est impossible selon votre plugin d’avoir deux clients en même temps pour le même Salarié. Avez-vous une solution à cette problématique ?

    Je suis très embêté, je ne sais plus comment faire, mon business ne marchera pas sans ça.

  •  2,572
    Aleksandar replied

    Hello GHENAM

    If I understood you correctly, you need 3 customers to be able to book those appointments.

    If that is true, you can edit the Service, and set Maximum capacity to 3:

    4892604104.png

    If you don't want to allow your customers to bring anyone with them, simply disable the slider below it.

    Then, you need to configure Appointment settings like this:

    5116807244.png

    So, now - for one service 3 people can book the same time slot (with the same employee), and as soon as the max capacity is reached, the time slot will be closed.

    Kind Regards, 

    Aleksandar Vuković
    [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

  •  1
    GHENAM replied

    Thank you very much for your precise answer.

    My problem is that I want users to be able to book several time slots with the same employee. It is a hairdressing business, so my employees can manage multiple people at the same time.

    Example: I have a client who books a service that lasts 5 a.m. at 11 a.m. Currently, the system understands that the employee is busy, and therefore it is not possible to book another service at 12.30 p.m. My employee is therefore unavailable for 5 hours, but this is not possible, because my employees can receive several people at the same time during this period.

    So I would like my employee to be able to make three appointments, one at 11:00 am, one at 12:30 pm and one at 2:00 pm.

    Thanks.

  •  2,572
    Aleksandar replied

    I see GHENAM

    Well, that's how Amelia works.

    I don't know if you need the 5-hour-long service in the first place, in that case. You could create either one service that lasts 1.5 hours, or 3 or 5 or 15 other services that each last 1.5 hours, so people would be able to book 3 different appointments.

    Another option (if having a 5-hour-long service is a must) is to create fake employees that would represent the other two available times. Then, I would hide the employee dropdown, so they can only choose the service and the time, and the system would automatically assign the appointment to an employee available at that time, but since it's a fake employee, he would have the same name and picture - as far as customers are concerned - all's well.

    Kind Regards, 

    Aleksandar Vuković
    [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

  •  1
    GHENAM replied

    Thanks for your return.

    The solutions do not suit me unfortunately.
    What I did is that I deleted at the javascript file the line "Duration:" which appears when I want to book.

    But there is still a small problem, it is only at the Front level.
    I would like to delete at the niche the second hour.

    Could you tell me how to do it? I looked for files where the variable i and r are present, but I am afraid that this implies bad changes.

    I show you a screen of the expected result.

    https://zupimages.net/up/20/15/3hu4.png

  •  2,572
    Aleksandar replied

    Hello again GHENAM

    Unfortunately, I too would only be able to offer a front-end solution, but the back-end wouldn't be affected by this.

    What you're looking for to do is change the behavior and the logic of the plugin in back-end, and I'm sorry to say that I can't help you with that, because it is considered as custom work which is not included in the provided support for the plugin.

    Kind Regards, 

    Aleksandar Vuković
    [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