How to use Agile Store Locator Shortcodes?

The Store Locator has a lot of features that can be invoked through the shortcode attribute. Furthermore, the attributes can be used individually or by space separation. For example, to use two shortcodes, we will write as given below.

[ASL_STORELOCATOR gesture_handling="cooperative" zoomcontrol="false" zoom="4"]

List of Attributes for the Store Locator #

[ASL_STORELOCATOR search_2=”city,state”]This will add another secondary search that can work with any field including custom fields, you can specify the field names comma-separated.
[ASL_STORELOCATOR template=”list”]Possible options (0,1, 2, 3, 4, list)
[ASL_STORELOCATOR cluster=”1″]Possible options (0,1, 2)
[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″]The default Coordinates of the 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 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 5000+ or 10000
[ASL_STORELOCATOR font_color_scheme=”1″]Possible options (0,1). “1” will enable single-category selection, the default value is “0” which is multi-category selection.
[ASL_STORELOCATOR color_scheme=”1″]Possible options (0,1,2,3,4) – Change the font color of theme 0
[ASL_STORELOCATOR color_scheme_1=”1″]Possible options (0,1,2,…,9) – Changes theme 0 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″]The default coordinates of the 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 an 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″]This will override the settings of category selection that can be either single or multiple 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 on 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 pre-select that category and the store locator will load with that preselection.
[ASL_STORELOCATOR select_brand=”7″]Possible options (Product Id). For default Product Selection, use the attribute select_brand, it will select that product and will apply the respective filter on the store locator.
[ASL_STORELOCATOR select_special=”3″]Possible options To show only a few stores in a Store Locator or a separate page, the stores attribute can be used.
[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, the store’s 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 markers can be enabled through the 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 title_only=”1″]Remove the category name from the marker hover text.
[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 infobox.
[ASL_STORELOCATOR stores_limit=”100″]To show up the limited number of stores on the Store locator.
[ASL_STORELOCATOR mobile_stores_limit=”50″]To show up the limited number of stores on the Store locator on mobile devices.
[ASL_STORELOCATOR ddl_max_height=”400″]To change the height of the category dropdown control.
[ASL_STORELOCATOR click_redirect=”1″]Redirect to the website URL instead of showing up the marker infobox on the marker click event.
[ASL_STORELOCATOR search_dist_sort=”1″]This attribute will set the sorting to distance once the search is performed, initially the sorting can be title or any other attribute.
[ASL_STORELOCATOR default_store=”xxx”]Showing a default store when there are no results in the search due to applied filters, replace xxx with the store id.
[ASL_STORELOCATOR default-addr=”New York”]This will load the store locator by performing a search to New York on the page load.
[ASL_STORELOCATOR info_y_offset=”-150″]When the store marker infobox is trimmed outside on the top, you can apply offset to the y-axis.
[ASL_STORELOCATOR info_x_offset=”50″]When you want to apply the x-axis offset to the info box that loads on the marker click.
[ASL_STORELOCATOR category_bound=”0″]To disable the changing the bounds when the category selection is applied.
[ASL_STORELOCATOR image_filter=”1″]This option will show the category icons in the category dropdown control.
[ASL_STORELOCATOR state_restrict=”1″]This option will restrict the search to perform in only the added states, for example: if Springfield is in two states, it will only result in the state where you have the store.
[ASL_STORELOCATOR target_blank=”1″]This will open the links in the new tab for the website call to action button.
[ASL_STORELOCATOR kml=”1″]This will hide the hours from the store locator listing and info box.
[ASL_STORELOCATOR hide_hours=”1″]This will hide the hours from the store locator listing and infobox.
[ASL_STORELOCATOR hide_logo=”1″]This will hide the hours from the store locator listing and info box.
[ASL_STORELOCATOR and_filter=”1″]This will enable the filtering to work with AND condition instead of OR condition.
[ASL_STORELOCATOR search_name_limit=”10″]This will enable you to show up to 10 results in the type ahead of the database address or name search, default is 5.
[ASL_STORELOCATOR do_bounce=”0″]This will stop the marker bounce as you hover over the store listing item.
[ASL_STORELOCATOR mouseover_list=”1″]This will enable you to replace the click event of the list with the mouseover for the store list.

List of Attributes for the Google Maps #

[ASL_STORELOCATOR gesture_handling=”cooperative”]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 the zoom control
[ASL_STORELOCATOR maptypecontrol=”false”]To disable the map type option
[ASL_STORELOCATOR scalecontrol=”false”]To disable the scale control option
[ASL_STORELOCATOR fullscreencontrol=”false”]To disable the full-screen view option
[ASL_STORELOCATOR streetviewcontrol=”false”]To disable the street view option
[ASL_STORELOCATOR maxzoom=”15″]The possible value between (10 to 22)
[ASL_STORELOCATOR minzoom=”5″]The possible value between (10 to 22)