Skip to content

store_availability_location

Available as store_availability.location. It exposes the location details needed by a buyer choosing pickup without exposing seller-only location state. Sellerlane does not currently store verified pickup coordinates, so latitude and longitude are always nil.

Example

{% assign location = availability.location %}
<article id="pickup-location-{{ location.id }}">
<h3>{{ location.name }}</h3>
{{ location.address | format_address }}
{% if location.latitude and location.longitude %}
<a
href="https://www.google.com/maps/search/?api=1&query={{ location.latitude }},{{ location.longitude }}"
rel="noopener"
>View map</a>
{% endif %}
</article>

Do not assume coordinates exist. Name and public address are the stable buyer surface; internal fulfilment priority, staff details, inventory ledgers, and inactive locations are not exposed.

Properties

PropertyDescription
store_availability_location.addressPostal address.
store_availability_location.idUnique identifier.
store_availability_location.latitudeVerified location latitude, or nil.
store_availability_location.longitudeVerified location longitude, or nil.
store_availability_location.metafieldsMetafields on this resource.
store_availability_location.nameName.

Property list is generated from the storefront engine (StoreAvailabilityLocationDrop), so it always matches what your theme can use. Use {{ availability.location | json }} only as a curated debug snapshot; it can omit lazy or otherwise public properties.