Thanks for reaching out to us. Make sure that the option "Amelia Add to Calendar Page" is selected in WooCoomerce settings, since if the first option is selected it will redirect you to the Thank you page.
Please provide me a temporary WP-admin (administrator) user for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue.
We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course, we do not provide login data to third parties.
You can write credentials here just check PRIVATE Reply so nobody can see them except us.
1. so just confirming, even tho it says Amelia add to calendar page as the only option…. It should still follow the individual service and package settings to redirect to those pages set?
2. Due to regulations I really can’t do that, however I’m pretty tech savvy and have a team of developers if you want to just tell me what to do, check, or what info you need.
Here is how it should work. In General settings, there is an option to add the redirect URL which will be applied to all services/events (so, in general). But, you can also configure the redirect URL for each service/event separately.
if you have this option enabled in WooCoomerce settings, after the successful booking, Amelia will redirect to the Thank you page.
but if you change this to "Add to Calendar" page, after you press Finish, it will redirect to the URL that has been inserted in service settings. For example, this is the URL -
If I book an appointment for this service, after I press finish
so if I do that then after woocommerce checkout, it will just go right to the service/package individual redirec that it set and bypass the add to calendar page?
or are you saying if woocommerce is integrated it will either always have go to the Amelia add to calendar page first or that it can only go to redirect in the general settings. Or are you saying with woocommerce enabled it will always have to go the Amelia calendar page first and then only way it redirects is if you hit the x on calendar page after?
Well, there is no need to add the redirect URL to each service separately, if you add it in General settings (it will be applied to all services already). The redirect will be still applied once a customer clicks on Finish, but in the case of using the WooCoomerce, if "Thank you" page is selected, it will forward to this page once the booking is done.
In that case, it makes sense. This is how i would configure it.
Make a new page, use the shortcode to define the specific ID - [ameliastepbooking service=1]
Configure redirect URL for each service separately in Amelia backend.
Once a customer goes to the page where the booking form is located, he finishes the booking and the redirects them to the particular URL configured for that particular service.
Even if they pay with the "on-site" method, the "congratulations" page still appears, but the redirection occurs after they click on Finish. Just tested again, it doesn't occur before the congratulations page. Just searched a bit, here is the hook that you use 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 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):
Apologies, i went ahead and provided a script that is actually meant to be used for old booking forms (v1). This might be possible to configure with JS hooks, but please allow me to double-check with the developers.
I will get back to you as soon as I have feedback.
You can add this script to the page where the booking form is located, and it will simulate a button click once your customer reaches the congratulations step.
Just tested and it does work properly. Make sure that the script is copied properly and you can add it with the JS script plugins. For example - Custom CSS and JS
Activated woocommence, but now the redirect rules for each service/package after booking not working.
After booking an amelia service and/or package, used to redirect customer to link set in each service/package settings
Hi Adam,
Thanks for reaching out to us. Make sure that the option "Amelia Add to Calendar Page" is selected in WooCoomerce settings, since if the first option is selected it will redirect you to the Thank you page.
Please, let me know if it works when you check.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
nope, it only goes to the amelia add to calendar page
Hi Adam,
Please provide me a temporary WP-admin (administrator) user for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue.
We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course, we do not provide login data to third parties.
You can write credentials here just check PRIVATE Reply so nobody can see them except us.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
1. so just confirming, even tho it says Amelia add to calendar page as the only option…. It should still follow the individual service and package settings to redirect to those pages set?
2. Due to regulations I really can’t do that, however I’m pretty tech savvy and have a team of developers if you want to just tell me what to do, check, or what info you need.
Hi Adam,
Here is how it should work. In General settings, there is an option to add the redirect URL which will be applied to all services/events (so, in general). But, you can also configure the redirect URL for each service/event separately.
if you have this option enabled in WooCoomerce settings, after the successful booking, Amelia will redirect to the Thank you page.
but if you change this to "Add to Calendar" page, after you press Finish, it will redirect to the URL that has been inserted in service settings. For example, this is the URL -
If I book an appointment for this service, after I press finish
It sends me to this page
I hope it helps.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
ok, yea i find customers never click finish... they just close page at that point.
Hi Adam,
There we go. So, again, this is configured for a particular service only, but the URL is added in General settings it will be applied to all services.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
so you saying:
Step 1: select add to calendar page
Step 2: add redirect in general settings
step 3: add redirect in each service and package
so if I do that then after woocommerce checkout, it will just go right to the service/package individual redirec that it set and bypass the add to calendar page?
or are you saying if woocommerce is integrated it will either always have go to the Amelia add to calendar page first or that it can only go to redirect in the general settings. Or are you saying with woocommerce enabled it will always have to go the Amelia calendar page first and then only way it redirects is if you hit the x on calendar page after?
Hi Adam,
Well, there is no need to add the redirect URL to each service separately, if you add it in General settings (it will be applied to all services already). The redirect will be still applied once a customer clicks on Finish, but in the case of using the WooCoomerce, if "Thank you" page is selected, it will forward to this page once the booking is done.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
well I need it to forward to separate pages for each service and package.
So what settings or how to I get it so
1. Customer fills out Amelia form
2. Customer goes to woocommerce checkout
3. Customer is redirected directly immediately to what redirect page set in each individual service setting
like how can it go from woocommerce checkout page to the Amelia service redirect without going to the add to calendar and having to hit the x first
x means finish button o. Calendar page
Hi Adam,
In that case, it makes sense. This is how i would configure it.
Make a new page, use the shortcode to define the specific ID - [ameliastepbooking service=1]
Configure redirect URL for each service separately in Amelia backend.
Once a customer goes to the page where the booking form is located, he finishes the booking and the redirects them to the particular URL configured for that particular service.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
what do you mean by finishes the booking? Finishing booking as in after woocommerce checkout?
Or finish booking like click finish on the Amelia add to calendar page?
Hi Adam,
Well, once the WooCoomerce part is done, and the payment is processed, you should see the confirmation in Amelia, like this
The redirect occurs once a customer clicks on Finish.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Before integrating woo commerce it never went to that page. It just went immediately to the redirect set.
This way isn’t good, because no customer clicks the finish button…… they just close the webpage.
Hi Adam,
Even if they pay with the "on-site" method, the "congratulations" page still appears, but the redirection occurs after they click on Finish. Just tested again, it doesn't occur before the congratulations page. Just searched a bit, here is the hook that you use 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 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):
Please insert this script on the page where you insert Amelia's shortcode.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
this will work with WooCommerce checkout activated?
Hi Adam,
Apologies, i went ahead and provided a script that is actually meant to be used for old booking forms (v1). This might be possible to configure with JS hooks, but please allow me to double-check with the developers.
I will get back to you as soon as I have feedback.
Apologies for the inconvenience again.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hi Adam,
I'm back with an update. You can use this script
You can add this script to the page where the booking form is located, and it will simulate a button click once your customer reaches the congratulations step.
Please, let me know if it works.
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
ok give me 24hrs to implement and i will get back you with the results. thank you.
<script>
window.ameliaActions = {
Purchase: function (success = null, error = null, data) {
//triggered once an online booking is completed
console.log('Purchased HOOK')
console.log(data)
console.log('------------')
const intervalId = setInterval(() => {
const button = document.querySelector('#amelia-container .am-fs__main-footer .am-button-continue');
if (button) {
button.click();
clearInterval(intervalId);
}
}, 300);
}
}
</script>
It's not working. It seems the code is not connected with WooCommerce checkout.
Hi Adam,
Just tested and it does work properly. Make sure that the script is copied properly and you can add it with the JS script plugins. For example - Custom CSS and JS
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
works now, was a plugin conflict with wp bakery builder.
Great to hear that, Adam!
Thanks for letting me know.
If you have any other questions, please open a new ticket and we will gladly help you there.
Have a nice day!
Kind Regards,
Stefan Petrov
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables