Getting started with Pasporto
This guide walks you through activating Pasporto and presenting Digital Product Passport (DPP) data on your WooCommerce store.
Prerequisites
Section titled “Prerequisites”Before installing Pasporto, ensure your server meets these baseline requirements:
- WordPress: 6.5 or newer
- PHP: 8.1 or newer
- WooCommerce: 8.0 or newer
- Product editor: Classic product data metabox (the experimental block-based product editor is not currently supported)
Pasporto is a lightweight, zero-dependency plugin that makes no external network requests and loads no frontend JavaScript assets.
Installation and activation
Section titled “Installation and activation”- Download or install Pasporto through your WordPress administration panel (Plugins > Add New), or upload the plugin directory to
wp-content/plugins/pasporto. - Activate the plugin via the Plugins screen.
- Upon activation, Pasporto is active immediately with safe default settings:
- Passports enabled: on
- Display location: In its own product tab (priority 40)
No options need to be saved in the database before the plugin starts functioning.
Adding passport data to a product
Section titled “Adding passport data to a product”Pasporto attaches seven passport and sustainability fields directly to WooCommerce products:
- Open Products > All Products and click Edit on any published or draft product.
- In the Product data panel, stay on the General tab.
- Scroll down to the Digital Product Passport (DPP) section.
- Fill in the available passport fields:
- Unique Product ID (UPI / GTIN): The product’s global or passport identifier (e.g., GS1 Digital Link, GTIN, or EPC).
- Passport URL: The web address of the official digital passport hosted by the manufacturer, importer, or registry.
- Primary Material: The main material composition (e.g., “Organic cotton 80%, recycled polyester 20%”).
- Recycled Content (%): The percentage of recycled material (0 to 100).
- Carbon Footprint (kg CO2e): Declared greenhouse gas emissions per product unit.
- Circularity class (manufacturer-declared): Circularity rating if specified by the manufacturer (Not specified, A, B, C, D, or E).
- Declaration of Conformity (URL): Direct link to the EU declaration of conformity document.
- Click Update or Publish to save the product.
All seven values are stored together under the _pasporto_dpp_data post meta key.
Storefront display
Section titled “Storefront display”The passport section renders conditionally:
- When fields are filled: A clean table displays all non-empty properties. If a passport URL is specified, a prominent Open the product passport button links directly to the external passport in a new browser tab.
- When no fields are filled: The passport tab or summary section is omitted entirely. No empty tabs or blank tables appear on your storefront.
Verifying the output
Section titled “Verifying the output”- Visit the product on your live storefront.
- Verify that the Digital Product Passport (DPP) tab appears among the product tabs (or above the Add to Cart button if summary placement is chosen).
- Inspect the page source or test the URL with the Google Rich Results Test to confirm that Pasporto added the
identifierandadditionalPropertyitems to WooCommerce’s nativeProductschema.