I know how to use the code injection but for the order confirmation page all html is placed under the footer. Is there a way to add some thank you text before the order info (conf number, customer email etc)?
Answer by alohapablo · Mar 22 at 10:15 PM
Yeah, really tough issue here. I've spent so much time on this issue and came up with a different solution.
I just created a separate THANK YOU page that gives everyone the reinforcement they want after spending $ (and it looks good). Then I just implemented some simple code to have the default squarespace order-confirmed page automatically redirect to the THANK YOU page.
It takes just a quick half second for the page to refresh, but it is such a good solution for me.
Now, here is the magic.
Simply go to: SETTINGS -> ADVANCED -> CODE INJECTION (don't be afraid, this is how amazing is supposed to feel) -> scroll down to ORDER CONFIRMATION PAGE section and insert this:
<$script$>window.location.href = "https://www.yourwebsite.com/yourthankyoupage"<$/script$>"
Just remove the $'s (i had to include them in order to post in this comment box) and then change the bolded sections with your site and page.
So simple. So effective.
I hope it helps!
order country 1 Answer