I have a page display 10 listing cards to show different employees and services that they provide and trying to associate the booking form for each employee and hope to have a button to pop up the repective booking form
For example
For the 1st card > button click > popup [ameliastepbooking employee=1]
For the 2nd card > button click > popup [ameliastepbooking employee=2]
For the 3rd card > button click > popup [ameliastepbooking employee=3]
It is not possible to have one PopUp Elementor Template that could dynamically change a button ID, if that is what you meant to achieve,
but we can help you achieve the use-case.
-
For example, in the scenario you described, when you need three different Pop Ups,
and you wish each of them to preselect for each Employee,
you will need to create three different Pop Up Templates in Elementor first.
Then, in each Pop Up, each button has to have a unique Button ID for this to work ( it is not possible to have same button ID more than once on same Page).
And in the end, in each Pop Up, place a different Amelia Shortode, and ensure to match the 'trigger' to your Button ID of the PopUp.
-
So, for example, for the first Employee Pop Up,
you can name the PopUp Template anything like "PopUp for Employee 1",
then set this button ID to be anything, like "mybutton1"
and in the Amelia Shortcode for that PopUp, input : [ameliastepbooking employee=1 trigger=mybutton1 ]
-
Then for the second Employee, create another PopUp Template in Elementor, name it anything, like "PopUP for Employee 2",
this button ID could be "mybutton2",
and Amelia Shortcode inside it : [ameliastepbooking employee=2 trigger=mybutton2 ]
and so on, the same for the Third Employee.
-
Please follow the instructions from our Guide how to make the Elementor Pop Up work on button with Amelia here, and keep in mind what we explained that you need to make individual Pop Ups with each having a unique trigger and unique button ID that matches that 'trigger' in Amelia Shortcode.
Unfortunately, currently, this feature is not built-in in Amelia. You would need to create them manually. If this will be possible in the future we can not say.
In light of this, we encourage you to kindly consider submitting this valuable suggestion as a feature request through the following link: https://features.wpamelia.com/. The prioritization of feature development is greatly influenced by the number of customer requests received. By participating and expressing your support, you contribute significantly to the potential expedited implementation of this feature.
Should you have any further inquiries, we kindly request that you open separate tickets for each question and we will gladly help you there.
Hi
I have a page display 10 listing cards to show different employees and services that they provide and trying to associate the booking form for each employee and hope to have a button to pop up the repective booking form
For example
For the 1st card > button click > popup [ameliastepbooking employee=1]
For the 2nd card > button click > popup [ameliastepbooking employee=2]
For the 3rd card > button click > popup [ameliastepbooking employee=3]
and so on...
I have come across some other tickets like https://tmsplugins.ticksy.com//ticket/3377533/
but I have not found any ticket asking about how to popup with different employee id dynamically.
In my previous work, i was able to achieve with custom field in the shortcode
[ameliabooking trigger=ameliapopupid employee="custom-fieild-id"]
Can you please advise if this is possible and if so, how to achieve it?
Thank you
Hi Rohan,
It is not possible to have one PopUp Elementor Template that could dynamically change a button ID, if that is what you meant to achieve,
but we can help you achieve the use-case.
-
For example, in the scenario you described, when you need three different Pop Ups,
and you wish each of them to preselect for each Employee,
you will need to create three different Pop Up Templates in Elementor first.
Then, in each Pop Up, each button has to have a unique Button ID for this to work ( it is not possible to have same button ID more than once on same Page).
And in the end, in each Pop Up, place a different Amelia Shortode, and ensure to match the 'trigger' to your Button ID of the PopUp.
-
So, for example, for the first Employee Pop Up,
you can name the PopUp Template anything like "PopUp for Employee 1",
then set this button ID to be anything, like "mybutton1"
and in the Amelia Shortcode for that PopUp, input : [ameliastepbooking employee=1 trigger=mybutton1 ]
-
Then for the second Employee, create another PopUp Template in Elementor, name it anything, like "PopUP for Employee 2",
this button ID could be "mybutton2",
and Amelia Shortcode inside it : [ameliastepbooking employee=2 trigger=mybutton2 ]
and so on, the same for the Third Employee.
-
Please follow the instructions from our Guide how to make the Elementor Pop Up work on button with Amelia here, and keep in mind what we explained that you need to make individual Pop Ups with each having a unique trigger and unique button ID that matches that 'trigger' in Amelia Shortcode.
then it should work.
Let us know how it goes.
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
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
Thank you, Milos for your suggestion.
However, I would need dynamic way of assigning employee id for the booking
https://preply.com/en/online/english-tutors?skippresearch=true
It works simliarly like this, there is no way that I could create the tons of different popups for each as below screenshot.
hopefully this could be part of the enhancement in future.
Thank you
Hi Rohan,
Unfortunately, currently, this feature is not built-in in Amelia. You would need to create them manually. If this will be possible in the future we can not say.
In light of this, we encourage you to kindly consider submitting this valuable suggestion as a feature request through the following link: https://features.wpamelia.com/. The prioritization of feature development is greatly influenced by the number of customer requests received. By participating and expressing your support, you contribute significantly to the potential expedited implementation of this feature.
Should you have any further inquiries, we kindly request that you open separate tickets 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
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