Linux 软件免费装
Banner图

Digital Product Passport for WooCommerce

开发者 aosdigital
更新时间 2026年9月11日 06:19
PHP版本: 8.0 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce qr code sustainability digital product passport espr

下载

1.6.3

详情介绍:

Digital Product Passport for WooCommerce adds the product data the EU Ecodesign for Sustainable Products Regulation (ESPR / EU 2024/1781) asks for, and publishes it three ways: as a passport people can open on the product page, as a QR code that links to it, and as JSON-LD a machine can read through the REST API. Starting in 2025, the ESPR regulation requires many product categories sold in the EU to carry a Digital Product Passport covering sustainability, material composition, repairability, and end-of-life information. This plugin helps you meet those requirements today. Key Features Passport Data Fields Identity & Traceability Free add-on Nothing in this plugin is locked or limited. Everything described above works, for every product, with no key and no account. A separate add-on, also free, adds work that only larger catalogues need. It is a second plugin you download from us; this one does not change when you install it, it simply finds it:

安装:

  1. Upload the plugin to /wp-content/plugins/digital-product-passport-for-woocommerce/ or install via the WordPress plugin directory
  2. Activate through the Plugins menu
  3. Ensure WooCommerce 8.0+ is installed and active
  4. Navigate to any product edit page — a Digital Passport tab appears in the product data panel
  5. Fill in at least the manufacturer name and save
Requirements

屏幕截图:

  • Frontend modal showing full passport with QR code
  • Material composition grid with recycled content column
  • Settings page — display mode, REST API, and the sidebar pointing to the free add-on
  • REST API JSON-LD response in browser
  • Mobile bottom-sheet view of the passport modal

升级注意事项:

1.5.0 Recommended update: fixes a fatal activation error in the Pro add-on and resolves all Plugin Check compliance issues. 1.2.0 Major update: new ESPR fields, new QR code provider, completeness score, display mode settings. Review your passport data after upgrading.

常见问题:

Is this plugin GDPR compliant?

All passport data stays in your WordPress database, and the plugin contacts no external service at all — QR codes are generated on your own server. No analytics, no telemetry, nothing sent anywhere. Whether your site as a whole is GDPR compliant depends on the rest of it, but this plugin adds no data flow you would have to declare.

Does it work with variable products?

Yes. Each product (including variations) can have its own complete passport. HPOS and legacy order storage are both supported.

How are QR codes generated?

Inside the plugin, with no network request. The encoder writes the symbol as SVG and stores it in your uploads folder so the work is done once per product. Addresses longer than 213 characters do not fit a version 10 symbol; there you get a visible note instead of an unreadable code.

Can I customize the display?

Yes. Use the display_position setting to choose between a modal button or an inline product tab. CSS custom properties (--dpp-primary, --dpp-radius, etc.) let you restyle without editing plugin files. The add-on adds PDF branding options.

What shortcodes are available?

  • [dpp_button] — renders the "View Passport" button
  • [dpp_passport] — renders the full passport inline
  • [dpp_qr_code] — renders the product's QR code
All shortcodes accept a product_id attribute. When omitted, the current product is used.

Is the REST API public?

GET requests to /wp-json/dpp/v1/passport/{id} are public by default (configurable in settings). The API returns JSON-LD with Cache-Control and X-Robots-Tag: noindex headers.

Does it support HPOS?

Yes. The plugin explicitly declares custom-order-tables compatibility, so it works whether you use HPOS or the legacy posts table.

How does the completeness score work?

Ten key fields are checked (manufacturer name, GTIN, country, CO₂, energy class, materials, recyclability, repair index, warranty, compliance). Each filled field adds weight to the score displayed as a progress bar in the product panel.

更新日志:

1.6.3 1.6.2 1.6.1 1.6.0 1.5.6 1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.5.0 1.4.0 1.2.0 1.0.0