How-to
Add a Google Map With Your Store Locations to Shopify
The cheapest way to show several locations on a map is a Google My Maps map embedded on a Shopify page. It needs no app and no developer. General guidance following Google’s and Shopify’s documented tools; labels change, and we did not test this on your theme.
Step 1: build the map
- Open Google My Maps (search for it; you need a Google account).
- Create a new map and name it.
- Add your locations: you can search for an address and click Add to map, or import a spreadsheet or CSV with an address column. The columns that help are in store locations CSV format.
- Check that each pin lands on the right building. If the import placed one wrong, see how to geocode store addresses.
- Click Share and set the map so anyone with the link can view. If it stays private, visitors see an error.
Step 2: get the embed code
In the map’s menu (the three dots next to its title) choose Embed on my site. Copy the <iframe> code. You can change the width and height values; set the width to 100% so it fits on phones.
Step 3: put it on a page
- In Shopify admin go to Online Store > Pages > Add page, title it “Find a store”.
- In the editor, switch to the HTML / Show HTML view and paste the iframe.
- Under the map, write the list of locations as text with address, phone and hours, so shoppers who cannot use the map, and search engines, still get the information.
- Add the page to your navigation.
Check it
- Load the page on a phone and a laptop in a private window: you should see the map without logging in.
- Tap a pin and check that the details are right.
- Check that the iframe does not overflow the page.
Limits of this method
- No “closest to me” and no search by address.
- You maintain the map outside Shopify; updates are a second job.
- My Maps has limits on map size and the number of items; check Google’s current limits if you have many locations.
- Map pins carry details only as you type them: opening hours are text.
If you outgrow it, an app does search and distance sorting. Compare options in best store locator apps for Shopify, or look at free store locator options first. For the general routes to a locator, see how to add a store locator page in Shopify.