Okay
  Public Ticket #2468289
Remove the icon after booking
Closed

Comments

  • Nikolaos started the conversation

    Hi

    Is it possible to change or remove the icon on the congratulations page?

    I have linked a "Thank you page" but the congratulation page displays first.

    Is it possible to skip that step and have my "Thank you" page to display directly after booking?


    Thank you


  • [deleted] replied

    Hello Nikolaos, 

    We have some JS hooks, that are triggered depending on the view:

    window.beforeAddToCalendarLoaded()
    window.beforeBookingLoaded()
    window.beforeSearchLoaded()
    window.beforeSearchFiltered()
    window.afterSearchFiltered()
    window.beforeConfirmedBooking()
    window.beforeCatalogLoaded()
    window.afterSelectCatalogCategory(object_category)
    window.beforeCatalogCategoryLoaded(object_category)
    window.beforeCatalogServiceLoaded(object_category, object_service)
    window.afterSearchActivateService(object_appointment, object_serviceActive)
    window.afterSearchGoToSecondStep(object_appointment, object_serviceActive)
    window.afterBookingSelectDateAndTime(object_appointment, object_serviceId, object_providerId, object_locationId)
    window.afterBookingSelectService(object_appointment, object_serviceId, object_providerId, object_locationId)
    window.beforeConfirmBookingLoaded(object_appointment, object_service, object_provider, object_location)
    window.afterConfirmBooking(object_appointment, object_service, object_provider, object_location)

     

    You can use the hook, for example, beforeConfirmedBooking, that will be triggered when your customers confirm booking. 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>

    And you need to just place this script on the page where you have your Amelia shortode. 

    Hope this helps!

  • Nikolaos replied

    Great, It worked perfect! Thank again!

    Best regards

    Nikos

  • [deleted] replied

    Glad to see that, Nikos. You are welcome.

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