Provide a "Return to Home" button after checkout/payment received

Solved
MitchellFly
Excursionist
33 0 5

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

Accepted Solution (1)
florinanghel
Shopify Partner
136 17 38

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. 

View solution in original post

Replies 3 (3)
florinanghel
Shopify Partner
136 17 38

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. 

MitchellFly
Excursionist
33 0 5

That worked perfectly--thank you so much!

PaulNewton
Shopify Partner
5189 464 1125

Additional scripts are being changed to restrict such uses so do not expect this solution to continue working past March 15, 2021

Finally Combinable Discounts - EARLY ACCESS ONLY - Use Free Shipping With Other Discounts

Answers powered by coffee Buy Paul a Coffee for more answers or donate to eff.org
Problem Solved? ✔Accept and Like solutions to help future merchants
Confused? Busy? Buy a custom solution paull.newton+shopifyforum@gmail.com