Skip to content
Log in

LocationGroup - Liquid Object Reference

On this page

Description

The LocationGroup object is used to groups Locations that can be found via a locator, eg Store locator.

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

Backed by

This drop renders the s_c__Location_Group__c Salesforce object. A theme writes it as location_group.

Liquid attribute Salesforce field
identifier s_c__Path__c
meta_description s_c__Meta_Description__c
meta_keywords s_c__Meta_Keywords__c
meta_title s_c__Meta_Title__c
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 location_group.data. See custom data fields in Liquid.

Attributes

Attribute Type Description
active? Boolean Returns true if the LocationGroup is active
categories List[ProductCategory] Returns a list of product categories that the locations in this LocationGroup can handle
id String Returns the unique id of this LocationGroup
identifier String Returns a unique identifier for this LocationGroup
locations List[Location] Returns a list of Locations in this LocationGroup
meta_description String Returns the value of the Meta Description attribute
meta_keywords String Returns the value of the Meta Keywords attribute
meta_title String Returns the value of the Meta Title attribute
name String Returns the display name of this LocationGroup
path String Returns the url path for this LocationGroup
social_image Image Returns the image to be used when sharing this LocationGroup
url String Returns the complete url for this LocationGroup

Available on

Was this article helpful?

Was this article helpful?