Location
The location
object describes any physical or logical location, such as a warehouse, pickup point, customer address, or detected user location. It is not limited to store locations and can represent any relevant place in the context of the store or user.
Usage Example
{%- comment -%} Show location name, address, and coordinates {%- endcomment -%}
<p>
{{ location.name }}<br>
{{ location.address }}<br>
{{ location.city }}, {{ location.country }}<br>
Coordinates: {{ location.latitude }}, {{ location.longitude }}
</p>
Properties
accuracy_radius
Returns the accuracy radius in meters for this location.
address
Returns the address of the location.
city
Returns the city for this location.
continent
Returns the continent for this location.
country
Returns the country for this location.
id
Returns the unique id for this location.
latitude
Returns the latitude for this location.
longitude
Returns the longitude for this location.
name
Returns the name of the location.
subdivisions
Returns the subdivisions for this location.
time_zone
Returns the time zone for this location.
zipcode
Returns the zipcode for this location.
Last updated on