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
No component metadata found for Location base.
Info
No component metadata found for Location info.
Address
No component metadata found for Location address.
Coordinates
No component metadata found for Location coordinates.
Contact
No component metadata found for Location contact.
Opening Hours
No component metadata found for Location openingHours.
Status
No component metadata found for Location status.
Content
No component metadata found for Location content.
Media
No component metadata found for Location media.
Attributes
No component metadata found for Location attributes.
SEO
No component metadata found for Location 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.