{"title":"Location - Liquid Object Reference","slug":"location-liquid-object-reference","url":"https://support.storeconnect.com/articles/location-liquid-object-reference","url_markdown":"https://support.storeconnect.com/articles/location-liquid-object-reference.md","subtitle":null,"summary":"The Location object contains information about physical location that can be found via a locator, eg Store locator.","type":"Developer_Documentation","video_url":"","keywords":"liquid, objects, Location, template, storeconnect","last_modified":"2026-08-21T07:12:35+0000","body_markdown":"## Description\n\nThe Location object contains information about physical location that can be found via a locator, eg Store locator.\n\n:::note\nThis object supports custom data via the `data` attribute.\n:::\n\n## Attributes\n\n| Attribute | Type | Description |\n|-----------|------|-------------|\n| `account` | [Account](account-liquid-object-reference) | Returns the Account that this Location is based on |\n| `categories` | List[[ProductCategory](product-category-liquid-object-reference)] | Returns a list of product categories that this Location can handle |\n| `city` | String | Returns the city to be displayed in the location search |\n| `country` | String | Returns the country to be displayed in the location search |\n| `distance_in_kilometers` | String | Returns the distance from the search location in kilometers when the Location is a result of a location search |\n| `distance_in_miles` | String | Returns the distance from the search location in miles when the Location is a result of a location search |\n| `email` | String | Returns the email address to be displayed in the location search |\n| `id` | String | Returns the unique id of this Location |\n| `identifier` | String | Returns a unique identifier for this Location |\n| `info_content` | String | Returns the value of the Info attribute as rich text |\n| `latitude` | Number | Returns the latitude to be displayed in the location search |\n| `logo` | [Image](image-liquid-object-reference) | Returns the logo Image for this Location |\n| `longitude` | Number | Returns the longitude to be displayed in the location search |\n| `meta_description` | String | Returns the value of the Meta Description attribute |\n| `meta_keywords` | String | Returns the value of the Meta Keywords attribute |\n| `meta_title` | String | Returns the value of the Meta Title attribute |\n| `name` | String | Returns the name to be displayed in the location search |\n| `path` | String | Returns the url path for this Location |\n| `phone` | String | Returns the phone number to be displayed in the location search |\n| `postal_code` | String | Returns the postal code to be displayed in the location search |\n| `state` | String | Returns the state to be displayed in the location search |\n| `street` | String | Returns the street address to be displayed in the location search |\n| `url` | String | Returns the complete url for this Location |\n| `website` | String | Returns the website address to be displayed in the location search |\n\n## Available on\n\n- [Global - Liquid Object Reference](global-liquid-object-reference) — `current_location`\n- [LocationGroup - Liquid Object Reference](location-group-liquid-object-reference) — `locations`\n- [SearchResult - Liquid Object Reference](search-result-liquid-object-reference) — `locations`"}