Skip to content
Log in

Membership - Liquid Object Reference

On this page

Description

A Membership represents an method of grouping Accounts to give them access to special pricing or products.

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

Backed by

This drop renders the s_c__Membership__c Salesforce object. A theme writes it as membership.

Liquid attribute Salesforce field
name s_c__Display_Name__c

Every other attribute on this drop is derived by StoreConnect rather than read straight from one field. The Attributes section lists them all.

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

Attributes

Attribute Type Description
accounts List[Account] Returns a list of Accounts belonging to this Membership
articles List[Article] Returns a list of Articles associated with this Membership
id String Returns the unique id for this Membership
name String Returns the value of the Name attribute
pages List[Page] Returns a list of Pages associated with this Membership
pricebook Pricebook Returns the Pricebook for this Membership
product Product Returns the main Product for this Membership
product_category ProductCategory Returns the Product Category for this Membership
products List[Product] Returns a list of Products for this Membership

Available on

Was this article helpful?

Was this article helpful?