Store - Liquid Object Reference
On this page
Description
The Store object contains information about the Store
:::note
This object supports custom data via the data attribute.
:::
Backed by
This drop renders the s_c__Store__c Salesforce object. A theme writes it as store.
| Liquid attribute | Salesforce field |
|---|---|
code |
s_c__Code__c |
domain |
s_c__Domain__c |
locale |
s_c__Locale__c |
meta_description |
s_c__Meta_Description__c |
meta_keywords |
s_c__Meta_Keywords__c |
meta_title |
s_c__Meta_Title__c |
path |
s_c__Path__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 store.data. See custom data fields in Liquid.
Attributes
| Attribute | Type | Description |
|---|---|---|
campaigns |
List[Campaign] | Returns a list of Campaigns for this Store |
code |
String | Returns the value of the Code attribute |
currency_code |
String | Returns the currency code of the Store, eg: AUD |
currency_symbol |
String | Returns the currency symbol of the Store, eg: $ |
domain |
String | Returns the Store’s domain |
id |
String | Returns the Store’s unique id |
locale |
String | Returns the Store’s locale |
logo |
Image | Returns the Store’s logo Image |
name |
String | Returns the Store’s name |
scripts |
List[Script] | Returns a list of global Scripts for the Store |
staff |
List[Staff] | Returns a list of staff Users who assist customers |
styles |
List[Style] | Returns a list of global Styles for the Store |
terms_conditions_page |
Page | Returns the Page that has been set up as the Terms and Conditions page |
timezone |
String | Returns the Store’s Timezone |
zone |
Zone | Returns the Store’s Zone |
Customizations
The site can be customized using various attributes
| Attribute | Type | Description |
|---|---|---|
body_content |
ContentBlock | Returns a ContentBlock to be rendered just before the closing <body> tag |
footer |
ContentBlock | Returns a ContentBlock to be rendered as the footer |
footer_menu |
Menu | Returns a Menu to be rendered in the footer |
global_css |
String | Returns global CSS for the site. This should be output in the site template inside <style> tags in the header |
global_javascript |
String | Returns global Javascript for the site. This should be output in the site template inside <script> tags in the header |
head_content |
ContentBlock | Returns a ContentBlock to be rendered just before the closing <head> tag |
header |
ContentBlock | Returns a ContentBlock to be rendered as the header |
header_menu |
Menu | Returns a Menu to be rendered in the header |
Store Links
A set of links to other pages on the Store
| Attribute | Type | Description |
|---|---|---|
booking_availabilities_path |
String | Returns the link to get Booking Availabilities |
cart_path |
String | Returns the link path for the Cart |
checkout_path |
String | Returns the link path for the Checkout |
forgot_password_path |
String | Returns the link path to start the Forgot Password process |
home_path |
String | Returns the link path for the Home page |
login_path |
String | Returns the link path for the Login page |
logout_path |
String | Returns the link path for the Logout page |
path |
String | Returns the url path for this Store |
resend_confirmation_path |
String | Returns the link path to start the Resend Confirmation process |
search_path |
String | Returns the link path for the Search page |
url |
String | Returns the complete url for this Store |
Store Account Links
A set of links to other Account related pages
| Attribute | Type | Description |
|---|---|---|
account_credits_path |
String | Returns the link path for the Account’s Account Credits page |
account_path |
String | Returns the link path for the Account’s Summary page |
account_points_path |
String | Returns the link path for the Account’s Account Points page |
carts_path |
String | Returns the link path for the Account’s Carts page |
fulfillments_path |
String | Returns the link path for the Account’s Fulfillments pages |
orders_path |
String | Returns the link path for the Account’s Order page |
product_approvals_path |
String | Returns the link path for the Account’s Product Approvals pages |
subscriptions_path |
String | Returns the link path for the Account’s Subscriptions pages |
SEO
These are some attributes that are useful for SEO purposes
| Attribute | Type | Description |
|---|---|---|
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 |
social_image |
Image | Returns the image to be used when sharing pages from this Store |
Settings
Various settings for the Store
| Attribute | Type | Description |
|---|---|---|
accept_terms_enabled? |
Boolean | Returns true if this Store requires customers to accept the Terms and Conditions |
display_currency? |
Boolean | Returns true if this Store is configured to display prices in currency (ie normal prices) |
display_points? |
Boolean | Returns true if this Store is configured to display prices in points |
geolocation |
Geolocation | Returns an Object with the Geolocation settings |
has_promotions? |
Boolean | Returns true if this Store has promo codes that can be used |
has_vouchers? |
Boolean | Returns true if this Store has vouchers that can be used |
pickup_enabled? |
Boolean | Returns true if this Store has Click and Collect enabled |
shipping_enabled? |
Boolean | Returns true if this Store has Shipping enabled |
tax_inclusive? |
Boolean | Indicates whether this Store’s pricing is tax inclusive |
SSO
Settings for single sign on
| Attribute | Type | Description |
|---|---|---|
local_login? |
Boolean | Returns true if this Store uses username/password for customer login |
sso_login? |
Boolean | Returns true if this Store uses SSO for customer login |
sso_reset_password? |
Boolean | Returns true if this Store has an SSO provider that allows password resets |
Payments
Attributes for payments
| Attribute | Type | Description |
|---|---|---|
payment_providers |
List[PaymentProvider] | Returns a list of available PaymentProviders |
Related Objects
Various objects related to the Store
| Attribute | Type | Description |
|---|---|---|
authentication_providers |
List[AuthenticationProvider] | Returns a list of AuthenticationProviders that can be used to login to the Store |
navigation_categories |
List[ProductCategory] | Returns a list of top level Product Categories that can be shown in the navigation menu |
Available on
- AccountPointsTransaction - Liquid Object Reference —
store - Geolocation - Liquid Object Reference —
sibling_stores,suggested_store - Global - Liquid Object Reference —
current_store - Order - Liquid Object Reference —
store
Was this article helpful?
Thanks for your feedback! It helps us improve our docs.