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 Webflow

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

In Webflow, you drag a “Code Embed” element onto the product page template and paste the widget code. The addresses of the GARAN labels can come from CMS fields.

The code for Webflow

<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 Webflow

  1. Open the product template
    In the Designer, open the “Products Template” under Pages.
  2. Add a Code Embed
    Drag the “Code Embed” element from the Add panel below the Add to Cart button.
  3. Paste the code
    Paste the widget code and save.
  4. Publish
    Publish the site. Embedded scripts do not run in the Designer itself.

Things to know about Webflow

Where the notice goes in Webflow

Webflow Ecommerce products are a Collection, just like in the CMS. The “Products Template” is its Collection page. A Code Embed there appears on every product page, and there you can insert product fields into the code. You can also add code to a rich text element: place your cursor, open the insert menu with the plus icon and click the custom code button.

For a notice on every page, turn your footer into a component. Webflow names navbars and footers as typical examples. A Code Embed inside this component appears wherever the component is used. Changes to the main component update every instance.

The script line can also sit in one central place: under Site settings → Custom code, in the “Footer code” section. Webflow then adds it before the closing </body> tag of every page and recommends this place for scripts, because the page loads its content first. For a single page, Page settings has a “Before </body> tag” section. The placeholder still has to be in the design.

Variants and model identifier in Webflow Ecommerce

Variants are created from up to three option sets per product, with a maximum of 50 variants per product. Webflow treats each variant as a separate product with its own fields, including SKU, price and image. Each variant also counts towards the item limit of your Site plan.

You add custom fields, for example for the addresses of the GARAN labels, in the settings of the Products Collection. Such a field belongs to the product. Important: according to Webflow, dynamic embeds using Ecommerce fields do not update based on the variant a visitor selects. A GARAN label taken from a product field therefore stays the same for all variants. If your variants have different model identifiers, create a separate product for each model. Each product page then shows the matching label.

Common pitfalls in Webflow

Further sources

According to the Commission’s guidelines, the notice should also appear in the confirmation email. You customise the order emails of Webflow Ecommerce in the Ecommerce settings under the email templates. 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, 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 Webflow as shown above.

Prefer your own files? Then upload the full and the nested version to the media library of Webflow 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

Can I see the widget in the Designer?

No, Webflow does not run embedded scripts in the Designer. Check the published site.

Does it also work without Webflow Ecommerce?

Yes. The widget works on any page with a Code Embed, such as an information page or the footer.

Can I use CMS fields?

Yes. In the Code Embed you can insert CMS fields via “Add Field”, for example the addresses of the GARAN labels in data-garan-voll and data-garan-klein.

Does the GARAN label change when a visitor selects a variant?

No. According to Webflow, dynamic embeds using Ecommerce fields do not update with the selected variant. If variants need different GARAN labels, create a separate product for each model.

Can I add the script line once for the whole site?

Yes. Under Site settings → Custom code, in the “Footer code” section, it applies to every page. The placeholder still has to be in the design where the notice should appear.

How do I get the notice on every page?

Turn your footer into a component and put a Code Embed inside it. Changes to the main component then apply to every instance on your site.

GARAN label done, for free.

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