Bookable Location Object Reference
On this page
Overview
Book Location defines a location that a bookable Product can be held at. Can be used both physical and virtual locations.
| Property | Value |
|---|---|
| API Name | s_c__Bookable_Location__c |
| Label | Bookable Location |
| Plural Label | Bookable Locations |
| Type | Custom Object |
Fields
| Field Label | API Name | Type | Required | Description |
|---|---|---|---|---|
| Active | s_c__Active__c |
Checkbox | No | Indicates whether the Bookable Location is currently active. Can be set to false to turn off bookings for this location. |
| Address Line 1 | s_c__Address1__c |
Text(255) | No | |
| Address Line 2 | s_c__Address2__c |
Text(255) | No | |
| City | s_c__City__c |
Text(255) | No | |
| Country | s_c__Country_Id__c |
Lookup (s_c__Country__c) | No | |
| Display Name | s_c__Display_Name__c |
Text(255) | No | The name of the Bookable Location to show in the Store. If this is blank, Bookable Location Name will be used. |
| Information Text (Markdown) | s_c__Information_Markdown__c |
LongTextArea(32768) | No | Information about this Bookable Location. |
| State/Province | s_c__State__c |
Text(255) | No | |
| Store | s_c__Store_Id__c |
Lookup (s_c__Store__c) | Yes | |
| Standard Timezone | s_c__Timezone__c |
Picklist | No | The standard timezone for this location. All booking times will be presented in this timezone (and adjusted for daylight savings when relevant). |
| Location is Virtual | s_c__Virtual__c |
Checkbox | No | Indicates this Bookable Location is not a physical location. |
| Zip/Postal Code | s_c__Zip_Code__c |
Text(20) | No | |
| StoreConnect External ID | s_c__sC_Id__c |
Text(36) | No | StoreConnect External ID, do not modify in Salesforce |
Relationships
| Field | Type | Related Object | Relationship Name |
|---|---|---|---|
s_c__Country_Id__c |
Lookup | s_c__Country__c | Bookable_Locations |
s_c__Store_Id__c |
Lookup | s_c__Store__c | Bookable_Locations |
Referenced by
These objects hold a lookup or master-detail relationship to Bookable Location (s_c__Bookable_Location__c). Where the referring record exists to join things together, Also links to shows what it connects this object to.
| Object | Field | Type | Relationship Name | Also links to |
|---|---|---|---|---|
| s_c__Product_Bookable_Location__c | s_c__Bookable_Location_Id__c |
Lookup | Product_Bookable_Locations | Product2 |
On the storefront
Storefront templates read this object through the BookableLocation Liquid object, written as bookable_location in a theme.
| Salesforce field | Liquid attribute |
|---|---|
s_c__Address1__c |
bookable_location.address1 |
s_c__Address2__c |
bookable_location.address2 |
s_c__City__c |
bookable_location.city |
s_c__Display_Name__c |
bookable_location.name |
s_c__State__c |
bookable_location.state |
s_c__Timezone__c |
bookable_location.timezone |
s_c__Zip_Code__c |
bookable_location.postal_code |
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.
Was this article helpful?
Thanks for your feedback! It helps us improve our docs.