Shopify Continue Shopping Button link to external site

Topic summary

Main issue: After completing a purchase via the Shopify Buy Button embedded on an external website, the “Continue shopping” button sends customers to a Shopify collection page instead of back to the external site, creating confusion.

Attempted fix: Edited the Dawn theme’s main-cart-items.liquid to redirect the button to the external site’s homepage, but this change did not work.

Key questions: Are there restrictions that prevent the “Continue shopping” link from pointing to non-Shopify (external) URLs? If such restrictions exist, what is the best workaround or supported method to control that link for Buy Button checkouts?

Context notes: Shopify Buy Button = embeddable storefront for external sites. Dawn = Shopify’s default theme.

Status: Unresolved; user is seeking guidance on link restrictions and a viable solution.

Summarized with AI on December 27. AI used: gpt-5.

Hi there,

I am using the Shopify buy button on my website.

When the purchase is done and the user selects the continue shopping button, the button leads to Shopify collection and the visitor is confused, because it is outside of my external website.

I edited the code of my theme(Dawn), main cart items liquid to redirect to my main page of the external website but didn’t work.

Is there a restriction on the use of external links other than Shopify links?

If a restriction occurs what is the best solution?

Thank you.