Descripción
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
conformsTometadata (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).
Instalación
- Upload the plugin folder to
/wp-content/plugins/or install via the WordPress Plugins screen - Activate the plugin through the Plugins screen
- Ensure WooCommerce is active (required dependency)
- Go to DPPBuilder Settings to configure issuer and display options
- Open any WooCommerce product and click “Generate DPP” to create the JSON passport and QR
FAQ
-
Does this plugin require WooCommerce?
-
Yes, DPPBuilder requires WooCommerce to be installed and activated. The plugin will display an error message if WooCommerce is not available.
-
Is this plugin fully compliant with the EU Digital Product Passport regulation?
-
Not yet — there is no fully compliant solution on the market either. The official EU DPP regulation and its JSON data format have not been finalized. DPPBuilder is designed for early adopters, developers, and businesses who want to start understanding and practicing how Digital Product Passports will work in WooCommerce. It currently follows the closest publicly available draft (UN/CEFACT UNTP DPP v0.6.1 pre-release) and will be updated to match the final standard once it is published.
-
Is the REST API endpoint public by default?
-
No. The public REST endpoint is disabled by default to respect privacy and WordPress.org guidelines. Admins can enable it in the plugin settings when needed.
Go to: DPPBuilder Settings General “Public REST Endpoint” to enable. The endpoint returns only passport data for the requested product and no personal data. -
Can I customize the passport schema?
-
Yes! Developers can hook into the
dppb_passport_generatedaction to modify the passport data before it’s stored. The plugin also provides filters for customizing the output. If you need deeper UNTP alignment, you can add additional UNTP terms while preserving existing keys for backward compatibility. -
Does this plugin work with existing WooCommerce products?
-
Yes, you can generate passports for existing products from the product editor using the “Generate DPP” button.
-
Can I display passports on my website?
-
Yes! Use the shortcode
[dppbuilder_view product_id="123"]on any page, or simply[dppbuilder_view]on a product page to automatically detect the current product. -
Does this plugin support multiple languages?
-
Yes, the plugin is fully internationalized and ready for translation. Translation files can be added to the
/languages/directory. -
What security measures are implemented?
-
The plugin includes comprehensive security features: nonce verification, capability checks, input sanitization, rate limiting for API endpoints, and protection against common vulnerabilities. All user inputs are validated and sanitized before processing.
-
Can I export passport data?
-
Yes, the plugin includes export functionality under DPPBuilder Tools for backing up or migrating your passport data.
Reseñas
No hay reseñas para este plugin.
Colaboradores y desarrolladores
«DPPBuilder – Digital Product Passports for WooCommerce» es un software de código abierto. Las siguientes personas han colaborado con este plugin.
Colaboradores«DPPBuilder – Digital Product Passports for WooCommerce» ha sido traducido a 3 idiomas locales. Gracias a los traductores por sus contribuciones.
Traduce «DPPBuilder – Digital Product Passports for WooCommerce» a tu idioma.
¿Interesado en el desarrollo?
Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.
Registro de cambios
1.0.3
- Version bump to 1.0.3 (no functional changes)
- Align header, constant, and readme stable tag
1.0.1
- Declared UN/CEFACT UNTP DPP JSON-LD context and
conformsTometadata (v0.6.1 pre-release) - Non-breaking additions only; existing keys and API remain unchanged
- Compliance updates for WordPress.org guidelines
- Removed generation limits and all upsell/licensing references
- Ensured plugin is fully functional and unlimited out of the box
1.0.0
- Initial stable release
- Complete passport generation
- Manufacturer and material management
- REST API endpoint
- Frontend viewer with shortcodes
- Comprehensive settings panel




