--- title: Add the EU legal guarantee notice to WooCommerce description: EU Regulation 2025/1960 requires a harmonised legal-guarantee graphic on product pages from 27 September 2026. A small plugin adds it to every product. source: https://steem.dev/blog/woocommerce-eu-legal-guarantee-notice-plugin published: 2026-09-09 updated: 2026-10-31 site: Steem — AI WordPress plugin generator --- # Add the EU legal guarantee notice to WooCommerce EU Regulation 2025/1960, which implements Directive 2024/825, requires anyone selling physical goods to consumers in the EU to show a harmonised legal-guarantee notice on product pages from 27 September 2026. The notice is a specific graphic published by the European Commission in all 24 official EU languages, and the official artwork is the only approved design. National consumer authorities enforce it from that date, with no transition period. WooCommerce has no setting for it, and the notice has to sit prominently near the product, not in a footer or buried in terms and conditions. The options are pasting it into every product description, which does not scale, or a small plugin that reads one setting and renders the graphic on every product page. This plugin does the second. Upload the official graphic once, choose where it appears, and it shows on every product. The GARAN durability label, which the same rules require only where a producer offers a voluntary durability guarantee beyond two years, is per-product data and not covered here. ## What one build covers - Settings page under WooCommerce to upload the official EU legal-guarantee graphic once for the whole store - Configurable display position on the product page: after title, after short description, before add-to-cart, or after meta - Site-wide display on every WooCommerce product page with no per-product exclusion toggle - No external dependencies, no front-end scripts, no third-party stylesheets loaded ## What it does not cover - Multi-language support: one image is stored, with no per-language switching for WPML or Polylang setups - The GARAN durability label: a per-product field tied to voluntary guarantees over two years, and a separate build - Automatic downloading or version-checking of the official EU Commission graphic - Legal advice on placement requirements or the interpretation of any national enforcement authority - Display on shop archive pages, the cart, or the checkout ## The prompt ```text Build a WordPress plugin that adds an EU legal guarantee notice to WooCommerce product pages. Add a submenu page under the WooCommerce admin menu called Legal Guarantee. On the settings page, register two options using the Settings API: eu_legal_guarantee_image_id (the attachment ID of the legal guarantee graphic, default 0) and eu_legal_guarantee_position (the display position, default after_meta). Render the settings page with a form that has: a hidden input for eu_legal_guarantee_image_id, a button labelled Select image that opens the WordPress media library via wp.media when clicked, a preview img tag at 200px wide showing the current image if an attachment ID is stored, and a Remove link that clears both the preview and the hidden input; plus a select input for eu_legal_guarantee_position with options labelled After product title, After short description, Before add-to-cart button and After product meta with corresponding values and priorities 6, 21, 29 and 41. Call wp_enqueue_media on that admin page and add an inline script that initialises the wp.media frame, handles the Select image button click to open the frame and write the chosen attachment ID into the hidden input and update the preview src, and handles the Remove link to clear both. On the front end, hook into woocommerce_single_product_summary at the priority stored in eu_legal_guarantee_position. In the callback, retrieve eu_legal_guarantee_image_id; if it is set and greater than zero and the attachment exists, output a div with class eu-legal-guarantee-notice containing wp_get_attachment_image with the stored ID and size medium. Enqueue no front-end scripts or styles. Register all hooks inside a function attached to plugins_loaded. ``` ## What the regulation actually requires The legal-guarantee notice is mandatory for every trader selling physical goods to EU consumers. It is a fixed graphic, the same across the bloc, reminding buyers of the two-year legal guarantee of conformity they already have. The Commission publishes the artwork free of charge in all 24 languages; you download the version for your store's language and display that image. It has to be prominent and near the product. A footer link or a mention on a legal page does not meet the requirement. The GARAN label comes from the same package but applies only when a producer offers a free durability guarantee longer than the statutory two years, which not every product has. Doing it properly needs a per-product field for the guarantee length and the producer's details, which is a different build from a site-wide notice. ## One image, one position, every product page Start by downloading the official graphic for your store's language. The official texts are on EUR-Lex under Regulation (EU) 2025/1960, and the Commission's consumer affairs pages link to the downloads. Upload it to the media library. WooCommerce > Legal Guarantee has two settings: an image picker that opens the media library, and a position, either after the title, after the short description, before the add-to-cart button, or after the product meta. After the meta is the default, visible without interrupting the purchase. The plugin hooks WooCommerce's product summary at that position and outputs the image, at the media library's medium size so it scales on mobile, in a container. No front-end scripts, no third-party stylesheets. There is deliberately no per-product switch. The notice is required for all physical goods sold to EU consumers, so an option to hide it on individual products would only create gaps. ## Single-language shops and agencies with many stores It suits WooCommerce stores selling physical goods to EU consumers that still have no notice in place: download the graphic in your language, upload it once, and it appears everywhere it needs to. For developers looking after client stores, it rolls out quickly across many sites. Activation takes a few minutes, and the only manual step per site is uploading the right language version of the graphic. ## Several languages, GARAN labels and legal advice A store running WPML or Polylang has to show the notice in the language the buyer is viewing, so each language needs its own graphic. This build holds one image and one position. A follow-up message can add a graphic per language that swaps with the active language, or the per-product GARAN fields (an enable checkbox, producer name and guarantee length) shown below the main notice. The regulation sets the standard; national bodies enforce it. If you are unsure how your authority reads the placement rules and your exposure is significant, take advice from someone qualified in your country's consumer law rather than relying on a plugin. ## Questions ### Where do I get the official EU legal guarantee graphic? The European Commission publishes it free of charge. The official texts and materials are on EUR-Lex under Regulation (EU) 2025/1960 and Directive (EU) 2024/825, and the Commission's consumer affairs pages link to the graphics in all 24 EU languages. Download your store's language version before setting up the plugin. ### Does the notice need to appear on the cart or checkout too? The regulation asks for prominent display near the product, and the plugin covers the product page. Cart and checkout are not part of the harmonised notice provisions, though national authorities can read placement differently, so check with a legal adviser if your exposure is significant. ### Is this plugin enough to comply? It handles the technical side: showing the graphic on product pages. Whether that satisfies your national authority depends on things a plugin cannot judge, including how prominent your chosen placement is, your product types and which language versions you uploaded. Treat it as the implementation, not as legal advice. --- Source: https://steem.dev/blog/woocommerce-eu-legal-guarantee-notice-plugin Build this plugin: https://steem.dev/app