GARAN Guarantee Label
Module: Magenx_GaranGraphQl
From 27 September 2026, EU law (Directive (EU) 2024/825 and Implementing Regulation (EU) 2025/1960) requires two things from shops selling goods to EU consumers:
- The harmonised legal-guarantee notice: every shop must show it.
- The GARAN durability label: required wherever a producer offers a free commercial guarantee of durability over the whole product for more than two years.
This module serves both to the storefront: the official notice in the store’s language, and a label per product rendered onto the official artwork. The order-confirmation email can include them too.

Product data
Section titled “Product data”Install adds an EU GARAN Guarantee attribute group to every product:
| Attribute | Rule |
|---|---|
| Brand | Must fit the label’s brand field. |
| Model identifier | Must fit on one line with the brand. |
| Guarantee duration (years) | Whole or half years, more than 2 and at most 99. 4,5 is accepted. |
| Guarantee terms URL | An absolute http(s) URL. |
A label appears only when all four have valid values, from the product itself, its configurable parent, or the fallbacks in configuration. Values that don’t fit are refused when the product is saved, and checked again when read, because imports and mass updates skip the save checks.
Set up
Section titled “Set up”- Go to Stores > Configuration > Magenx > EU Guarantee Notice & GARAN Label. Everything is off by default.
- Turn on the module and choose the notice language (24 official versions; empty uses the store locale, then English).
- Exclude product types that aren’t goods, such as gift cards and downloads.
- To show GARAN labels, turn them on and set the brand, model and terms URL fallbacks.
- Fill the GARAN attributes on products with a durability guarantee.
- Choose how the order email carries the notice and labels: not at all, inline, or as PNG attachments. You can also attach the producer’s terms PDF.
Requirements
Section titled “Requirements”- PHP
gdwith FreeType. It checks that brand and model fit the label and renders the label images. Without it no label is served.
Install
Section titled “Install”composer require magenxcommerce/module-garan-graph-qlbin/magento module:enable Magenx_GaranGraphQlbin/magento setup:upgradebin/magento setup:di:compile # production mode onlybin/magento cache:flush- PHP
~8.4.0||~8.5.0, Magento 2.4.8. - Source code of
Magenx_GaranGraphQl: github.com/magenxcommerce/module-garan-graph-ql
Configuration
Section titled “Configuration”Stores > Configuration > Magenx > EU Guarantee Notice & GARAN Label
Legal Guarantee Notice
EU harmonised notice on the legal guarantee of conformity and EU GARAN label (Implementing Regulation (EU) 2025/1960, applicable from 27 September 2026). Where they appear is decided by the storefront. This module does not constitute legal advice.
| Setting | Default | Scope | Notes |
|---|---|---|---|
Enablemagenx_garan/ | No | Store view | Yes/No. Kill switch: "No" makes the garanNotice query and every GARAN field return null and removes the email additions for this scope. |
Notice Languagemagenx_garan/ | empty | Store view | Dropdown. Shown when Enable = Yes. Selects which of the 24 official notice versions and which Your Europe link are served. Empty follows the store locale, then English. |
Product Types Without Legal Guaranteemagenx_garan/ | virtual,downloadable,giftcard | Store view | Multiple select. Shown when Enable = Yes. Non-goods such as gift cards or downloads: they never get a GARAN label, and Cart.garan_notice_required and the email notice ignore them. |
EU GARAN Label
Only for products whose producer offers a commercial guarantee of durability free of charge, for the entire good and for more than two years. Maintain the duration on the product (group "EU GARAN Guarantee"); brand, model identifier and terms URL can come from the settings below. A variant without its own values inherits them from its configurable parent.
| Setting | Default | Scope | Notes |
|---|---|---|---|
Enable GARAN Labelmagenx_garan/ | No | Store view | Yes/No. Needs the notice to be enabled too. "No" makes garan_label / garan_labels return null and stops the order item snapshot. |
Brand Comes Frommagenx_garan/ | garan_attribute | Store view | Dropdown. Shown when Enable GARAN Label = Yes. A brand maintained on the product always wins. Brand and model identifier share one line on the label: a value that is too long is rejected, not shrunk, and the product then shows no label at all. |
Brand Product Attributemagenx_garan/ | empty | Store view | Dropdown. Shown when Enable GARAN Label = Yes, Brand Comes From = product_attribute. Read for products without their own GARAN brand; select attributes resolve to their option label. |
Brandmagenx_garan/ | empty | Store view | Text. Shown when Enable GARAN Label = Yes, Brand Comes From = config_value. Printed on the label of every product without its own GARAN brand. |
Model Identifier Comes Frommagenx_garan/ | garan_attribute | Store view | Dropdown. Shown when Enable GARAN Label = Yes. A model identifier maintained on the product always wins. Careful with "Product name": most names are too long for the label line shared with the brand, and a value that does not fit means no label at all. |
Guarantee Terms URLmagenx_garan/ | empty | Store view | Text. Shown when Enable GARAN Label = Yes. Used for every product without its own URL. Full http:// or https:// address in the store view language; without any URL no label is served. |
Order Confirmation Email
Magento still sends the order confirmation in a headless setup, so the notice, the labels and the guarantee terms travel with it.
| Setting | Default | Scope | Notes |
|---|---|---|---|
Legal Guarantee Noticemagenx_garan/ | no | Store view | Dropdown. "Inline" puts the notice graphic below the items; "As a file attachment" sends it as a PNG instead, readable in clients that block remote images. |
GARAN Labelsmagenx_garan/ | no | Store view | Dropdown. Labels come from the snapshot taken at order placement. "As a file attachment" sends one PNG per labelled item, named after its SKU. |
Attach Guarantee Termsmagenx_garan/ | No | Store view | Yes/No. The guarantee statement must reach the consumer on a durable medium at the latest at delivery (Art. 17(2) Directive (EU) 2019/771); a link to a website is not sufficient (CJEU C-49/11). Attached only to orders with at least one GARAN-labelled item. |
Guarantee Terms File (PDF)magenx_garan/ | empty | Store view | File. Shown when Attach Guarantee Terms = Yes. One document per store view. It must name the goods it covers, e.g. "applies to all products of brand X carrying the GARAN label". |
Attachment File Namemagenx_garan/ | guarantee-terms.pdf | Store view | Text. Shown when Attach Guarantee Terms = Yes. Name the customer sees in the email. Leave empty for the uploaded file name. |
Admin permissions
Section titled “Admin permissions”Grant these under System > Permissions > User Roles > Role Resources:
| Resource | Under | ID |
|---|---|---|
| EU Guarantee Notice & GARAN Label | Stores > Settings > Configuration | Magenx_GaranGraphQl::config |
GraphQL
Section titled “GraphQL”ProductInterface.garan_label and CartItemInterface.garan_labels are resolved for a whole list at once. Order items read a copy saved with the order, so the label an order was sold with never changes.
Label image URLs point at PNGs rendered on first request. When an image URL is null, show alt_text. Any error returns null and is logged; it never breaks a product or cart query.
Queries
garanNotice: GaranNoticeThe official EU harmonised notice on the legal guarantee of conformity (Implementing Regulation (EU) 2025/1960, Annex I) in the store's notice language. Null when the notice is disabled for the store.
Fields added to Magento types
| Field | Type | Description |
|---|---|---|
ProductInterface.garan_label | GaranLabel | The EU GARAN label of this product. A variant without own values inherits its configurable parent's. Null when the product has no qualifying producer guarantee or the label is disabled. |
CartItemInterface.garan_labels | [GaranLabel!] | GARAN labels of the simple products behind this line: the item itself, the selected variant, or every bundle child. Empty when none qualifies; null when the label is disabled. |
OrderItemInterface.garan_labels | [GaranLabel!] | GARAN labels frozen on this item when the order was placed. Empty when none applied; null when the module is disabled. |
Cart.garan_notice_required | Boolean | True when the legal guarantee notice belongs next to this cart: the notice is enabled and at least one line is not an excluded product type. |
Types
type GaranNotice - The harmonised legal guarantee notice. The artwork must be shown unmodified; only its size and language may change.
| Field | Type | Description |
|---|---|---|
language | String! | ISO 639-1 code of the official language version served, e.g. `de`. |
svg_url | String! | Absolute URL of the official notice SVG. Render it at least 420 CSS px wide so its QR code stays at least 2 x 2 cm. |
png_url | String! | Absolute URL of the official notice PNG (1654 x 2339 px), for contexts that cannot show SVG. |
link_url | String! | Your Europe link target, identical to the QR code destination. Show it as a clickable link next to the notice. |
link_label | String! | Link text as printed on the notice, e.g. `europa.eu/youreurope/garantien`. |
alt_text | String! | Alternative text of the notice image, translated to the store locale. |
excluded_product_types | [String!]! | Product type ids that carry no legal guarantee notice (gift cards, downloads). |
type GaranLabel - The EU GARAN label of a producer's free commercial guarantee of durability over more than two years (Implementing Regulation (EU) 2025/1960, Annex II).
| Field | Type | Description |
|---|---|---|
sku | String! | SKU of the simple product the label belongs to. |
product_name | String! | Name of the simple product the label belongs to; differs from the line name for bundle children and variants. |
brand | String! | Brand printed on the label. |
model_identifier | String! | Model identifier printed on the label. |
duration_years | Float! | Guarantee duration in years: whole or half years, more than 2. |
formatted_duration | String! | Duration as printed on the label, e.g. `5` or `4,5`. |
terms_url | String! | The producer's guarantee terms. Link it next to the label. |
image_url | String | Absolute URL of the full label PNG (539 x 567 px), rendered onto the official artwork and cached. Null when it cannot be rendered; show alt_text then. |
nested_image_url | String | Absolute URL of the compact nested-display label PNG (737 x 113 px), meant as the trigger that opens the full label. Null when it cannot be rendered. |
alt_text | String! | Accessible text carrying all label information, translated to the store locale. |
info_url | String! | The Commission's information page on the GARAN label. Link it next to the label. |