Add Text to the Shopping Cart Page in Squarespace
Do you want to add some more text or instructions for your customers on the Squarespace Shopping Cart page? Here’s how with some simple code.
Before
After
The JavaScript
Copy and paste the following code into SETTINGS → ADVANCED → CODE INJECTION → FOOTER. Change the “Thank you for shopping at Adytic Marketing.” sentence to anything you want to display.
If you want the text to appear after the cart items instead of before, change the prependTo into appendTo.
<script> $( document ).ready(function() { // You change change the text you want to display in the below line var yourText = "Thank you for shopping at Adlytic Marketing."; $("<p>" + yourText + "</p>").prependTo("#sqs-cart-root"); }); </script>