Skip to main content

Concepts

Product- & variant-level fields

Some fields have a value on both the product- and variant level. E.g. weight exists on both products and variants. This is because sometimes you wish to define a value "for the entire product", but override it on individual variants. The way it works is that if the field on the variant is null that means the value on the product should be used.

Examples

No variant level definition

Product item number 1234 weight is 100g Variant SKU 1234-XS weight is null

The weight of SKU 1234-XS is then 100g since it inherits its weight from the product value

Variant level definition

Product item number 1234 weight is 100g Variant SKU 1234-XS weight is 75g

The weight of SKU 1234-XS is then 75 since it takes presedence over the product level value