Magento Store Locator Extension

Help shoppers find the store, dealer or service point closest to them: they search by ZIP code, or share their location and see your list sorted by distance. Load up to 1,000 locations from one CSV file, and add the Magento store locator from your Admin without a module or a deploy.
4.8 rating
10,000+ reviews
Free plan available
Create Widget for Free
No credit card needed
Magento Store Locator Extension

Create your Store Locator extension

Configure your Store Locator and add it to your Magento website for free!

Why give shoppers a way to find your shops

If your Magento store also sells through shops, showrooms or dealers, some shoppers will want to see a product in person before they order. A locator answers “where can I go?” on your own website: a map, a searchable list and a card for every location with hours, contacts and buttons to call or get directions. It needs no map API key either – the map is built on OpenStreetMap data.

The closest store, at the top of the list

Shoppers search by ZIP code, street or store name, and your own locations come up first, followed by places from the general map. Once they allow access to their location, the list reorders itself from near to far, every card shows how far away the store is, and the map centers on them.

Your dealer network from a single spreadsheet

Import from CSV fills the locator from the Elfsight CSV template: move the list your team already keeps for stores, dealers or partners into it. To change many entries at once, export the list, edit it and import it back. When you open one more store, Add from Google Maps finds it by name and address and fills in the card; a spot with no street address can be placed by its coordinates.

Open now, closing soon or closed for the holiday

Each location gets its own hours for every day, a 24-hour option and date-specific hours for holidays, either closed or with custom times. Every location keeps its own time zone, so the Open, Closed and Closes soon labels match local time, and an Open Now filter hides the stores that are closed.

Call, book or get directions from the card

Each card can carry buttons to call, message, share, book, order or view pricing, plus buttons for services such as WhatsApp and Yelp. Get Directions opens the route in Google Maps. More services can be connected in the editor, grouped into eight categories from reviews and messengers to bookings and delivery.

Key Features for Retail Chains and Dealer Networks

  • Nearest-location search – shoppers look up stores by ZIP code, address or name, or share their location to sort the list by distance.
  • Business hours and open status – daily schedules, holiday hours and a time zone for every location.
  • Action buttons and integrations – calls, bookings, orders and directions straight from the location card.
  • CSV import and export – load up to 1,000 locations from a file of up to 100 MB, or add them one by one.
  • Filters – tags and categories let shoppers narrow the list, shown inline or in a side panel.
  • Two layouts – List and Map puts the list beside the map; Catalog shows a grid of cards that open with a map of their own.

You can test all capabilities of the widget in the free editor.

Built for the Magento Admin

  • Added from the Admin, not the command line – the locator goes into a Page Builder element or a CMS block, with no composer step and no developer time.
  • One locator, many pages – save it once as a CMS block and show it on a stores page, on product pages or wherever your theme offers a container.
  • A locator for each store view – give every regional store view its own locator, in its own language and with distances in miles or kilometers to match.
  • One place for every change – add a store or update its hours in the Elfsight editor and publish; each page with the locator shows the change, with nothing to edit in the Admin.

How to add the Store Locator to Magento

Add your locations in the Elfsight editor – one at a time or from a spreadsheet file – then press Add to website for free and copy the installation code. Give the locator a page of its own with Method 1 or 2 – with or without Page Builder – or reuse it on other pages with Method 3.

Good to know: the locator sits inside the page content, so set its size in the editor first – Full Width or a fixed width, plus a separate height for phones. Page Builder may display the element without loading the map, so judge the result on the storefront.

Method 1: Create a locations page in Page Builder

  1. Open Content → Pages in the Admin and click Add New Page, or pick an existing page with Select → Edit.
  2. Give the page a title such as Our Stores and expand the Content section.
  3. From Elements in the Page Builder panel, drag HTML Code into a row or column.
  4. Click the gear icon on the element, paste the code and save the element settings.
  5. Click Save & Close, refresh the invalidated cache if a message asks for it, and choose Actions → View to see the map.

Method 2: Put the map on a page through the HTML view

  1. Open the page in Content → Pages and expand the Content section.
  2. Click Show / Hide Editor so the field shows raw HTML instead of formatted text.
  3. Drop the snippet into the HTML below your intro text.
  4. Click Save, then open the storefront version of the page to check the map.

This route suits Magento Open Source before 2.4.3 and stores that have Page Builder switched off.

Method 3: Reuse one block on product pages and beyond

  1. In Content → Blocks, click Add New Block, set Enable Block to Yes, and add a title, an identifier such as store_locator and the store views.
  2. Paste the code into an HTML Code element, or into the HTML view if you don’t use Page Builder, and save the block.
  3. For a single page, add a Block element in Page Builder, open its settings, select your block and save.
  4. For many pages, open Content → Widgets → Add Widget, choose CMS Static Block and your theme, then set Display on – for example, All Product Types – and pick a container.
  5. Under Widget Options, select the block, save the widget and refresh the cache when the Admin asks.

Containers come from your theme, so the exact spot on product pages can differ.

Once it’s live, search for a postcode you know and tap a couple of buttons on a location card to make sure calls and maps open as expected. If you’d rather not do it yourself, our support team can help with the installation.

FAQ

Do I need to install a module from the Marketplace?

No. You paste the installation code into a CMS page or block in the Admin, and the locator loads from Elfsight servers, so nothing is installed on your server.

Which page should the locator go on?

A dedicated page, such as Our Stores or Find a Dealer, is the natural home: create it and add the code with Method 1 or 2. To show the locator on product pages too, use the CMS block route in Method 3.

Can each store view have its own locator?

Yes. Create a locator for each region in Elfsight, put each code in its own block and pick the matching store view in Assign to Store Views when you add the block through Content → Widgets.

Why is the HTML Code element empty in Page Builder?

Page Builder may display the element without running the widget script. The storefront is where to check it – open the page with Actions → View.

Do 2.4.x upgrades affect the locator?

No. The code only loads the widget from Elfsight servers, so there’s no module to check for compatibility after a 2.4.x upgrade or patch.

The map isn't showing on the live page. What should I check?

Most often it’s the cache: refresh the invalidated types in Cache Management and clear your CDN if you use one. If the map is still missing, check that the block is enabled and assigned to this store view, and that the widget is within its monthly view limit.

Does the locator ask shoppers for their location?

Yes. Request User Location is on by default: the browser asks for permission, and the list is reordered around the shopper only if they agree. You can switch it off in the settings.

Do I have to sign up for a map API?

No. The map runs on OpenMapTiles with OpenStreetMap data, and the address search you use while adding locations works without a key.

What's the limit on locations per locator?

A single locator holds up to 1,000 entries. Add them one by one, pull them from the map search by name and address, or import a spreadsheet file.

Can I add a location without a street address?

Yes. Add it manually and place it on the map by its coordinates, which suits pop-up stands or seasonal kiosks.

What happens to the hours on public holidays?

You decide: give any location date-specific hours and mark the day as closed or set custom times.

What goes on each location card?

Photos, a badge, plus phone, email and website links. A click opens a pop-up card with more details, where your logo and an About Location note can also appear; you choose which elements show there.

Can I see what shoppers search for?

Yes. Connect Google Analytics, and seven events – Search Performed, Location Viewed and Phone Call Clicked among them – show what people look for and which stores they call.

How much does it cost to get started?

Nothing: the free plan lets you build the locator and publish it on your store, and you can move to a paid plan later.

Pricing

14-day money back guarantee. Risk-free, you can cancel at anytime.
Elfsight Apps
Platform-independent solution
from $0 / month
start with a free plan
Unlimited domains
Free customer support
Free installation support
100% customizable