In Squarespace, you add the legal guarantee notice to your product pages with a code block, for example in the additional information below the product.
The code for Squarespace
<div data-garantielabel data-darstellung="voll"></div>
<script src="https://www.garantielabel.app/widget.js" async></script>Set further options such as display and language in the code builder.
Step by step in Squarespace
- Open the product
Edit the product in Commerce or on the store page. - Add a code block
Add a code block in the additional information section. - Paste the code
Paste the widget code, leave “Display Source” switched off and save. - Load the script centrally
You can also load the line withwidget.jsonce via the store page’s Code Injection. The placeholder still has to be in every product.
Things to know about Squarespace
- JavaScript in code blocks runs on the Core, Plus and Advanced plans and on the older Business, Commerce Basic and Commerce Advanced plans, not on Basic or Personal.
- Code blocks do not always run in the editor preview; check the live page.
Legal guarantee notice in the order confirmation
According to the Commission’s guidelines, the notice should also appear in the confirmation email. In Squarespace, you customise the order confirmation in the Commerce settings under customer emails. The official graphic can be added there as an image. A plain link is unlikely to count as a durable medium (CJEU, Case C-49/11, Content Services); the safest way is to put the notice directly in the email as an image, text or attachment. You will find the official files on our download page.
Producer guarantee? Then add the GARAN label
If the producer gives a commercial guarantee of durability of more than two years free of charge for the whole good, the GARAN label also belongs on the product page. With the GARAN label generator you create it in seconds from years, brand and model, free and without sign-up. With a free account, you get an embed code with permanent image URLs below the finished label: you upload nothing and paste it into Squarespace as shown above.
Prefer your own files? Then upload the full and the nested version to the media library of Squarespace and enter the addresses in the widget code:
<div data-garantielabel data-darstellung="voll"
data-garan-voll="https://…/GARAN-MX-500.svg"
data-garan-klein="https://…/GARAN-MX-500-nested.svg"></div>The widget then shows the nested version below the legal guarantee notice, and one click opens the full GARAN label.
Frequently asked questions
Do I have to add it to every product?
The placeholder, yes, for each product. The script itself can be loaded centrally via Code Injection.
Why the full display?
It is the most robust option in Squarespace. Badge and link work as well, though.
Which plan do I need?
A plan in which code blocks run JavaScript: Core, Plus or Advanced, or Business or Commerce on the older plans.