Entities
Location
Location entity - components, queries, links, and related actions
Your storefront encounters the Location entity when rendering a store locator: the location finder (a searchable list and map of every location) and individual location detail pages. A Location represents a physical place — a shop, showroom, outlet, or pickup point — with its address, map coordinate, opening hours, contact details, status, and media. It has no outgoing links: the finder resolves the full set with AllLocationsQuery and filters client-side, while detail pages fetch a single Location by slug.
Available since v0.23.0 in
@laioutr-core/canonical-typesComponents
Base
Info
Address
Coordinates
Contact
Opening Hours
Status
Content
Media
Attributes
SEO
Queries
- AllLocationsQuery - Fetch every location for the current shop. Backs the location finder, which searches and filters the resolved set client-side.
- LocationBySlug - Retrieve a single location by its slug.