Okay
  Public Ticket #2630741
Employees randomly
Closed

Comments

  • Peter started the conversation

    We have a service with 3 employees. How can i do the booking randomly to the employees and not fixed? 

  • [deleted] replied

    Hello Peter,

    Thanks for your message.

    If none employee is selected, the Any employee is chosen - as it is the default option, so a random employee is assigned to the appointment each time someone books an appointment. There isn't some logic behind this / they are assigned randomly. 

    You can use the CSS on the other website as well, you can add it as custom CSS if you have that option, or just as format HTML directly to the page where you have the Amelia shortcode. 

    This would be the format HTML for hiding the employee selection on the first page and their information on the last booking step, so please add it to the page where you have Amelia to try it out:

    <style>
    .el-form-item.am-select-employee-option {display:none;}
    #am-confirm-booking > div:nth-child(1) > form > div.am-confirm-booking-data.el-row > div:nth-child(1) > div > div:nth-child(1) {display:none !important;}
    </style>

    and let me know if it helped.

    But as I can see you have only that on the first page, so it won't look nice if you have only the Continue button there, without changing anything, and this step can't be skipped in the booking process, unfortunately. So, you can check out the other views or shortcodes for Amelia, maybe they would look better. https://wpamelia.com/amelia-shortcodes/


  •   Peter replied privately
  •   [deleted] replied privately