User Tools

Site Tools


storelocator:v3:main-config

Configure uStoreLocator

You can find main uStoreLocator configuration in Stores > Configuration, under the General section.

Configuration

Bellow is brief explanation of available options.

Custom Map URL

here you can change default map location from ustorelocator/location/map to whatever you want. For example 'locations.html'

Simple API key

API key provided by google, it is required to use one. It allows to track visits and other stats from your google console.

API

Page Title

A string that will be used as page title

Title

Search radius options

here you can provide a list of numbers separated by comma that will be presented to the user as a dropdown list of search radius's to choose from.

Use User Location

Attempt to use current user's location as center of a search. Use location

Show Map on Page Load

if set to 'No', map will not display Show Map

Scale location icons

if set to 'Yes' custom icons used will be scaled proportionally to default Google icons size. Scale Icon

Use geo location address

enable to use geo location address to show to user. Use geo address

Default Location Address

A dropdown list with all available locations to choose from. Location selected here will be scrolled to after map is loaded. Default Address

Minimal map zoom

minimum allowed zoom for map after map location is moved or its projection resized, useful when user clicks on location not to be brought too close to the ground. This way location can get better context with surrounding area. Min zoom

Results Sorted By

Determines how search results are sorted. It can be either by name (Alphabetically) or by distance from search location Sort By

Default Sort Direction

Determines ascending or descending order of sorting setting from above. Sort direction

Default Search Radius

if set and matching one of values in Search radius options, that value will be preselected in radius drop down on frontend Default radius

Distance Units (mi or km)

show distances in miles or kilometers Distance

Default Country

if set only stores from that country will be shown on map initially. It does not affect search results. Country

No result coordinates

when there are no coordinates passed to Google, it defaults the map in the middle of the ocean, you can override this location coordinates here. No result

Number of Results to Show

maximum number of results to show. No of results

Import locations

here you can upload a csv file with location data for quick import. Import

Overwrite existing locations on import?

If set to 'No', import will add imported to existing records otherwise all records will be deleted and only imported will remain. Overwrite

Export Locations

quickly export all locations in CSV data format. Best viewed with OpenOffice Calc Export

CSV Delimiter

CSV delimiter to use for parsing import files Delimiter

CSV Delimiter

CSV enclosure character Enclosure

Layout

layout template to use on map page, works the same way as it works in CMS pages Layout

Multiple Results

Use multiple results list

Multiple Results

Multiple results notice

Multiple Text

storelocator/v3/main-config.txt · (external edit)