Skip to main content

How to edit locations for store locator

  1. Update this google sheet - add the location name, lat / long coordinates, address, type, geomety type, and image.

Google sheet:
https://docs.google.com/spreadsheets/d/1XlFs7ADmJivDD_X_KdrGrnwL5t3z659wwugSUmr9Yhw/edit?usp=sharing

Make sure to add Feature and Point for every location in the spreadsheet. Basically, how it is laid out on the sheet, is how it needs to be for every location added.

You can use this tool to get the latitude and longitude coordinates: https://www.mapdevelopers.com/geocode_tool.php

proudly = Goodstock map marker
amb = ambassador map marker

For store types, enter the type in the properties/type column (G). You may enter more than one type (ie. burger and BBQ) by separating the names with a comma: burger,bbq. Names are NOT case sensitive. All uniquely spelled words will create a new type in the dropdown on the map.

2. When the sheet is done being edited, download a CSV

3. Upload to CSV file here https://www.convertcsv.com/csv-to-json.htm in Step 1

Click choose file and upload the CSV file

Select all and copy the results here

4. The data you just copied will be going into the metafield. In the admin panel of the shopify store, select Restaurant Locator PAGE. Enter the data in the Map Data metafield.

page in admin: https://admin.shopify.com/store/nolan-ryan-steaks/pages/92486336556

Note - this code is needed at the top - like the screenshot below

{"type":"FeatureCollection","features":
INSERT CSV HERE
}

Note* - select Format JSON if the code does not look the same as the above

Add the code into this metafield and hit SAVE