News:

Looking for documentation? Take a look on our wiki

Main Menu

Redirect user after confirming an order

Started by ovisele, May 21, 2019, 15:49:26 PM

Previous topic - Next topic

ovisele

Hi everyone,

I am using VirtueMart + VMUiKit + Yootheme Pro for my online store. I am starting the AdWords campaign these days and the spemildt has asked me to redirect the customer, after he/she complete the order, to another page (let's say a thank you page). This will be very relevant to tracking and re marketing. Is there an easy way to do this, because I have not found it.

Website here: https://seki.ro/magazin-online.html

Many thanks in advance and warm regards to all.

nehakakar

Here's how you can set up..
Go to Components > VirtueMart > Configuration > Checkout tab > Scroll down to the Thank You Page URL section.
Enter the URL of your thank you page in the Thank You URL field.
For example, if your thank you page is https://example.com/thank-you-page, enter that URL tere.
Then Save the changes. that's it.
I hope it helps others as well.

Milbo

Quote from: nehakakar on August 01, 2023, 12:00:26 PM
Here's how you can set up..
Go to Components > VirtueMart > Configuration > Checkout tab > Scroll down to the Thank You Page URL section.
Enter the URL of your thank you page in the Thank You URL field.

Do you mean this as suggestion how simpel it could be and we should add it this way? I fear it isnt that easy, it even can break payment plugins.

Ovisele, you can override the orderdone.php and add there a simple js, which redirects to your page.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/