Okay
  Public Ticket #2492207
Change Congratulations message and graphic
Closed

Comments

  • Richard started the conversation

    We're wanting to change the Congratulations message and the graphic on the booking confirmation screen.

  • [deleted] replied

    Hello Richard, 

    There isn't a possibility of customization that page in Amelia. You can change the text if you want using the translation method, and try changing the Trophy icon directly in the img folder at location wp-content/plugins/ameliabooking/plublic/img

    Please note that all of these changes would be lost when you update Amelia.

    You can redirect to some other page instead of this one using JS hooks, if you want. IN this case, customers won't have the Add to calendar option.

    These are 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)

     

    So, 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. 

    If you have any further questions feel free to ask.