Skip to content

Show single store by passing an id as a paramter to match against the resource_id value #16

Description

@timbanks101

OK so we have the requirement to show the store locator map with a single store on the resource that holds the details related to that store. We are looking for a simple way to match the id of the current resource with the store entry in 'modx_storelocator_stores' that has a matching 'resource_id'. A parameter to pass '[[+id]]' into the snippet and update the map to show a matching store perhaps?

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions