TraitType - Liquid Object Reference - 1.0.0
Object Name | TraitType |
Version | 1.0.0 |
Description
The TraitType object defines a specific type of trait such as Width, Height, Colour, Size. This belongs to a TraitCategory and can have many TraitValues.
Attributes
Attribute | Type | Description |
---|---|---|
data | Object | Returns a custom data object for this object |
display_on_product_page? | Boolean | Indicates whether this TraitType should be displayed in specifications section on the product page. |
id | String | Returns the unique id of this TraitType |
name | String | Returns the name of the TraitType |
unit | String | Returns the unit for this TraitType, eg: centimetres, kilowatts |
value_type | String | Returns the value type for this TraitType, eg: number, currency, checkbox |
Objects that return TraitTypes
Back to Liquid Reference for 1.0.0
Back to Documentation