This object gives you access to stored location information in Liquid.

The location object has the following attributes:

location.address

Returns the address object of this location.

location.id

Returns the ID of the location.

location.latitude

Returns the latitude of the location. Returns null if the address is not verified.

location.longitude

Returns the longitude of the location. Returns null if the address is not verified.

location.name

Returns the name of the location.

More properties

VersaCommerce also provides these properties on the location object:

Properties Returns
operating_hours, google_maps_url, metafields Opening hours, map link and metadata