I discovered there is no way to specify a location when a customer tries to book a slot from an existing package.
Is there an option at the backend that allows me to add additional information (as a reminder of the time slots available for certain locations) in this section? Otherwise, a hook will also be helpful too.
Features are pushed up on our "to-do" list when there are a lot of customers requesting those features, so having your vote as a customer can be beneficial to this feature being developed sooner.
We are not sure that this can be done via hooks but these are available hooks that we have Amelia currently has the following hooks:
<script>
window.ameliaActions = {
ViewContent: function (success = null, error = null, data) {
//triggered when the form loads
console.log('ViewContent HOOK')
console.log(data)
console.log('------------')
},
SelectService: function (success = null, error = null, data) {
//triggered when the service is selected/changed in the form
console.log('SelectService HOOK')
console.log(data)
console.log('------------')
},
SelectEmployee: function (success = null, error = null, data) {
//triggered when the employee is selected/changed in the form
console.log('SelectEmployee HOOK')
console.log(data)
console.log('------------')
},
SelectLocation: function (success = null, error = null, data) {
//triggered when the location is selected/changed in the form
console.log('SelectLocation HOOK')
console.log(data)
console.log('------------')
},
SelectCategory: function (success = null, error = null, data) {
//triggered when the category is selected/changed in the form
console.log('SelectCategory HOOK')
console.log(data)
console.log('------------')
},
SelectPackage: function (success = null, error = null, data) {
//triggered when the package is selected/changed in the form
console.log('SelectPackage HOOK')
console.log(data)
console.log('------------')
},
InitiateCheckout: function (success = null, error = null, data) {
//triggered once the customer lands on the "info" page where they fill in their details
console.log('InitiateCheckout HOOK')
console.log(data)
console.log('------------')
},
Schedule: function (success = null, error = null, data) {
//triggered once the 'on-site' booking is completed
console.log('Schedule HOOK')
console.log(data)
console.log('------------')
},
Purchased: function (success = null, error = null, data) {
//triggered once an online booking is completed
console.log('Purchased HOOK')
console.log(data)
console.log('------------')
},
beforeBooking: function (success = null, error = null, data) {
//triggered when the "Confirm" button is clicked but before the booking is completed.
//This hook currently doesn't work for Mollie and WooCommerce payments
console.log('Before booking is created HOOK')
console.log(data)
console.log('------------')
},
}
</script>
These are the same hooks used in Google Analytics and Facebook Pixel integrations, but if you need some other hooks added, please let us know which ones and explain what they would contain and when they should be triggered.
As a workaround this round, I manually amended the value of the 'package_book_next_appointment' label variable (in the FrontendStrings.php) to include the required information to ensure that the customers are aware of the available spots for the different locations.
You are most welcome, and we are glad that we were able to help you. If you have any more questions please open another ticket and we will gladly help you there.
Hi there,
I discovered there is no way to specify a location when a customer tries to book a slot from an existing package.
Is there an option at the backend that allows me to add additional information (as a reminder of the time slots available for certain locations) in this section? Otherwise, a hook will also be helpful too.
Thanks!
Regards,
Patrick
Hello Patrick,
Thank you for reaching out to us.
Unfortunately, currently, this feature is not built-in in Amelia.
I'll kindly ask you to add it as a feature suggestion on this link https://features.wpamelia.com/
Features are pushed up on our "to-do" list when there are a lot of customers requesting those features, so having your vote as a customer can be beneficial to this feature being developed sooner.
We are not sure that this can be done via hooks but these are available hooks that we have Amelia currently has the following hooks:
These are the same hooks used in Google Analytics and Facebook Pixel integrations, but if you need some other hooks added, please let us know which ones and explain what they would contain and when they should be triggered.
Hope this helps.
Kind Regards,
Marko Davidovic [email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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
Thanks for sharing the available hooks!
As a workaround this round, I manually amended the value of the 'package_book_next_appointment' label variable (in the FrontendStrings.php) to include the required information to ensure that the customers are aware of the available spots for the different locations.
Hello Patrick,
You are most welcome, and we are glad that we were able to help you. If you have any more questions please open another ticket and we will gladly help you there.
We wish you all the best.
Have a nice day.
Kind Regards,
Marko Davidovic [email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, floor plans, choropleth maps, and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia 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