Hi. How can we help?

Generating GARAN labels in eCom (C-Series)

Available to merchants selling to customers in the EU.

You are responsible for complying with all applicable laws and regulations. Consult with your own legal counsel for requirements governing your specific circumstances. Information provided in the help center is for general informational purposes only and should not be considered legal advice.

As of September 27, 2026, merchants selling to customers in the EU through an online shop are required to display the harmonized legal-guarantee notice on their website. If producers have shared information on certain commercial guarantees of durability they offer on products you sell, you are also required to display associated GARAN labels so customers can easily identify applicable products. Learn more on the European Commission’s website.

If your eCom back office Store country settings and shipping methods include EU countries, a link to the harmonized legal-guarantee notice will display in your online store and you can enable and automatically generate GARAN labels for applicable product variants. If you’re using a custom theme, you may need to update your theme code.

Viewing the harmonized legal-guarantee notice in your online store

As of September 27, 2026, stores selling to customers in the EU will display a link to the harmonized legal-guarantee notice on the:

  • Site footer

    Footer with Your legal guarantee rights link highlighted.

  • Checkout page

    Checkout page with the legal guarantee rights link highlighted.

    If you’re using a custom theme, you may need to update your theme code to add the legal-guarantee notice to your checkout page.

  • Receipt and email confirmation

Enabling GARAN labels on applicable product variants

To enable GARAN labels, eligible products must have a brand assigned on the product page. You’ll also need to enter the guarantee duration (in years) and model identifier information to generate the label.

To enable GARAN labels on eligible product variants in your shop:

  1. Navigate to Products and click an eligible product.
  2. Under Inventory and Variants, click Default or the applicable variant.

    A product page showing the Inventory and Variants section with Default variant listed.

  3. Toggle on GARAN eligible.

    Edit variant pop-up showing GARAN Compliance section with GARAN eligible toggled on.

  4. Enter the Guarantee duration (in years).
  5. Enter the Model identifier information.
  6. Click Save.

After enabling GARAN labels per product variant and entering the required information, eCom (C-Series) will automatically generate and display the label:

  • On the product page

    Product page with GARAN label highlighted.

  • As a nested label in the cart

    Cart page with nested GARAN label and associated product highlighted.

  • As a nested label on the checkout page

    Checkout page with nested GARAN label and associated product highlighted.

  • In the receipt and email confirmation

Enabling GARAN labels on applicable products in bulk

To enable GARAN labels on multiple products in bulk using a spreadsheet:

  1. Navigate to Products.
  2. Click Export > Export Products.
  3. At the bottom left corner of the screen, click Click here to view your export or navigate to Tools > Exports.
  4. On the right of the export row, click Download.
  5. Open the spreadsheet file and update the GARAN column information in the applicable product rows:
    1. Garan_Eligible: Enter Y.
    2. Garan_Duration: Enter the guarantee duration in years (numerical values only). For example, 2.
    3. Garan_Model_Identifier: Enter the model identifier information, for example, ABC-DE-1000.

      GARAN columns with example row in the spreadsheet file.

      Products must have a brand assigned in the Brand column to successfully import GARAN information.

  6. Export your spreadsheet as a CSV file.
  7. In the eCom back office, navigate to Tools > Imports > New Import.
  8. Follow steps to import your CSV file.
  9. Navigate to Products and click an eligible product.
  10. Under Inventory and Variants, click Default or the applicable variant.
  11. Confirm that GARAN eligible is toggled on and the Guarantee duration (years) and Model identifier information has been updated.

Updating custom theme code to include GARAN information

If you’re using the default theme for your eCom store, the legal-guarantee notice will automatically appear in your site's footer and GARAN labels will be generated for enabled product variants. If you're using a custom theme, you may need to update your theme code.

To verify if any theme code changes are needed:

  1. In your eCom back office, navigate to Home > Go to your online store.
  2. Verify that the legal-guarantee notice appears in the footer.

    Footer with Your legal guarantee rights link highlighted.

  3. Click a product where GARAN has been enabled and verify that the label appears on the product page.

    Product page with GARAN label highlighted.

If this information isn’t automatically enabled in your store, you or your developer may need to update your custom theme code.

Updating custom theme code to include GARAN labels on the product page

If the labels are not appearing on the product page where applicable variants have been enabled, add the GARAN label code to design/blocks/body.rain, near the end of <body>:

{{ product | garan_label }}

Because the GARAN label code is emitted at the bottom of the page, garan.js will try to relocate it using:

return [
'anchor_selector' => '#product_configure_form', // primary target
'fallback_selector' => '.product-price', // fallback
'insert_position' => 'before',
];

If neither selector exists in your theme’s product page code, the label will not appear on the page. Themes may name their product form and price elements differently, so the default #product_configure_form and .product-price selectors may not match your markup. You can either:

  • Keep relocation and expose a matching anchor (recommended): Add one of the default selectors, or wrap your existing markup, so a matching element exists on the product page. For example, adding <div class="product-price">…your price markup…</div> around your price / add-to-cart code in the product template, or ensuring your buy form carries the expected id: <form id="product_configure_form" …>…</form>
  • Place the label inline yourself: Render the label where you want it in your custom product page template, for example next to the price, using inline mode: {{ product | garan_label(true) }}. You’ll also need to remove the relocated emit ({{ product | garan_label }}) from blocks/body.rain on the product page so the label doesn’t appear twice.

Updating custom theme code to include the legal-guarantee notice

The legal-guarantee notice will be automatically added to your site’s footer. You may need to update your custom theme code to add the legal-guarantee notice to your checkout page:

  {% if has_garan_compliance() %}
   {% include 'pages/checkouts/shared/legal-guarantee-notice.rain' %}
  {% endif %}

Troubleshooting GARAN label issues in custom themes

  • If GARAN labels are not appearing anywhere, make sure your eCom back office Store country settings and shipping methods include EU countries and eligible product variants are enabled.
  • If GARAN labels are appearing in the cart but not the product page, relocation anchor or fallback selectors don’t exist in your theme. You’ll need to update your custom theme code and either keep relocation and expose a matching anchor (recommended) or place the label inline yourself. Learn more in the sections above.
  • If two labels are appearing on the product page, remove the relocated emit ({{ product | garan_label }}) from blocks/body.rain on the product page.
  • If GARAN labels are appearing at the bottom of the page, selectors were not matched, so garan.js left it in place. You’ll need to provide a matching anchor selector.
  • Longer values appearing condensed in the duration section of the label is expected, as values are scaled to fit the badge’s allocated duration field. No action is required. Optionally, you can update to two-character values to render the values in full size on the label.

Updating custom templates to include GARAN information

If you’ve customized any cart, checkout, account, or print templates, add the inline filter {{ product next to each line item’s product title in the template code:

  • design/pages/cart.rain
  • design/pages/checkout.rain
  • design/pages/checkouts/default.rain and .../default/review.rain
  • design/pages/checkouts/onepage/review.rain
  • design/pages/checkouts/onestep/review.rain
  • design/pages/express-review.rain
  • design/pages/print-cart.rain
  • design/snippets/account-sidebar.rain
  • design/snippets/checkout-confirm.rain

For example, in the cart line item:

<a href="{{ (product.url ~ '?id=' ~ product.vid) | url }}" class="gui-bold">{{ product.fulltitle }}</a>
{{ product | garan_label(true) }}

Was this article helpful?

0 out of 0 found this helpful