Hi, We just started to work with your great plugin. For the first time we a question:
There is an "information" modal window in step-by-step booking. We would like to customize.
We do not need the first and last name fields. Only registered users are allowed to book a date, it is unnecessary to verify their name in each appointment.
We have the customers's phone number in the database. Is there a a filter hook, where we are able to populate the phone number field from PHP?
1. In the customize section you can hide all fields except the first name like this
But you can change the label of first name field if you wish
2. If you have that information those fields will be pre-populated. You have option called Automatically create Amelia Customer user – If this option is enabled every time a new customer makes an appointment they will automatically get a WordPress user with the Amelia Customer user role and email with login details from WP, and that WP user would be connected to the customer created in Amelia. If someone is already a WordPress user, and they book an appointment for the first time in Amelia while logged in to WP, the customer created in Amelia will be connected to that WP user and they will get the Amelia Customer role in WP (there are plugins for managing multiple roles in WordPress, such as User role editor). This way they will have the same login info for the Amelia customer panel and WordPress.
If you have any more questions please open a new separate ticket for each question and we will gladly help you there.
Thanks for your reply. Your second answer is not yet, what I would like to do. You said: " If this option is enabled every time a new customer makes an appointment they will automatically get a WordPress user with the Amelia Customer user role and email with login details from WP, and that WP user would be connected to the customer created in Amelia." I understand this. My problem is that I want to populate the phone number of the user. stored in the WP user meta. How can I do that? For example Gravity form provides a filter hook to populate the fields. Do you have such a hook? If not, do you have a php function where I can add phone number to Amelia Cusotomer? Or: Can I add a JS variable which was used to populate the phone number?? Regards,
We just got the feedback from our colleagues and they have told us that
1. You can hide the first name field with custom css
.am-info-first-name: {display:none;}
2. We do not have a filter hook for populating fields, however there is a js hook which is fired when the customer is on the info step. Perhaps you can use that
window.ameliaActions = {
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('------------')
},
}
Custom code needs to be applied to the page where the booking form is. Depending on what you're using (Gutenberg blocks, or some page builder), adding the CSS or JS can be done in a few different ways.
If you need help with adding custom CSS to the page, please take a look at this article.
If you need help with adding custom JS to the page, please take a look at this article.
Hi,
We just started to work with your great plugin. For the first time we a question:
There is an "information" modal window in step-by-step booking. We would like to customize.
Best regards,
Zsolt
Hello Zsolt,
Thank you for reaching out to us.
We thank you for the compliments.
1. In the customize section you can hide all fields except the first name like this
But you can change the label of first name field if you wish
2. If you have that information those fields will be pre-populated. You have option called Automatically create Amelia Customer user – If this option is enabled every time a new customer makes an appointment they will automatically get a WordPress user with the Amelia Customer user role and email with login details from WP, and that WP user would be connected to the customer created in Amelia. If someone is already a WordPress user, and they book an appointment for the first time in Amelia while logged in to WP, the customer created in Amelia will be connected to that WP user and they will get the Amelia Customer role in WP (there are plugins for managing multiple roles in WordPress, such as User role editor). This way they will have the same login info for the Amelia customer panel and WordPress.
If you have any more questions please open a new separate ticket for each question 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
Hi Marko,
Thanks for your reply. Your second answer is not yet, what I would like to do.
You said: " If this option is enabled every time a new customer makes an appointment they will automatically get a WordPress user with the Amelia Customer user role and email with login details from WP, and that WP user would be connected to the customer created in Amelia."
I understand this. My problem is that I want to populate the phone number of the user. stored in the WP user meta. How can I do that?
For example Gravity form provides a filter hook to populate the fields. Do you have such a hook? If not, do you have a php function where I can add phone number to Amelia Cusotomer? Or: Can I add a JS variable which was used to populate the phone number??
Regards,
Zsolt
Hello Zsolt,
We have forwarded your ticket to our level 2 agents and as soon as we get some feedback from them we will contact you immediately.
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
Hello Zsolt,
We just got the feedback from our colleagues and they have told us that
1. You can hide the first name field with custom css
2. We do not have a filter hook for populating fields, however there is a js hook which is fired when the customer is on the info step. Perhaps you can use that
Custom code needs to be applied to the page where the booking form is. Depending on what you're using (Gutenberg blocks, or some page builder), adding the CSS or JS can be done in a few different ways.
If you need help with adding custom CSS to the page, please take a look at this article.
If you need help with adding custom JS to the page, please take a look at this article.
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