Okay
  Public Ticket #2594189
Auto Booking Assignments
Closed

Comments

  • Sam started the conversation

    We have a web application form (written in Laravel) that our customers can fill in and has its own payment module. (Just so it's clear - I know Amelia uses Workpress and that's not an issue for us). We would want to use Amelia booking to arrange a phone meeting (appointment) with the customer after they complete filling out our form. We only have 1 service but have several employees (with different work times) that can attend to our customers for this 1 service. 

    We want our customers to just select a date and time slot from the calendar based on the available dates for all employees. Is it possible in Amelia to automatically assign a booking to the next/first available employee without asking the user to select an employee from the dropdown list as they wouldnt know whom they will be talking to so no reason of giving them that option. 

    Also is there any easy way (API) to facilitate bookings in case we want to implement our own client side appointment module.

  •  1,819
    Miloš replied

    Hi Sam,
    Thank you for your inquire.

    Sorry for late response, we are not working on weekends.

    Unfortunately there is no option in our plugin to automatically select the next free employee.

    There is a workaround that you use CSS to hide the Employee from the customers, but then the employee will be selected randomly.

    As for the APIs.

    You can check our Web hooks on this link.

    Also, what we have is a few JS hooks that is triggered depends on the view:

    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)

    JS files are modified (minimized) in public version of plugin (in our development environment is accessible), but unfortunately I can not send you our source code because that is the policy of our company.

    All those files that have extension .vue are compressed and minimized in JS files that is very hard and not recommended modifying. So in order to add some other features you can unminify the js and customize it.


    Kind Regards, 

    Miloš Jovanović
    [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

  • Sam replied

    Hi

    Im thinking of passing "category, serviceId, providerId, employee and location" as URL parameters. How can dynamically pass these attributes to the "ameliabooking" shortcode. I noticed there is "AmeliaBooking\Infrastructure\WP\ShortcodeService\BookingShortcodeService->shortcodeHandler($atts)" but not sure how I can laverage this. I do have a child theme (no sure whether that helps)

  •  1,819
    Miloš replied

    HI Sam,

    Please note that customization questions like this one are not covered in the included support for the plugin. Included support covers help with bugs and general inquiries for the plugin features, but not writing custom code. As you're developing some custom solution if you need our assistance we can offer you our paid customization service.

    Note, this category is for the pre-purchase questions so if you are using the full version may i suggest opening ticket in the Amelia category and our agents can help you out.


    Kind Regards, 

    Miloš Jovanović
    [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