Comments quadraweb started the conversationMay 25, 2020 at 10:23amHi, I need to set a limit of 3 appointments per customer per week. Is there a hook that I can use to add this function?thanksSilvia[deleted] repliedMay 26, 2020 at 9:26amHello Silvia, Thank you for your purchase. Unfortunately, there isn't such option in Amelia with its current built-in features and there are no hooks for actions or filters for that matter in Amelia. There are a few JS hooks which are triggered depending 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) If you have any further questions feel free to ask. Sign in to reply ...
Hi, I need to set a limit of 3 appointments per customer per week.
Is there a hook that I can use to add this function?
thanks
Silvia
Hello Silvia,
Thank you for your purchase.
Unfortunately, there isn't such option in Amelia with its current built-in features and there are no hooks for actions or filters for that matter in Amelia. There are a few JS hooks which are triggered depending on the view:
If you have any further questions feel free to ask.