Skip to main content
The Attribute domain is owned by the Product Attribute module. This reference lists its data models and their fields. For the full module overview, see the Attribute module overview.

ProductAttribute

Table product_attribute, id prefix pattr. A typed catalog attribute. Relations: values (one-to-many ProductAttributeValue, deleted with the attribute).

ProductAttributeValue

Table product_attribute_value, id prefix pattrval. A selectable value that belongs to one attribute. Relations: attribute (belongs to ProductAttribute via attribute_id).
product_option_id on the attribute and product_option_value_id on the value are the foreign keys behind the read-only mirror links to Medusa’s product options. See Links.