Database Reference

The Digital Product Passport model is deliberately small: a passport belongs to a Magento product and a Store View.

Relationship Why it matters
dpp_passport belongs to one catalog_product_entity Connects passport content and identifiers to the product they describe.
dpp_passport belongs to one store Allows passport content and publication state to vary by Store View.
dpp_passport declares a unique key on (product_id, store_id, batch_id, serial_number) The nullable batch and serial columns mean this key does not prevent every duplicate involving NULL. The product-save workflow looks up an existing record before saving; the repository does not perform an automatic upsert.
dpp_template (unique code) stores schema_definition Defines the field structure a passport template expects — the template's structure JSON and its validation schema are different artifacts.

Passport status values are draft, active, published and archived. Draft and active are editable working states; published makes the record visible to the public/anonymous endpoints; archived retires it.

The product form handles schema validation, completeness calculation, status selection, version updates and publication timestamps. Integrations that save through the repository must handle these steps themselves and load the intended record before updating it. If both identifiers are empty and no model-level record exists, saving through the product form can reuse the most recently updated passport for that product and store.

Display preferences

Adjust how this website is displayed. Changes apply immediately.

Text size
Text spacing
Reading aids

Follows the pointer. Move it with Alt + Up/Down outside input fields. Hidden while a dialog is open.

Uses the voices provided by your browser, which may use an online service. Reading starts only when you press Read aloud.

Your choices are saved in this browser for this website.