Skip to content
Log in

Location - Liquid Object Reference

On this page

Description

The Location object contains information about physical location 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 Account Salesforce object. A theme writes it as location.

Liquid attribute Salesforce field
email s_c__Location_Email__c
identifier s_c__Location_Path__c
meta_description s_c__Location_Meta_Description__c
meta_keywords s_c__Location_Meta_Keywords__c
meta_title s_c__Location_Meta_Title__c
name s_c__Location_Display_Name__c
phone s_c__Location_Phone__c
website s_c__Location_Website__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.data. See custom data fields in Liquid.

Attributes

Attribute Type Description
account Account Returns the Account that this Location is based on
categories List[ProductCategory] Returns a list of product categories that this Location can handle
city String Returns the city to be displayed in the location search
country String Returns the country to be displayed in the location search
distance_in_kilometers String Returns the distance from the search location in kilometers when the Location is a result of a location search
distance_in_miles String Returns the distance from the search location in miles when the Location is a result of a location search
email String Returns the email address to be displayed in the location search
id String Returns the unique id of this Location
identifier String Returns a unique identifier for this Location
info_content String Returns the value of the Info attribute as rich text
latitude Number Returns the latitude to be displayed in the location search
logo Image Returns the logo Image for this Location
longitude Number Returns the longitude to be displayed in the location search
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 name to be displayed in the location search
path String Returns the url path for this Location
phone String Returns the phone number to be displayed in the location search
postal_code String Returns the postal code to be displayed in the location search
state String Returns the state to be displayed in the location search
street String Returns the street address to be displayed in the location search
url String Returns the complete url for this Location
website String Returns the website address to be displayed in the location search

Available on

Was this article helpful?

Was this article helpful?