Okay
  Public Ticket #2766827
Amelia confirmation
Closed

Comments

  • Simona Georgieva started the conversation

    Hello, I have a custom thank you page that I set to be redirected to after confirmation. How can I disable yours so I dont have both thank you pages? I dont need this finish button and I dont have any add to calendar options anymore so I dont need it. Thanks

  • [deleted] replied

    Hi, Simona!

    Sorry for the delayed response.

    In order to achieve that, you can use the beforeConfirmedBooking hook, which will be triggered when your customers confirm booking, to redirect them to another page. You will of course set the redirect URL that you want in the script:

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

    You just need to just place this script on the page with Amelia.

    Best regards. 

  • Simona Georgieva replied

    Hi, Liza


    Thank you very much.


    Regards

  • [deleted] replied

    Hi, Simona!

    I'm glad I could help.

    Please let us know if you have any other questions.

    Best Regards.