Store Locator is used to let website visitors to enter geographic information to generate a list of stores that meet that criteria and then to view details on that location. It entails the provisioning of (3) plugins:
It also requires the setting of a Google API in Setup>System Settings>Company Information>Google Maps API
The Geographic Location Manager allows you to manage the individual demographic information for all the locations throughout your business. This information is used to populate information for the Store Locator feature on a website. You can also identify the specific brands and/or product lines associated with each location for easy access and reference. Reference Setup>Geographic location Manager
The Partners field referenced in the Store Locator plugin are setup in Setup>Technical Configurations>Partners.
Allows the option to select a state when performing a store location search. This allows website users to enter either a city, state, zip code and distance parameters OR select a state from a drop-down list.
To implement this function, the following needs to be added to the Store Locator and Store Locator Results plug-ins.
Store Locator Plug-in: add the new select option code inside the store locator <form> element as follows:
{html_options name="store_location_state" options=$store_state_options selected=$selected_store_state}
Store Locator Results Plug-in: inside the row template, add a conditional to detect whether or not a valid distance has been provided by the plug-in as follows:
{if $distance > 0} {$distance} Miles<br /> {/if} When the state selector option is chosen, the results plug-in recognizes that the distance is not applicable.
© 2023 CORESense · info@coresense.com · 125 High Rock Avenue, Saratoga Springs, NY 12866