In PrestaShop, you add the legal guarantee notice via the product page template in a child theme, or via a module that outputs HTML at the hook for additional product information.
The code for PrestaShop
<div data-garantielabel></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 PrestaShop
- Use a child theme
Theme changes belong in a child theme so that updates do not overwrite them. - Choose the spot
Intemplates/catalog/product.tpl, find the area below the add-to-cart button. - Paste the code
Paste the widget code there. Alternatively, use an HTML block module from the Addons marketplace at the hookdisplayProductAdditionalInfo. - Clear the cache
Clear the cache under Advanced Parameters → Performance and check.
Things to know about PrestaShop
- Smarty interprets curly brackets. The widget code contains none, so you can paste it directly.
- If “Smart cache for JavaScript” is enabled in the performance settings, the external script stays outside it.
Legal guarantee notice in the order confirmation
According to the Commission’s guidelines, the notice should also appear in the confirmation email. You edit email templates under International → Translations or Design → Email Theme. The official graphic can be added as an image to the order confirmation. 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 PrestaShop as shown above.
Prefer your own files? Then upload the full and the nested version to the media library of PrestaShop and enter the addresses in the widget code:
<div data-garantielabel
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
Is there a ready-made module?
You do not need a separate module. The template in the child theme is enough; alternatively, an HTML block module from the Addons marketplace.
Does it work in PrestaShop 1.7, 8 and 9?
Yes, the same way in all three versions.
Do I have to clear the cache?
Yes, after changing the template.