Okay
  Public Ticket #2687993
Example and Documentation
Closed

Comments

  •   Natalie started the conversation
  • [deleted] replied

    Hi Natalie, 

    There isn't any possibility for that in Amelia with its current built-in features, unfortunately. 

    Yes , there are those JS hooks and you can check if you can use one of those to achieve what you need, but we don't have examples for that, unfortunately, and our support doesn't cover such customizations. 

    We have this example only - for redirection to another page, using the hook beforeConfirmedBooking, that will be triggered when your customers confirm booking:

    <script>
    window.beforeConfirmedBooking = function()
    {
    window.location.href = "https://www.google.com";
    };
    </script>

    The script is added to the page where you have your Amelia shortode. 


    You can check out the web hooks as well , if maybe this feature can help you achieve what you need https://wpamelia.com/web-hooks-settings/


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