
YandexMapsLocator
Store locator on Yandex Maps for MODX 3. Free: map and search. Pro: open now, MiniShop3, CSV, and REST


Free: map, list, search, geolocation. Pro adds "open now" (badges and filter), MiniShop3 pickup on the product page, CSV in the manager, and REST on the same UI. Table: Free and Pro.
yandexmapslocator_api_key set?parents?latitude / longitude filled?context parameter and allowed_contexts?Free search.php | Pro api.php | |
|---|---|---|
| Same-origin locator AJAX | yes | optional |
CORS / Bearer / fields | no | yes |
| Headless | no | yes |
yandexmaps_timezone on the location or network yandexmapslocator_timezone?{'!YandexMapsLocator' | snippet : [
'parents' => 42,
'filters' => 'working_now'
]}
{'!YandexMapsLocator' | snippet : [
'parents' => 42,
'productId' => $_modx->resource.id,
'filters' => 'minishop_product'
]}[[!YandexMapsLocator? &parents=`42` &filters=`working_now`]]
[[!YandexMapsLocator?
&parents=`42`
&productId=`[[*id]]`
&filters=`minishop_product`
]]More examples: snippet.
Export uses context yandexmapslocator_default_context (default web), not the mgr context.
Add the modstore.pro provider in the Installer.
You need Pro and TV ms3_product_ids or ms3_product_id on locations. Parameter productId enables the filter automatically. Without Pro the value is reset.