Knowledge Base Search

How to use Agile Store Locator Shortcodes?

The Store Locator has a lot of features that can be invoked through the shortcode attribute, the attribute can be used single or by space separation, for example, to use two shortcodes below, we will write [ASL_STORELOCATOR gesture_handling="none" zoomcontrol="false" zoom="4"]
List of Attributes for the Google Maps
[ASL_STORELOCATOR gesture_handling="greedy"] Gesture handling ('none', 'cooperative', 'greedy')
[ASL_STORELOCATOR map_type="roadmap"] Map type ('hybrid', 'roadmap', 'satellite', 'terrain')
[ASL_STORELOCATOR scroll_wheel="1"] Scroll wheel ('0', '1')
[ASL_STORELOCATOR zoomcontrol="false"] To disable Zoom Control
[ASL_STORELOCATOR maptypecontrol="false"] To disable Map type option
[ASL_STORELOCATOR scalecontrol="false"] To disable zoom option
[ASL_STORELOCATOR fullscreencontrol="false"] To disable full screen option
[ASL_STORELOCATOR streetviewcontrol="false"] To disable street view option
[ASL_STORELOCATOR maxzoom="15"] Possible value between (10 to 22)
[ASL_STORELOCATOR minzoom="5"] Possible value between (1 to 15)
List of Attributes for the Store Locator
[ASL_STORELOCATOR search_2="1"] To add another search field for search by name next to search by address (works with template 0 and 1)
[ASL_STORELOCATOR template="list"] Possible options (0,1, 2, 3, list)
[ASL_STORELOCATOR cluster="1"] Possible options (0,1)
[ASL_STORELOCATOR cluster_max_zoom="9"] To limit the cluster appearance by the zoom level, the value must be within (5 to 22)
[ASL_STORELOCATOR cluster_grid_size="90"] The size of the grid for the cluster, number can be reduced.
[ASL_STORELOCATOR prompt_location="1"] Possible options (0,1,2,3)
[ASL_STORELOCATOR map_type="roadmap"] Possible options (hybrid, roadmap, satellite, terrain)
[ASL_STORELOCATOR distance_unit="Miles"] Possible options (Miles, KM)
[ASL_STORELOCATOR zoom="15"] Possible options (9,10,11,....,21)
[ASL_STORELOCATOR search_zoom="12"] When a location is searched the zoom value is set by search_zoom. The value must be an integer between 9 to 21.
[ASL_STORELOCATOR zoom_li="12"] When store or Marker is clicked, the Zoom value at that time is changed by zoom_li. The value must be an integer between 9 to 21.
[ASL_STORELOCATOR minzoom="3"] Possible options (Minimum Value 0). Restrict your Google Maps to a minimum Zoom Level, the range for Google Zoom is (0 to 22).
[ASL_STORELOCATOR maxzoom="20"] Possible options (Maximum Value 0). Restrict your Google Maps to a maximum Zoom Level, the range for Google Zoom is (0 to 22).
[ASL_STORELOCATOR advance_filter="1"] Possible options (0,1)
[ASL_STORELOCATOR show_categories="1"] Possible options (0,1)
[ASL_STORELOCATOR additional_info="1"] Possible options (0,1)
[ASL_STORELOCATOR distance_slider="1"] Possible options (0,1)
[ASL_STORELOCATOR head_title="List of Stores"] "head_title" can be used to change the header of the Store Locator List.
[ASL_STORELOCATOR category_title="Cities"] The category filter title can be updated by the easy shortcode attribute.
[ASL_STORELOCATOR no_item_text="No Deals Found"] The "No Store Found" can easily be updated by attribute no_item_text.
[ASL_STORELOCATOR layout="1"] Possible options (0,1) - Layout 1 is accordion style. The accordion layout will not have advanced features, it will display the stores in Country, State, and City Hierarchy.
[ASL_STORELOCATOR time_switch="1"] Possible options (0,1) - Time switch to enable/disable the Switch
[ASL_STORELOCATOR category_marker="1"] Possible options (0,1) - The shortcode attribute will show category markers instead of default markers (Use it only when each store is representing a single category)
[ASL_STORELOCATOR load_all="1"] Possible options (0,1) - 0 will load markers on bound use it ONLY when having too many markers such as 500+ or 1000
[ASL_STORELOCATOR font_color_scheme="1"] Possible options (0,1,2,3,4) - Change font color of theme 0
[ASL_STORELOCATOR color_scheme="1"] Possible options (0,1,2,...,9) - Changes theme 0 background Color
[ASL_STORELOCATOR color_scheme_1="1"] Possible options (0,1,2,...,9) - Changes theme 1 background Color
[ASL_STORELOCATOR map_layout="0"] Possible options (0,1,2,...,8) - Change Google Map Style
[ASL_STORELOCATOR infobox_layout="0"] Possible options (0,1,2) - Change Marker InfoWindow style for theme 0
[ASL_STORELOCATOR default_lat="-33.947128" default_lng="25.591169"] Default Coordinates of Map can be changed using these attributes (default_lat && default_lng). The values must be valid coordinates otherwise the map will not appear properly.
[ASL_STORELOCATOR api_key="xxxxxxxxxxxxxxxxxxx"] Google Maps API Key can be added to your Map, but this is not recommended. Admin should add Google API Key in ASL Settings. How to generate API Key?
[ASL_STORELOCATOR display_list="0"] Possible options (0,1). 0 will hide the store's List from the page.
[ASL_STORELOCATOR full_width="1"] Possible options (0,1). Full width Option 1 will stretch the Plugin to 100% width.
[ASL_STORELOCATOR time_format="0"] Possible options (0,1). "0" is a 12 Hours Format AM/PM while "1" is a 24 Hour Format.
[ASL_STORELOCATOR single_cat_select="1"] Possible options (0,1). "1" will enable single category selection, default value is "0" which is multi-category selection.
[ASL_STORELOCATOR country_restrict="us"] Address search can be restricted by country. Enter 2 alphabet country codes to restrict the search, country codes can be seen at Wikipedia.
[ASL_STORELOCATOR search_type="1"] Possible options (0,1,2,3). "0" is the search google address which is the default. "1" will change the search type to search by store names.
[ASL_STORELOCATOR scroll_wheel="1"] Possible options (0,1). Google Maps scroll wheel can be enabled/disabled by attribute scroll_wheel.
[ASL_STORELOCATOR analytics="1"] Possible options (0,1). Your store locator analytics can be enabled by attribute value "1". "0" will disable it which is the default selection.
[ASL_STORELOCATOR category="5"] Possible options (Category ID). This attribute restricts the Store Locator to a single defined Category, only stores that belong to that category will appear on the listing and map, multiple can categories can also be provided comma-separated.
[ASL_STORELOCATOR fixed_radius="100"] Possible options (Must be a Number for Miles/KM). Store Locator radius can be set fixed through shortcode attribute fixed_radius, only stores in which the range will appear on Map and listing.
[ASL_STORELOCATOR select_category="5"] Possible options (Category Id). For default Category Selection, use attribute select_category, it will select that category and will apply the respective filter on the store locator.
[ASL_STORELOCATOR select_brand="7"] Possible options (Brand Id). For default Brand Selection, use attribute select_brand, it will select that brand and will apply the respective filter on the store locator.
[ASL_STORELOCATOR select_product="3"] Possible options (Product Id). For default Product Selection, use attribute select_product, it will select that product and will apply the respective filter on the store locator.
[ASL_STORELOCATOR reset_button="1"] Possible options To reset your Google Map (Zoom + Pan) to its original state which you have set from the ASL Settings.
[ASL_STORELOCATOR stores="5,6,7,8"] Possible options To show only a few stores in a Store Locator or a Separate page, stores attribute can be used, in which Stores Ids can be passed as the parameter value.
[ASL_STORELOCATOR smooth_pan="1"] Possible options Smooth Pan between Google Maps marker can be enabled through smooth_pan attribute, this feature will Pan to the next location smoothly without Zoom.
[ASL_STORELOCATOR user_center="1"] Possible options user_center attribute will consider Default Lat and Default Lng as Center Point to the Stores and will calculate the Distance from it on page load.
[ASL_STORELOCATOR filter_ddl="product,brand"] To create multiple dropdown filters that can be used for any purpose.
[ASL_STORELOCATOR gdpr="1"] To show the GDPR compliance message before loading up Google Maps.
[ASL_STORELOCATOR layout="1" category_accordion="1"] To render the Store locator with category accordion feature.
[ASL_STORELOCATOR fit_bound="1"] Possible options (0,1). "1" will enable fit bound to the search, so search zoom will be ignored and the view will fit to complete markers.
[ASL_STORELOCATOR active_marker=""] When the marker is clicked the marker having the name active will be used, to disable it please use the shortcode above.
[ASL_STORELOCATOR sort_random="1"] Option sort_random can be used to apply random sorting on the page load.
[ASL_STORELOCATOR search_type="0" filter_address="1"] Filter address works with the Google Place API search, it actually matches the search title and filters out the location names that don't match with the searched address.
[ASL_STORELOCATOR geo_marker="1"] To enable or disable the Geo-marker icon that appears when the location is searched, possible options (0,1)
[ASL_STORELOCATOR geo_marker_id="10"] To change the Geo-marker icon image, you can add the id of any marker from the Manage Markers page, the marker with the id will be used
[ASL_STORELOCATOR radius_color="#FF0000"] To change the color of the radius circle, you have to provide the hex code of the color to use.
[ASL_STORELOCATOR radius_circle="1"] Possible options (0,1). "0" will disable the radius circle that appears when the search is performed to show the distance range radius.
[ASL_STORELOCATOR infobox_width="400"] To change the width of the info-window that appears when the marker is clicked (CSS also needs to be applied).
[ASL_STORELOCATOR stores_limit="100"] To show up the limited number of stores on the Store locator.