Show Safety Information and the Passport on Your Product Pages
One line in your shop shows each product's safety information and a link to its passport. Free on every plan.
Every productLast updated 20 November 2026
Quick Answer
Paste one line of code into your shop's product page template. It shows each product's safety information and a link to its passport, found by GTIN or SKU. Free on every plan.
Paste one line into your shop, once. On every product page it shows a small box with the product's safety information and a link to its Digital Product Passport. You set it up once for the whole shop, not per product.
What shoppers see
A box below the add-to-cart button, in your shop's own font and colours:
- Product safety information as the title
- Manufacturer: name, postal address and email or website
- Responsible person in the EU: only when the manufacturer is outside the EU
- Product identifiers, such as the GTIN
- Safety information: your warnings, in the page's language when the passport has that language
- View the Digital Product Passport ↗, which opens the passport page in a new tab
- A small "Digital Product Passport by PassportLoop" line, following the same rule as on your passport pages
There is no QR code in the box: shoppers are already online, so the link is enough. QR codes are for the label on the product itself.
A passport without safety details (manufacturer, responsible person or warnings) gets a box titled Digital Product Passport with only the link.
Do I need this?
For consumer products sold online in the EU, Article 19 of the General Product Safety Regulation, Regulation (EU) 2023/988 (applies since 13 December 2024), says what the offer must show: the manufacturer, the EU responsible person when the manufacturer is outside the EU, information to identify the product, and warnings or safety information. The box shows exactly that, from your published passport. Products sold only to businesses are outside this rule; you can still use the box to link to their passports.
Add it to your shop
- Open a published passport and go to the Product page tab.
- Copy Your shop's line. It is the same for every product, so you only do this once.
- Paste it into your shop, as below for your platform.
WooCommerce (WordPress)
- In WordPress, go to Plugins, Add New, search for WPCode (or Code Snippets), install and activate it.
- Go to Code Snippets, Header & Footer.
- Paste the line into Footer and save.
Using Elementor for your product pages? You can instead add an HTML widget to your single product template and paste the line there.
Shopify
- Go to Online Store, Themes, then ... next to your theme, Edit code.
- Open layout/theme.liquid.
- Paste the line just before
</body>and save.
Other shops
Paste the line anywhere in your product page template, or ask your web person: "Please add this one line to our product page template."
How it finds the right passport
On each product page the box looks for the product's GTIN or SKU in the page: in the product data most shops add for search engines, or in WooCommerce's SKU line. It then shows the matching published passport. Products without a published passport show nothing. Under Product page you can see which GTIN and SKU each passport is found by.
Choose the place (optional)
By default the box appears below the add-to-cart button. To put it somewhere else, paste this where you want it:
<div id="passportloop-dpp"></div>
If your product pages show no GTIN or SKU, add it to that line, for example <div id="passportloop-dpp" data-sku="LAMP-01"></div>. The older passportloop-gpsr name still works.
Or paste the box itself
Some shops prefer no script, or want the information in the page source (people with scripts switched off and some search engines do not see content added by a script). Under Product page, open Prefer no script? Paste the box as HTML, copy it and paste it into the product description. Copy it again after you publish a new version.
Good to know
- Changes show on your shop within about 5 minutes after you publish, hide or move a passport to the bin.
- The box sets no cookies and sends nothing about your visitors.
- Later, the PassportLoop plugin for WooCommerce will add the box without any code, with a
[passportloop-dpp]shortcode to place it. - The box shows the information from your passport. Checking that your product pages meet the rules stays with you. This guide is not legal advice.
Sources
The rules and official pages this guide mentions. Each date is in the text where it is used.
Need a Hand?
Contact support and tell us what you see; we answer by email. In the app, Help and guides and the guide links open these pages.

