Grappos provides fully configured, ready-to-install product locator code. The configurations below are for customers who prefer to configure their own locators.
Sets font family.
Open Sans
Sets font platform. Options:
> Google Fonts: fontConfig = {google:{families: [‘Font Name’]}};
> Adobe Typekit: fontConfig = {typekit:{id: ‘Your Typekit ID’}};
Google Fonts
Enables 'Store Locator' mode, which removes the product list.
off
Displays the product list on the initial screen. Options: on, off.
off
Enables users to share their location. Options: show, hide.
show
Automatically requests user location. Options: on, off.
off
Enables a search field for the product list. Results will include near matches. Options: show, hide.
hide
Displays brand name and "Find All" button for each product group. Options: show, hide.
show
Displays search radius bar. Options: show, hide.
show
Displays premise type controls. Options: show, hide.
show
Lists all products available at the selected retailer. Options: show, hide.
show
Displays a “Notify Me When Available” button when a brand or product is not available nearby.
disabled
Controls the name on the ‘notifyURL’ button.
Notify Me When Available
Displays a “Buy Online” button when a brand or product is not available nearby.
disabled
Controls the name on the ‘buyOnlineURL’ button.
Buy Online
Alias for on-premise accounts.
Restaurants
Alias for off-premise accounts.
Stores
Icon color for on-premise accounts.
#232F8F
Icon color for off-premise accounts.
#6E3A91
Icon color for user location.
#282F35
Use generic icons instead of the shopping cart and fork/knife icons. Options: on, off.
off
Automatically executes a search upon user location input. Recommended for locators with single products. Options: on, off.
Note: Supported for single-brand locators only.
When using autoSearch with a single-brand locator that has multiple products, brandHeaderRow (“Find All”) must be enabled.
off
Determines how mobile users see initial results: on a map or as a list. Options: map, list.
map
Sets premise type for initial search. Options: on, off, all.
all
Sets search radius for initial search. Options: 5, 10, 25, 50, 100.
25
Sets maximum number of results displayed. Options: 1-100.
50
Displays delivery service buttons. Options: show, hide.
hide
Text label for the order delivery feature.
n/a
Name of first delivery service.
n/a
Destination URL for first delivery service button.
n/a
Name of second delivery service.
n/a
Destination URL for second delivery service button.
n/a
Name of third delivery service.
n/a
Destination URL for third delivery service button.
n/a
Allows you to add a Google Tracking ID to your locator.
n/a
Allows you to add a Facebook Pixel ID to your locator.
n/a
Allows you to add a tracking pixel URL to your locator.
n/a