BookableLocation - Liquid Object Reference
On this page
Description
The BookableLocation object contains information about a location for a BookableEvent.
:::note
This object supports custom data via the data attribute.
:::
Backed by
This drop renders the s_c__Bookable_Location__c Salesforce object. A theme writes it as bookable_location.
| Liquid attribute | Salesforce field |
|---|---|
address1 |
s_c__Address1__c |
address2 |
s_c__Address2__c |
city |
s_c__City__c |
name |
s_c__Display_Name__c |
postal_code |
s_c__Zip_Code__c |
state |
s_c__State__c |
timezone |
s_c__Timezone__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 bookable_location.data. See custom data fields in Liquid.
Attributes
| Attribute | Type | Description |
|---|---|---|
active? |
Boolean | Returns true if this location is active |
address1 |
String | Returns the value of the Address1 attribute of this location |
address2 |
String | Returns the value of the Address2 attribute of this location |
city |
String | Returns the value of the City attribute of this location |
country |
String | Returns the value of the Country attribute of this location |
id |
String | Returns the unique id for this location |
information_content |
String | Returns the value of the Information attribute as rich text |
name |
String | Returns the name of this location |
postal_code |
String | Returns the value of the Postal Code address attribute of this location |
state |
String | Returns the value of the State address attribute of this location |
timezone |
String | Returns the timezone of this location |
virtual? |
Boolean | Returns true if this location is a virtual location, eg online |
Available on
- BookableEvent - Liquid Object Reference —
location - BookingAvailabilityDate - Liquid Object Reference —
location - ProductBookableLocation - Liquid Object Reference —
bookable_location
Was this article helpful?
Thanks for your feedback! It helps us improve our docs.