Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi all!
Is there a way that we could add a button for customers to return them to the homepage after payment has been received? I'm imagining that after they checkout & get to the order confirmation page, they can scroll down and there's a button at the bottom that says "Return to Home" that they click to get back to the main site.
Is this possible?
Thank you!
Mitchell
Solved! Go to the solution
This is an accepted solution.
You could easily add it at the top of the page in settings > checkout > additional scripts by adding this:
<br/><a href="/" class="btn">Return to home</a>
You could also a=have it at the bottom with a little js added on the same place.
This is an accepted solution.
You could easily add it at the top of the page in settings > checkout > additional scripts by adding this:
<br/><a href="/" class="btn">Return to home</a>
You could also a=have it at the bottom with a little js added on the same place.
That worked perfectly--thank you so much!
Additional scripts are being changed to restrict such uses so do not expect this solution to continue working past March 15, 2021
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025