Properties

Overview

Below is a list of all the available drops on the <insert name here> object


PropertiesDrop

Name Description
all Array with PropertyDrop(s)
property_name PropertyDrop

 

PropertyDrop

Name Description
id The id of the property
name Name of the property
presentation Presentation for the property
property_type The type of property
measurement_unit The measurement unit of the property
measurement? Boolean. Does measurement exist?
values

Array <PropertyValueDrop>

option_category

An OptionCategoryDrop


 

PropertyValueDrop

Name Description
id The id of the property value
name The name of the property value
value The value itself of the property value
presentation Presentation of the property value
number The number of the property value
numeric? Boolean. Is there a numeric?

 

ProductPropertyDrop

Name Description
id ID of the product property
name Name of the product property
presentation Presentation of the product property
property_type The type of product property
measurement_unit The measurement unit of the product property
measurement? Boolean. Is there a measurement?
numeric? Boolean. Is there a numeric?
values Array <ProductPropertyValueDrop>. Variant values if variant, otherwise all product values.
default_values Array <ProductPropertyValueDrop>. Variant values are not included.
variant_values Array <ProductPropertyValueDrop>. Current variant values

 

ProductPropertyValueDrop

Name Description
id ID of the product property value
name Name of the product property value
value Value of the product property value
presentation Presentation of the product property value
number Number of the product property value
numeric? Boolean. Is there a numeric?
product_id The product id of the product property value
variant_id The variant id of the product property value
property_id The property id of the product property value
property_value_id The property value id of the product property value
position The position of the product property value

 

 


Snippet

If you want to access the value of the product's property vikt (for example), then you can use the following snippet/format. Change the word vikt to the property of your choice.
{{ product.property_Vikt.value }}

 

Updated: 2022-09-02