Okay
  Public Ticket #2637015
Add appontment ID to notification.
Closed

Comments

  •  1
    Ambrogio started the conversation

    Hi, would it be possible to add the appointment ID as Email placeholder?

    As the ID is available in your webhook, it could be very helpful to use it as complement to generate unique links. Ex.:

    --------------------------------------

    Please open your customer area at
    https://companydomain.com/%customer_full_name%-%appointment_id%

    --------------------------------------

    As it is now there's no placeholder containing a unique value.

    Thanks. Best

  • [deleted] replied

    Hi Amadeus,

    There isn't such possibility in Amelia, unfortunately, I will add that as a feature request to our list, and you can suggest it as a feature request here

    There is an option for the customer panel URL to have the appointment date/time so it opens up the panel with the date of the appointment booked selected - if that could be helpful for your use case. In order to achieve this, you need to edit one table in your database. Access your database, and find and open the wp_options table there (it can have another prefix rather than wp_ depending on your database) and find the amelia_settings option in it (you should search for it like in the attachment). You need to edit this option and set the 

                “filterDate”

    parameter there to true instead of false.

    If you have any other questions or concerns feel free to open a new ticket and we will gladly help out. 


  •  1
    Ambrogio replied

    Hi Marija,

    I did the modification myself.

    It's just matter of adding

    'appointment_id'  => $appointment['id'],

    to the /src/Application/Services/Placeholder/AppointmentPlaceholderService.php

    https://punto-rosso.d.pr/WrZmw5

    I would really appreciate if you could add this line also in the core code, so I won't need to add it manually by every plugin update.

    Thanks

    Best

    Amadeus



  • [deleted] replied

    Hi Amadeus, 

    I see. Thank you for sharing your solution, I added this to our feature requests list, and I will forward it to our developers so they can check it out and so it can be considered for implementation in the future. 

    If you have any other questions or concerns feel free to open a new ticket and we will gladly help out. 


  •  1
    Ambrogio replied

    Really no chance to implement this option?

    The ID is the only parameter that identify the appointment, and it's a necessity to create a safe link on the notifications.

  • [deleted] replied

    Hello Amadeus, 

    Since we get a lot of feature requests/suggestions for Amelia , we can't implement them all and at once, unfortunately, but we would like if we could do that though. I will forward this again, so it can be considered for implementation in the future updates of Amelia, but as this isn't planned feature , I can't say for sure if and when it could be implemented unfortunately.

    If you have any other questions or concerns feel free to open a new ticket and we will gladly help out.