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?
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?