TraitType - Liquid Object Reference - 0.11.4

Object Name TraitType
Version 0.11.4

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
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 Object List

Back to Liquid Reference for 0.11.4

 

 
Back to Documentation