Skip to content

product_option

The product_option object.

Properties

PropertyDescription
product_option.default_value_idIdentifier for the related default value record, or nil/empty when unavailable.
product_option.display_typePublic display type value.
product_option.has_valuestrue when this product option has values.
product_option.idUnique identifier.
product_option.nameName.
product_option.positionPosition/order index.
product_option.selected_valueBuyer-visible selected_value value for this product option.
product_option.valuesThe values.

Property list is generated from the storefront engine (ProductOptionDrop), so it always matches what your theme can use. Use {{ product_option | json }} only as a curated debug snapshot; it can omit lazy or otherwise public properties.