Skip to content
Log in

Trait - Liquid Object Reference

On this page

Description

The Trait object defines an individual trait for a Product.

:::note This object supports custom data via the data attribute. :::

Backed by

This drop renders the s_c__Trait__c Salesforce object. A theme writes it as trait.

Fields you add yourself are not listed above. Expose one with a Custom Data Mapping record, then read it from trait.data. See custom data fields in Liquid.

Attributes

Attribute Type Description
id String Returns the unique id for this Trait
name String Returns the name of the Trait
position String Returns the position of the Trait
trait_category TraitCategory Returns the TraitCategory this Trait belongs to
trait_type TraitType Returns the TraitType this Trait belongs to
unit String Returns the unit for the Trait
value String Returns the value for the Trait
value_type String Returns the value type for this Trait

Available on

Was this article helpful?

Was this article helpful?