Okay
  Public Ticket #3171736
Amelia Add to calendar with after booking redirection
Closed

Comments

  •  1
    Stavros started the conversation

    Hello,

    Is it possible to combine custom after booking redirection with Amelia add to calendar option?

    Having the Amelia add to calendar option active requires an extra step "Completion" button in order for the user to reach the final redirection page. And it's quite improbable to click that button since they get the full booking info at this step.


    Thank you

  •  111
    Stanislav replied

    Hello Stavros,

    Thank you for reaching out to us.

    Unfortunately, there is currently no such option with Amelia's built-in features. You can suggest that feature on the following link: https://features.wpamelia.com/ 

    We carefully follow suggestions from our customers and the more vote the feature gets, the more priority we put on implementing that feature in one of the future updates.

    We can only offer you the following:

    To redirect someone before they click on "Finish", you can use hooks like "beforeConfirmedBooking", for example, that will be triggered when your customers confirm the booking.

    You probably already know this part :

     that will be triggered when your customers confirm the booking. 

    You can set the redirect URL that you need like in this script (we use https://www.google.com as an example, but you will replace it with your own URL):

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

    Please insert this script on the page where you insert Amelia's shortcode.

    -

    Here is a test i just made on my Local Test site, the Script is still working for Old Forms ( just added a custom HTML block with the script) :

    7219329870.png

    Here is my video to see how it works :

    https://watch.screencastify.com/v/zZQhVz9PF7TjcKdSlZtn

    If you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.

    Have a nice day!

    Kind Regards, 

    Stanislav Snagovskiy
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs

    You can try wpDataTables add-ons before purchase on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  1
    Stavros replied

    Thanks for the suggestion Stanislav.

    With our current setup:

    Activating Show Add To Calendar option to customers (without woo payments enabled) the customer remains on the booking page and the form displays the add to calendar options.

    But what we actually need is:

    After Confirming the booking the customer to be redirected to another page where the booking form will display the add-to-calendar options with the successful booking input.

    Is that possible?

  •  111
    Stanislav replied

    Dear Stavros,

    You are welcome,

    I am sorry to disappoint you, but unfortunately, something like this is not possible with the plugin's built-in features, the add-to-calendar options can be displayed only on the default thank you page, however, it is a good feature suggestion and perhaps you could leave it here https://features.wpamelia.com/ and our product development team will take a look.

    If you have any further questions or issues, please feel free to open a new ticket, and we'll gladly help.

    Have a nice day!

    Kind Regards, 

    Stanislav Snagovskiy
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs

    You can try wpDataTables add-ons before purchase on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables