Okay
  Public Ticket #2705814
covid tracking
Closed

Comments

  • Martin Payne started the conversation

    When taking an event booking for multiple students, how do I capture their names and contact details to meet covid requirements?

    Customer also has a requirement to confirm the actual attendees on the day.

    Ideally, these should be stored with the customer, so that they don't have to be re-entered when they book classes for the following week.

  • [deleted] replied

    Hello Martin,

    There isn't an option for those additional people to be created as attendees in the event with Amelia's current built-in features, unfortunately. The people someone brings in is just a number, and it takes that number of spots in the event, but they can't provide information for everyone in the default customer fields in the booking form.

    You can add custom fields to the booking form in order to ask customers for information about the additional people if that could help you achieve what you need (these information will be saved for the attendee that booked the event, and can be shown in the back-end when you click on the Edit attendee button - in the attendees list). 

    If you have any other questions or concerns feel free to open a new ticket and we will gladly help out.

  • Martin Payne replied

    We have classes 44 weeks of the year, and it seems a massive imposition to ask the customer to re-enter the same details 44 times.

    With covid, we have a requirement to record the names of students attending physical events. I'm sure any user that runs physical events has the same requirement.

    Is this something you've been working on as a future feature?

    Are there any hooks that I could tap into on the PHP side, to enhance the plugin's features for myself? (I couldn't find anything in the documentation.)

    Thanks, Martin

  • [deleted] replied

    Hello Martin,

    Customers won't need to fill in their personal information when booking if they are logged in to WP or to the customer panel, but this doesn't apply to the custom fields as they are not part of customers' information but the bookings' , unfortunately, so this can't apply to the additional people they bring in - the only way would be everyone to book for themselves. This isn't a planned feature for now, so we can't say for sure if and when it could be implemented in the future. You can suggest it as a feature request here, or check if there is such request there and vote for it. 

    Unfortunately we don't have hooks (action and filters) at the moment. There are only a few JS hooks that are triggered depending on the view in Amelia:

    window.beforeAddToCalendarLoaded()
    window.beforeBookingLoaded()
    window.beforeSearchLoaded()
    window.beforeSearchFiltered()
    window.afterSearchFiltered()
    window.beforeConfirmedBooking()
    window.beforeCatalogLoaded()
    window.afterSelectCatalogCategory(object_category)
    window.beforeCatalogCategoryLoaded(object_category)
    window.beforeCatalogServiceLoaded(object_category, object_service)
    window.afterSearchActivateService(object_appointment, object_serviceActive)
    window.afterSearchGoToSecondStep(object_appointment, object_serviceActive)
    window.afterBookingSelectDateAndTime(object_appointment, object_serviceId, object_providerId, object_locationId)
    window.afterBookingSelectService(object_appointment, object_serviceId, object_providerId, object_locationId)
    window.beforeConfirmBookingLoaded(object_appointment, object_service, object_provider, object_location)
    window.afterConfirmBooking(object_appointment, object_service, object_provider, object_location)

    Most of these are for services/appointments in Amelia, the beforeConfirmedBooking hook can be used for Events.  JS files are modified (minimized) in the public version of plugin.


    If you have any other questions or concerns feel free to open a new ticket and we will gladly help out.