Hey there, Awesome Customers!

Just a heads up: We'll be taking a breather to celebrate International Workers' Day (May 1st and 2nd - Wednesday and Thursday) and Orthodox Easter from Good Friday (May 3rd) through Easter Monday (May 6th). So, from May 1st to May 6th, our team will be off enjoying some well-deserved downtime.

During this time, our customer support will be running on a smaller crew, but don't worry! We'll still be around to help with any urgent matters, though it might take us a bit longer than usual to get back to you.

We'll be back in action at full throttle on May 7th (Tuesday), ready to tackle your questions and requests with gusto!

In the meantime, you can explore our documentation for Amelia and wpDataTables. You'll find loads of helpful resources, including articles and handy video tutorials on YouTube (Amelia's YouTube Channel and wpDataTables' YouTube Channel). These gems might just have the answers you're looking for while we're kicking back.

Thanks a bunch for your understanding and support!

Catch you on the flip side!

Warm regards,

TMS

Okay
  Public Ticket #3487557
popup booking > dynamic employee id
Closed

Comments

  •  5
    Rohan Yoon started the conversation

    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"] 

    3342910215.png


    Can you please advise if this is possible and if so, how to achieve it? 

    Thank you

  •  1,692
    Miloš replied

    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 | 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

  •  5
    Rohan Yoon replied

    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. 

    7021563638.png

    hopefully this could be part of the enhancement in future. 

    Thank you


  •  1,314
    Marko replied

    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 | 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