Skip to content
New: 3 GARAN labels for free, no sign-up neededCreate now
EU legal guarantee
and GARAN label
GuideUpdated 9 October 20264 min read

Add the legal guarantee notice to PrestaShop

The official EU legal guarantee notice in your PrestaShop in a few minutes, with the free widget.

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

  1. Use a child theme
    Theme changes belong in a child theme so that updates do not overwrite them.
  2. Choose the spot
    In templates/catalog/product.tpl, find the area below the add-to-cart button.
  3. Paste the code
    Paste the widget code there. Alternatively, use an HTML block module from the Addons marketplace at the hook displayProductAdditionalInfo.
  4. Clear the cache
    Clear the cache under Advanced Parameters → Performance and check.

Things to know about PrestaShop

Where the notice belongs in PrestaShop

PrestaShop places content through hooks. According to the developer docs, these three sit at the following places in the Classic and Hummingbird themes:

You attach a module to a hook under Design → Positions, with the button at the top right (“Transplant a module”). For the footer, there is also the “Link list” module (Design → Link Widget). It links pages from Design → Pages in link blocks; in the Classic theme, the blocks sit in the footer. A page of your own with the widget thus appears as a link in the footer.

Combinations, brand and model identifier

In PrestaShop, variants are called combinations. When creating the product, you choose the type “Product with combinations”, and the Combinations tab appears. Each combination has its own references: reference plus ISBN, EAN and UPC. According to the webservice docs, each combination also has its own MPN field.

The brand, by contrast, belongs to the product. According to PrestaShop, a product has exactly one brand, managed under Brands & Suppliers. So all combinations share the brand. The MPN in the Details tab is the producer’s unique reference. Whether it matches the model identifier on the GARAN label, you can tell from the producer’s information.

The GARAN label names the brand and the model identifier, so there is one label per model identifier. The widget shows one GARAN label per placeholder and does not change with the selected combination. If combinations have different model identifiers, create these models as separate products, each with its own label.

Typical pitfalls in PrestaShop

Further sources

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, your first three labels free and without sign-up. Below every finished label you get an embed code with permanent image URLs: 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.

Which hook also shows the notice in the cart?

displayReassurance. In Classic and Hummingbird, it sits on the product page, in the cart and at checkout.

Does each combination have its own model identifier?

Each combination has its own references (reference, ISBN, EAN, UPC and, according to the webservice docs, MPN). The brand, however, applies to the whole product.

How do I get the notice into the footer?

With a module on the hook displayFooter, or as a link: create a page with the widget under Design → Pages and link it in the footer with the “Link list” module.

GARAN label done, for free.

Your first 3 labels are free. On Shopify, our app adds both EU labels automatically.