Jump to content

Order Confirmation Page

Recommended Posts

Site URL: https://www.shop.chenebleu.com/

Hi Folks,

The site above p/word: SandraCB 

had this code in the 'order confirmation' code injection box:

<div class="email-text">
<p>An Si ce mail n'arrive pas dans votre boîte mail, veuillez vérifier votre dossier spam ou indésirable ou ajouter 'no-reply@squarespace.com' à la liste des adresses autorisées.

En savoir plus sur nos méthodes de production et nos efforts de développement durable en ligne à <a href="https://www.chenebleu.com/"><b>www.chenebleu.com.</b></a>
<br>
<br>

Your order has been successfully placed, and an email confirmation has been sent to your email address.

If you don't receive this email shortly in your inbox, please check your spam or junk mail folders or add 'no-reply@squarespace.com' to your safe sender list. 

Learn more about our wine production and sustainability efforts online at <a href="https://www.chenebleu.com/"><b>www.chenebleu.com.</b></a></p>
</div>

 

This code worked absolutely fine until today, when it now appears at the bottom of the site footer rather than under the standard order confirmation page text.  Any ideas what could have happened?

Many thanks,

Sandra 

Image12.jpg

Link to comment
  • Replies 5
  • Views 1.7k
  • Created
  • Last Reply

@tuanphan I have placed a 'fake' order and this is the link to the page - if you scroll down you will now see the text is in the footer whereas it used to be directly under the order confirmation:

https://www.shop.chenebleu.com/checkout/order-confirmed?oid=5f3bceaf5138b447c91ae57b&authCode=NWYzYmNlYWY1MTM4YjQ0N2M5MWFlNTdiOjIwMjAtMDgtMThUMTI6NTA6NTMuNzcxWkdCOuLbh0t4yNROnQPzTvo5P_tWEY3ntMhBm1wksSEz

Attached is a screengrab of the code.

screengrab.jpg

Link to comment

I have sorted this issue. If anyone else needs help I was missing this:

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

In the Order Confirmation box:

<div class="email-text">
<p> your text </p>

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

Link to comment
  • 9 months later...

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.