Skip to content

Google Maps Cost Saver: OpenStreetMap & Geolocation Cache

Add-on ID: kv_maps_geo_cost_saver · Edition: CS-Cart & Multi-Vendor · Latest version: 1.0.0 · Compatible with: CS-Cart & Multi-Vendor 4.17.2 – 4.21.x, PHP 7.4 – 8.3 · Changelog: view

Since Google’s March 2025 pricing change, stores with store locators, pickup points, vendor maps or a customer location block often pay for every map load, every address lookup and every automatic location detection. Maps & Geolocation Cost Saver cuts that bill without removing any feature:

  • Free OpenStreetMap maps for the core “Maps and geolocation” add-on (store locator, pickup points, warehouses, customer location, order and profile maps) and, on Multi-Vendor, the core “Vendor locations” add-on. No API key, no Google request. Choose the provider per area: for example OpenStreetMap on the storefront and Google in the admin panel.
  • Cached geocoding through Nominatim, Photon or your own server, with the public usage policies built in (one request per second, identifying user agent, local cache, daily and per-visitor limits).
  • Maps that load on click (or when they scroll into view), with a light placeholder: the map provider is not loaded at all until a visitor wants the map. Works with Google and Yandex too.
  • No maps and no location prompts for bots, and no automatic location detection on page load: the location is detected when the visitor asks for it.
  • Savings dashboard: map loads, geocoding requests and location lookups served without Google, priced with the Google list prices you can edit, after Google’s free monthly cap.

Store locator with the free OpenStreetMap map

  • OpenStreetMap / Leaflet provider for the core map add-ons: markers, grouped markers, info windows, address search box, full screen, click-to-pick coordinates;
  • Per-area provider switch: storefront, admin and vendor panels;
  • Geocoding with Nominatim, Photon or a self-hosted server; address suggestions while typing through Photon;
  • Local result cache with a time to live, a daily limit and a per-visitor hourly limit; one request per second to the public servers;
  • Lazy maps: on click, when visible or immediately; optional placeholder image;
  • Bots never load maps or trigger location detection;
  • Deferred customer location detection (no browser prompt and no paid lookup on page load);
  • Fills missing coordinates of store locations, pickup points and Multi-Vendor vendors by cron, in small batches;
  • Savings dashboard with an estimate per Google SKU, editable prices and free cap, 30-day chart, cache tools and an address tester;
  • OpenStreetMap attribution always shown; GDPR cookie consent service for the map tiles;
  • Full page cache safe (CS-Cart 4.21): the page output is the same for every visitor and the add-on’s requests never start sessions.
  • CS-Cart and Multi-Vendor 4.17.2 – 4.21.x (tested on CS-Cart 4.17.2 and Multi-Vendor 4.17.2; for 4.21 the code is checked with PHP 8.3 and every template compiles with Smarty 5).
  • PHP 7.4 to 8.3, depending on your CS-Cart version.
  • Responsive, Bright and Nova themes and themes based on Responsive.
  • Needs the core “Maps and geolocation” add-on (and, for vendor maps, “Vendor locations”).