Okay
  Public Ticket #2698131
Booking Options
Closed

Comments

  • Emma Hirst started the conversation

    How can I make the 'Location' field mandatory and remove the 'Employee' field at the booking stage (I don't want them to have the option for which clinician to book with).  If this isn't possible - could I change the order so they select the 'Employee' after they have selected the date/time.

  • [deleted] replied

    Hi, Emma!

    Thank you for choosing Amelia.

    Unfortunately, at the moment it's not possible to make location selection mandatory. We are always looking for ideas on how to make Amelia better. So if you have a couple of minutes, please suggest this feature on our website.

    If location selection is crucial for your business, you can use a workaround: create buttons on the page (using a page builder), that your customers will have to click on in order to see a booking form. For example:

    LOCATION1; LOCATION2; LOCATION3

    Each of these buttons would lead to a different page with Amelia shortcode that will display only services on this particular location, for example:

    LOCATION1 -> url1 -> [ameliabooking location=1] or [ameliacatalog location=1] 

    Regarding employee selection: this field can be hidden with a customs CSS. In this case, an employee will be selected randomly by Amelia. Please send us the URL to the page with Amelia so we will be able to provide you with CSS.

    Best Regards. 


  •   Emma Hirst replied privately
  • [deleted] replied

    Hi, Emma!

    Add this CSS to the page with Amelia:

    div.am-select-service > form > div.el-form-item.am-select-employee-option  {display: none;}

    If you have any other questions, please let us know.

    Best Regards.

  •   Emma Hirst replied privately
  • [deleted] replied

    Hi, Emma!

    It depends on your page builder. Usually, there's supposed to be a "Customize" button on the top of the page. If you click on it, a new menu will be displayed. Look for the "Custom CSS/JS" option and insert the CSS there. 

    If you have any issues with that, please provide me with a temporary WP Admin login.

    Best Regards. 

  • Emma Hirst replied

    Hi Liza

    Thanks you - it still doesn't see to be working though.  Here is the view when I add in the code.

  • [deleted] replied

    Hi, Emma!

    Sorry for this inconvenience, it's a bit complicated to find the correct CSS without Admin access.

    Please try this one:

    #amelia-step-booking0 > div.am-select-service > form > div.el-form-item.am-select-employee-option {display:none !important;}

    I tested it on my site and it worked, so I believe it will work for your page.

    Best Regards. 

  •   Emma Hirst replied privately
  • [deleted] replied

    Hi, Emma!

    Please make sure you're applying this CSS on the particular page with the Amelia booking form.

    The last option is:

    .el-form-item.am-select-employee-option {display: none !important;}

    If it doesn't work, please use this HTML:

    <style> .el-form-item.am-select-employee-option {display:none;} </style>

    Best Regards. 

  • Emma Hirst replied

    Thank you -that's perfect - its working now.

  • [deleted] replied

    Hi, Emma!

    I'm glad to know we could find the solution.

    Please feel free to contact us if you have any other questions.

    Best Regards.