Jump to content

Edit Post Submit Message on Checkout page

Recommended Posts

Hi, I am a basic user of squarespace and have a website were we sell places on a course. It seems that when some customers checkout the email that is sent confirming their order may end up in their email junk folder. I have verified the email address that the emails come from, but it still happens. I was want to add a line in to the Post Submit Checkout page that says an email has been sent, a line that just simply says if you have not received the email please check your junk folder. Can anyone help with where and how I would add this to my website?

Thanks for your help!

Link to comment
  • Replies 2
  • Created
  • Last Reply

So the first thing that you will need to do is add the below to your websites global code injection header.

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>

Next you will need to add the below code to the order confirmation page code injector. You can change the text to whatever you like, change from h3 to p, h1...

<div class="email-text">
<h3>An order confirmation email has been sent, please check your junk folder if you have not received the email.</h3>
</div>

<script>
	$('.email-text').insertAfter('#confirmed-page');
</script>

I have also linked to the below support document if you need help with adding the code to your websites code injector.

https://support.squarespace.com/hc/en-us/articles/205815908-Using-Code-Injection

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.