
內容簡介
總結: DPPBuilder 是一個針對 WooCommerce 產品設計的數位商品護照創建外掛,旨在幫助符合歐盟數位商品護照規範並提供全面的產品可追溯性。該外掛無需訂閱、API 金鑰或外部服務。
問題: 以下為 DPPBuilder 的主要功能,可以產生哪些不同類型的證書和代碼?
答案:
- 一鍵護照生成 - 從 WooCommerce 產品編輯器中,按需生成 JSON 數位商品護照
- 人類可讀產品頁面 + QR 碼 - 創建產品 DPP 頁面和一個連結到它的 QR PNG;在商店中的任何地方添加 QR 碼
- REST API 存取 - 選擇性公共端點(默認已停用)以檢索護照數據:/wp-json/dppbuilder/v1/passport/{product_id}
- 製造商目錄 - 添加/搜索製造商、設置標識和位置,並顯示國旗;與產品關聯
- 材料和組成 - 創建自訂材料,搜索並將其與產品關聯以透明地顯示成分數據
- 全面的產品數據 - 支持 GTIN、製造詳細信息、批次、起源、保修等
- JSON-LD(產品)輸出 - 選擇性架構輸出以增強結構化數據的 SEO
- UN/CEFACT UNTP 對齊 - 包括 UNTP DPP JSON-LD 上下文和 conformsTo 元數據(v0.6.1 預發布)以進行最接近的對齊
- 無需外部服務
外掛標籤
開發者團隊
② 後台搜尋「DPPBuilder – Digital Product Passports for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
DPPBuilder creates Digital Product Passports for your WooCommerce products, designed to help with EU Digital Product Passport requirements and providing comprehensive product traceability. The JSON output includes Schema.org Product markup and the UN/CEFACT UNTP DPP context to facilitate early interoperability.
This plugin is fully functional and unlimited. No subscriptions, API keys, or external services are required.
Disclaimer: The official EU Digital Product Passport (DPP) regulation and its JSON data format have not been finalized at the time of this plugin’s release. This plugin is intended for early adopters and developers who want to begin practicing and preparing for DPP implementation in WooCommerce. It uses the closest publicly available draft — the UN/CEFACT UN/Transport & Logistics Programme (UNTP) DPP v0.6.1 pre-release — and follows current best practices for early interoperability. Once the official specification is published, DPPBuilder will be updated to reflect it.
Key Features:
One‑Click Passport Generation – From the WooCommerce product editor, generate a JSON Digital Product Passport on demand
Human‑Readable Product Page + QR Code – Create a product DPP page and a QR PNG that links to it; add the QR anywhere in your store
REST API Access – Opt-in public endpoint (disabled by default) to fetch passport data: /wp-json/dppbuilder/v1/passport/{product_id}
Manufacturers Directory – Add/search manufacturers, set logos and locations, and display country flags; associate with products
Materials & Compositions – Create custom materials, search and relate them to products for transparent composition data
Comprehensive Product Data – Support for GTIN, manufacturing details, batches, origin, warranty and more
JSON‑LD (Product) Output – Optional schema output to enhance SEO with structured data
UN/CEFACT UNTP Alignment – Includes UNTP DPP JSON-LD context and conformsTo metadata (v0.6.1 pre-release) for closest-available alignment
No External Services – Works entirely within your site; no accounts, no external APIs required
WooCommerce Ready – Compatible with modern Woo features (including HPOS)
Perfect for:
* E-commerce businesses needing EU compliance
* Companies wanting to improve product transparency
* Sustainability-focused brands
* Manufacturers requiring detailed product traceability
Usage
Generate a Passport:
Open any WooCommerce product
Click the “Generate DPP” button in the DPP section
The plugin creates a JSON passport and stores it; a QR image can be generated to link to the readable page
Display a Passport:
[dppbuilder_view product_id="123"]
On a Product Page (auto-detect):
[dppbuilder_view]
WP-CLI:
WP-CLI commands are not currently included in this plugin release.
REST API:
GET /wp-json/dppbuilder/v1/passport/{product_id}
Developer Hooks:
php
// Modify passport data before storage
add_action('dppb_passport_generated', function($product_id, $passport) {
// Custom modifications here
}, 10, 2);
Support
For user support, feature requests, and bug reports, please use the official WordPress.org support forum for this plugin:
https://wordpress.org/support/plugin/dppbuilder/
We monitor the forum and respond as promptly as possible. Documentation and product information are also available on our website.
System Requirements:
* WordPress 6.0 or higher
* PHP 7.4 or higher
* WooCommerce 7.0 or higher
* MySQL 5.6 or higher
* PHP GD extension (required for QR PNG generation)
Recommended:
* WordPress 6.5 or higher
* PHP 8.0 or higher
* WooCommerce 9.0 or higher
Privacy
This plugin does not collect personal data by default. When the public REST API is enabled in settings, the plugin may use an IP-derived, salted transient key to rate-limit anonymous requests. No raw IP addresses are stored. You can disable public access and/or rate limiting in the plugin settings at any time. QR codes are generated locally; no external QR APIs are contacted.
Third‑Party Libraries
This plugin bundles the following third‑party component:
PHP QR Code – Open source QR code generation library used to create PNG QR images for the DPP page link.
Project page: https://phpqrcode.sourceforge.net/
License: LGPL (see includes/vendor/PHPQRCODE-LICENSE.txt)
Included file: includes/vendor/phpqrcode.php (merged single‑file distribution)
Country flag images in assets/images/country-flags/ are derived from the
hampusborgos/country-flags project and are Public Domain (PD) as documented by
that project. For details, see:
Source repository: https://github.com/hampusborgos/country-flags
Local license file: assets/images/country-flags/LICENSE.txt
Notes:
* The original sources are SVG; in this plugin they were converted to PNG for
better security characteristics and smaller file size.
* Per the source project’s README, flags as symbols are not under copyright
protection (there may be other restrictions on use in some jurisdictions).
