Auto-Redirect from Thank You Page to Homepage

I am trying to automatically redirect from the Thank You page to the homepage after an order is placed, using a Shopify checkout extension.

I have tried multiple times but haven’t found a working solution. The main issue is that checkout extensions don’t allow direct DOM manipulation and only work within specific extension target points (like banners, order status, etc.).

Is there any supported method or workaround to achieve an automatic redirect after order completion? Or is this something that’s strictly restricted by Shopify’s checkout extensibility framework?

Any guidance or best practices would be appreciated.

Thanks for the explanation! Just to clarify — are you saying we need to add the redirect script directly in the Order Status page → Additional Scripts section in the Shopify admin? Or are you suggesting we should use a post-purchase extension for this?

Since I’m on Shopify Plus, I want to make sure I’m applying the right approach.

Hi! were you able to find a solution here? running into the same issue

@jlatief

This isn’t possible with the new Customer Account TYP/OSP.

Shopify restricts developers to only a handful of specific components.

What you can do is create a component that shows a large Return to Homepage link and a button to redirect back. But you cannot do it automatically.