WordPress/WooCommerce plugin for generating and publishing Digital Product Passports (DPP) compliant with the EU Ecodesign for Sustainable Products Regulation (ESPR).
Official integration by Verhant — the European platform for DPP generation and management.
This plugin connects your WooCommerce store to Verhant, enabling you to:
- Import your product catalog to Verhant with one click
- Generate ESPR-compliant Digital Product Passports on the Verhant platform
- Export DPP links back to WooCommerce and attach them to product pages automatically
- Display a branded DPP badge on each product page, linking customers to the full passport
- Monitor DPP status for every product directly from the WordPress admin
The Ecodesign for Sustainable Products Regulation (ESPR) is an EU regulation requiring many product categories to carry a Digital Product Passport — a standardized digital record containing information about a product's composition, origin, repairability, recyclability, and environmental impact.
ESPR applies to: textiles, footwear, furniture, electronics, batteries, tyres, and more categories being added progressively.
| Requirement | Version |
|---|---|
| WordPress | 6.0+ |
| WooCommerce | 7.0+ |
| PHP | 8.0+ |
You also need a Verhant account (free tier available).
- Go to Plugins → Add New in your WordPress admin
- Search for "Verhant DPP"
- Click Install Now, then Activate
- Go to WooCommerce → Verhant DPP and enter your API token
- Download or clone this repository
- Upload the contents to
/wp-content/plugins/verhant-dpp/ - Activate through the Plugins screen
- Configure at WooCommerce → Verhant DPP
- Get your API token from verhant.com/settings/api
- Go to WooCommerce → Verhant DPP in your WordPress admin
- Paste the token and click Save Settings
- Click Verify Connection to confirm it works
Go to WooCommerce → Verhant Sync and click Start Import. All published WooCommerce products will be sent to Verhant with their name, description, SKU, barcode, categories, and images.
Product categories are automatically mapped to Verhant verticals:
| WooCommerce Category | Verhant Vertical |
|---|---|
| Clothing, Apparel, Fashion | Textiles |
| Shoes, Footwear | Footwear |
| Furniture, Home | Furniture |
| Electronics, Tech | Electronics |
| Batteries | Batteries |
| Tires, Tyres | Tyres |
After Verhant generates your DPPs, go to Verhant Sync and click Start Export. DPP links are saved to each product and a badge appears on the product page automatically.
Enable "Automatically sync when you save a WooCommerce product" on the Sync page. Every time you create or update a product, it will be sent to Verhant automatically.
Once a product has a DPP link, a badge is displayed after the product summary:
Digital Product Passport ESPR compliant
The badge links to the full DPP on Verhant. You can customize its appearance with CSS targeting the .verhant-dpp-badge class.
A DPP column is added to the WooCommerce products list showing:
- ✓ Generated — DPP is ready and linked
- ○ Pending — Product synced, DPP in progress
- — Not synced — Product not yet sent to Verhant
├── verhant-dpp.php # Main plugin file (header + bootstrap)
├── readme.txt # WordPress.org readme
├── uninstall.php # Cleanup on uninstall
├── LICENSE # GPL-2.0
├── includes/
│ ├── class-verhant-api.php # HTTP client for api.verhant.com
│ ├── class-verhant-admin.php # Admin pages, settings, AJAX handlers
│ ├── class-verhant-sync.php # Import/export logic
│ └── class-verhant-dpp.php # DPP badge + admin column
├── admin/
│ ├── views/
│ │ ├── settings-page.php # Settings page template
│ │ └── sync-page.php # Sync page template
│ └── assets/
│ ├── verhant-admin.js # Vanilla JS for AJAX
│ └── verhant-admin.css # Admin styles
├── languages/
│ ├── verhant-dpp.pot # Translation template
│ ├── verhant-dpp-it_IT.po # Italian
│ ├── verhant-dpp-de_DE.po # German
│ ├── verhant-dpp-fr_FR.po # French
│ └── verhant-dpp-es_ES.po # Spanish
└── assets/
└── verhant-logo.svg # Logo
The plugin ships with translations for:
- 🇮🇹 Italian
- 🇩🇪 German
- 🇫🇷 French
- 🇪🇸 Spanish
To generate the .pot template:
wp i18n make-pot . languages/verhant-dpp.pot --domain=verhant-dpp- All forms protected with WordPress nonces
- All inputs sanitized (
sanitize_text_field,esc_url_raw) - All outputs escaped (
esc_html,esc_attr,esc_url) - Capability checks (
manage_woocommerce) on every admin page and AJAX endpoint - API token stored securely, never exposed in frontend HTML
- All API communication over HTTPS
- No customer or order data is ever sent to Verhant — only product catalog data
This plugin sends product catalog data only (name, description, SKU, barcode, categories, images) to the Verhant API at api.verhant.com. No customer data, order data, or personal information is transmitted.
See the Verhant Privacy Policy for details on how product data is processed.
See DEVELOPMENT.md for local setup, testing, and WordPress.org submission instructions.
Copyright (c) Verhant — verhant.com