Okay
  Public Ticket #2889557
Disable step 5 and redirect automatically
Closed

Comments

  • Fabrice Bartoli started the conversation

    Hi, in the booking form, i need to disable the thank you page of amelia and redirect automatically to my confirm page (https://smartmindteam.it/conferma).


    How can i do?

    Thank you

  • [deleted] replied

    Hi, Fabrice,

    Thank you for choosing Amelia.

    If you want to hide the "Thank you" page, it can be achieved with custom JS and CSS:

    1. Please add this script to the page with Amelia

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

    Where https://www.google.com is the redirect URL.

    2. After that, you should also add this CSS to the same page

    .am-show-calendar-container {display: none;}

    If you need help with adding custom CSS to the page, please take a look at this article.

    If you need help with adding custom JS to the page, please take a look at this article.

    Hope that will help.

    Best Regards.