Hello,
I want to redirect my costumer to a upsell page in an external URL, just after he/she finished the purchase of the 1st product.
If it´s possible, I would like to redirect he/she to different URL, pending on the product bought.
I tried to add the following code in Settings > Checkout > Order processing, as suggested by @MarinaPetrovic , but my costumer still can see the “thank you page” before it redirects he/she.
It does not allow me also to redirect the costumer pending on the purchased product.
<script>setTimeout(function() {
window.location.href = "https://example.com";
}, 2000);</script>
Could you guys can help on that?
Many thanks!