Installing The Locator

This guide covers how to install and customize our locator on your site.

The StoreLocators Map allows customers to search for your products in nearby stores. They enter their location, see real-time inventory at supported retailers, and get directions.

An example of how our locator map looks with real-time inventory coverage at our top supported retailers.

By default, the locator inherits the fonts on the page you add it to unless you override them.

Shopify Installation

Installation instructions can be found within the Install tab of the StoreLocators Shopify App. Don't have the app installed? Please find the Shopify app listing here.

Customizing the way the locator looks can be done directly from the Shopify Theme Editor by clicking on our StoreLocators Map app section once it's applied to a page and adjusting the settings in the panel that appears. If you have questions, reach out to Anthony, our Customer Success Manager, (anthony@storelocators.com).

Script Installation (Headless)

Basic Installation

We will provide you with the initial script that will look like this:

That's it. Paste the initial script we send you into your page and the store locator appears in that <div>.

How it works

The script file loads our store locator code from our servers.

The CSS file styles how it looks.

The config object is where you tell the script which store locator to load (using your customerId) and how to customize it.

The <div> is where the locator actually appears on your page.

Configuration Options

Style customization

Common style options:

  • contrastColor - Color of buttons, links, interactive elements

  • background - Page background color

  • stickyHeaderHeight - Height of sticky header (if your site has one, helps prevent overlap)

Copy customization

Customize any text the locator displays:

All copy options

Replace any of these default texts with your own:

Full example

Troubleshooting

If you have questions or run into any issues with the information provided on this page, reach out to Anthony, our Customer Success Manager, (anthony@storelocators.com) and he will help you get everything configured correctly.

Last updated