Territory Bounds module was moved from the General | Data tab to the General | Server | Web App Settings section. Cluster Map Markers is useful for a large dataset in close proximity to each other on the map.
A URL Control module was been added to the application for Enterprise or premier subscribers. Enabling this module will turn on the interface to allow additional data to be presented in a web page URL to impact how the locator behaves.
URL Control : Allow Location In URL
The first URL Control option is to pass a location ID in via a URL. Adding ?location=<id> to the end of a web page address that hosts the locator will cause the page to load with the specified location being highlighted as if the map marker was clicked. The default behavior is to show the info bubble for that location.
The WPSLP Experience Add On and MySLP Professional support the Google Map Style rules. These rules let you control the “inner style” of the map itself. Pre-defined map rules allow you to set a variety of styles via the map settings on the SLP admin panel.
For MySLP go to Store Locator Plus > Settings > Map > Map Style
For WPSLP go to Store Locator Plus > Settings > Map > Map Style
The value of this entry is a Google Maps JSON style string. Some of our Plugin Styles in the Style Gallery will set this for you. You can also build your own with services like Map Style With Google.
Before you get started you will need to get a Google Maps API Key. Please note, there are some misleading instructions in the Google developer console telling you to restrict your API key when you move your site to production. The recommended way to do this for the majority of our WP SLP customers is to add HTTP referrer and add a geocoding key. The two key approach is available for version 4.9.15.
Search for “Buy Here For WooCommerce” from the WordPress Plugin Directory. Install and activate that plugin.
Note: Buy Here For WooCommerce requires Store Locator Plus 4.4.18 or higher and WooCommerce 2.4.10 or higher. If either are not installed or are not activated the Buy Here For WooCommerce plugin will not activate.
From your WordPress admin login go to Store Locator Plus, go to the Locations tab and Add Locations.
From your WordPress admin login go to WooCommerce Products and Add Products.
Connect Locations To Products
While adding a new product, click the Locations panel in the Product Data section.
Start typing the name of a location or the postal/zip code. When you type the 3rd letter a list of Store Locator Plus locations that match your search will appear. Select a location that you wish to have associated why the product.
BHWC Location Search In Progress
BHWC Initial Location Selection Interface
BHWC Associating Second Location
BHWC Add Location To Product
Create A Locations Page
Go to Pages and add a new page. On that page put the [slplus] shortcode.
Open that page to see your location search form, map, and list of locations.
Locations that have product data associated with it will show the product data under the details column on the right side of the location listing.