VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: ovisele on May 21, 2019, 15:49:26 PM

Title: Redirect user after confirming an order
Post by: ovisele on May 21, 2019, 15:49:26 PM
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.
Title: Re: Redirect user after confirming an order
Post by: 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.
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.
Title: Re: Redirect user after confirming an order
Post by: Milbo on August 11, 2023, 22:17:33 PM
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.