All our plugins are WooCommerce 3.0 compatible!

If you find any bugs or enhancements in this script get in touch with a clear description of the problem so we can fix it. We do not support modifications!

Requirements

The following things are required to run this script:

  • PHP 5.2.0+
  • MySQL 5+
  • Apache
  • optional WordPress 2.0+
  • WordPress 3.8+

Index

  1. Installation
  2. Features
  3. Troubleshooting

INSTALLATION

1. Upload the ZIP via the wordpress backend

  • Log into your website backend /wp-admin/
  • Go to Plugins -> Install -> Upload Plugin
  • Select the ZIP file and upload it
  • Active it and that’s it!

2. Upload it via FTP

  • Log into your webserver via FTP
  • Unzip the file on your PC
  • Upload the extracted folder to /wp-content/plugins/
  • Go into your backend and activate the Plugin

Return to the Index


FEATURES

Settings Panel

Where can I find the Store Locator settings?

You can find the everything inside your Admin Panel inside Store Locator -> Setting


General Settings

In the General settings are you have the following options:

  • Enable:
    Enable Store Locator to use the options below
  • Enter Google Api Key


Map

  • Enable:
    Enables Map.
  • Width (in Columns)
  • Default Latitude
  • Default Longitude
  • Default Map Type
  • Default Map Zoom
  • Distance Unit
  • Default Radius
  • Draw Radius Circle
  • Radius Select Steps
    Split the values by comma.
  • Distance Unit
  • Default Store Icon
  • Default Store Icon on Hover
  • Default User Icon


Infowindow

  • Enable Infowindow
  • Width
  • Details Width (in Columns)
  • Image Width (in Columns)
  • Opening Hours Width (in Columns)


Result List

  • Enable Result List
  • Position
  • Width (in Columns)
  • No Results Text
  • Maximum Results
  • Show Result List Icon
  • Result List Icon
  • Result List Icon Size
  • Result List Icon Color


Search Box

  • Enable Search Box
  • Enable Auto Geolocation
  • Save Auto Geolocation in Cookie?
  • Enable Autocomplete
  • Position
  • Width (in Columns)


Loading Screen

  • Loading
  • Loading Settings
  • Loading Icon
  • Loading Animation
  • Loading Icon Size
  • Loading Icon Color
  • Overlay Color
  • Overlay Transparency


Data to Show

  • Show Name
  • Show Description
  • Show Street
  • Show City
  • Show Country
  • Show Website and it’s Text
  • Show Email and it’s Text
  • Show Telephone and it’s Text
  • Show Mobile Phone and it’s Text
  • Show Fax and it’s Text
  • Show Opening Hours
  • Opening Hours Text, Clock Text and the Weekday text
  • Opening Hours Clock Text
  • Show Stores Categories
  • Show Stores Filter
  • Show Active Filter
  • Show Filter
  • Show Get Direction and it’s Text
  • Show Call Now and it’s Text
  • Show Visit Website and it’s Text
  • Show Write Email and it’s Text
  • Show Image
  • Image Dimensions


Button

This settings belong to the button on the product page.

  • Enable
  • Button Text
  • Button Position
  • Button Action
  • Store locator Title
  • Modal Code Position
  • Modal size


Defaults

You can add some defaults when adding stores.

  • Defaults
  • Default Address 1
  • Default Address 2
  • Default ZIP
  • Default City
  • Default Region
  • Default Country
  • Default Telephone
  • Default Mobile
  • Default Fax
  • Default Email
  • Default Website
  • Default Open (Mo – Fr)
  • Default Close (Mo – Fr)


Advanced Settings

Custom stylesheet / javascript.

  • Custom CSS:
    Add some stylesheet if you want.
  • Custom JS:
    Add some javascript if you want.


Return to the Index


TROUBLESHOOTING

Where can I find the Store Locator settings?

You can find the everything inside your Admin Panel in Store Locator -> Settings


I always get a Google Maps error (GEOCODE)

Please make sure you have setup your API Key correctly in the Google Console:

  • Allow your domain to access the key
  • Enable: Google Places API Web Service
  • Enable: Google Maps JavaScript
  • Enable: Google Maps Geocoding

How can I remove the maps padding?

Just add the following code inside advanced settings > custom CSS:

#store_modal .modal-body {
	padding: 0px;
} 

.store_locator_sidebar_content {
	padding: 15px 0px 15px 15px;
}

@media(max-width: 768px) {
	.store_locator_sidebar_content {
		padding-right: 15px;
	}
}

How can I increase the width of the Map?

Here for e.g. it uses a 80% width. Just add the following code inside advanced settings > custom CSS:

#store_modal .modal-lg {
	width: 80%;
}

@media(max-width: 768px) {
	#store_modal .modal-lg {
		width: auto;
	}
}

How do I output the store locator functionality to the front-end?

Please use this Shortcode: [ wordpress_store_locator ]


I found a bug / got an error

Please make a comment on codecanyon. We will take care asap!

CHANGELOG

# Changelog
======
1.2.8
======
- FIX: undefined index in public.php file for meta boxes request

======
1.2.7
======
- FIX: Default Country
- FIX: Import of new stores

======
1.2.6
======
- NEW: Sort by distance or alphabetically (settings > result list > sort by)
- NEW: Try updating stores during import (updating process is checked by store name)
- FIX: Store categories / filters are now sorted alphabetically ASC

======
1.2.5
======
- NEW: Import Store Opening Hours
- NEW: Export Opening Hours
- NEW: Slightly settings panel improvements

======
1.2.4
======
- FIX: DB Prepare statement

======
1.2.3
======
- NEW: Set a default store category to be active (Settings > Search Box > Default filter category)
- NEW: Description now also shows up in result list
- FIX: Description will now be exported correctly
- FIX: Description does not show up when no email was set up

======
1.2.2
======
- NEW:  When importing stores with no Latitute / Longitute (lat / lng) the system will try to fetch the data from Google Reverse Maps
		You will need to set a extra server side API Key this on the settings panel
- FIX: Result list height in the Modal

======
1.2.1
======
- NEW:  Use custom Map Styling (e.g. from https://snazzymaps.com OR https://mapstyle.withgoogle.com/)
		See settings -> Maps -> Styling
- NEW:  Select what happens when a user clicks on the stores name in the result list
		See settings -> Result list -> Link Action

======
1.2.0
======
- NEW: Automatically extend the map if no stores are found
- NEW: Excel files are now .xlsx (for Excel 2007 and higher), but you can still switch to Excel 5 if preferred
- NEW: Hide search Active filter
- NEW: Hide search Filters completley
- NEW: Hide search Title
- FIX: Hardcoded some CSS settings

======
1.1.7
======
- FIX: CSS bug border-box-size

======
1.1.6
======
- NEW: Autocomplete country restriction: restricts the users search only within a specific country
- NEW: Autocomplete type restriction. Only return city or zip code, but never street (specially used in US)
- NEW: Conditional Data loading (e.g. when a store has no email, it will not be ouputted as "undefined")

======
1.1.5
======
- NEW: Support for subcategories in Category Dropdown
- FIX: WP-Admin URL for settings buttons

======
1.1.4
======
- FIX: No Sidebar autoHeight
- FIX: Map Center position

======
1.1.3
======
- FIX: Issue with Sidebar Height
- FIX: Issue with Sidebar position

======
1.1.2
======
- FIX: Button does not show up on single product pages
- FIX: Search in this area button styling

======
1.1.1
======
- Name change to WordPress Store locator
- !!Important!! Before you upgrade make an export of your stores. Then update and import the exported stores. 

======
1.1.0
======
- NEW: Drag the map and a button appear to do a search in this area
- NEW: Stores & Categories can now be shown as items:
- NEW: Single Store: http://wordpress.db-dzine.com/store/clothes-1/
- NEW: Store Category: http://wordpress.db-dzine.com/store-categories/clothes-stores/
- NEW: Option to hide the get directions link
- NEW: Option to hide the search button
- NEW: Option to set a custom text for the search button
- NEW: Option to hide the result list title
- NEW: Updated Design
- NEW: When set a default position & auto location is disabled it automatically searches there
- NEW: Better Versioning
- FIX: Tel, Email, Web not showing on map
- FIX: Description showed "undefined"

======
1.0.10
======
- FIX: Import issue with categories (not appended, but replaced)

======
1.0.9
======
- NEW: Enter button now works in search field
- FIX: Description will now be shown
- FIX: Premium icon on all result items
- FIX: Versioning for JS / CSS files

======
1.0.8
======
- NEW:  When user declines HTML5 Geolocation or when it is not support, the user will now be 
		located by his IP address using the free service https://freegeoip.net (max. 10.000 requests per hour!)
- FIX: switched the Google Maps "Get Direction" position

======
1.0.7
======
- NEW: Code cleanup
- FIX: capability added for the import page

======
1.0.6
======
- NEW: Better plugin activation
- FIX: Better advanced settings page (ACE Editor for CSS and JS )
- FIX: array key exists

======
1.0.5
======
- FIX: Redux Framework error

======
1.0.4
======
- NEW: Import function for XLS-Files
- NEW: Get Sample Import file (dynamically creates categories / filters too)
- NEW: Export function to XLS
- NEW: Delete all stores

======
1.0.3
======
- FIX: Google new requires API Key for everything 
- FIX: API Key now also provided in backend

======
1.0.2
======
- FIX: error when Meta-Box Plugin was not installed & activated

======
1.0.1
======
- NEW: Removed the embedded Redux Framework AND Meta Boxes for update consistency
//* PLEASE MAKE SURE YOU INSTALL THE REDUX FRAMEWORK & Meta Box PLUGIN *//

======
1.0.0.3
======
- FIX: PHP 5.4 compatible errors

======
1.0.0.2
======
- FIX: Remove close button on shortcode pages
- FIX: when hiding active filters also hide the active filter text

======
1.0.0.1
======
- FIX: Bring back the close button 

======
1.0.0
======
- Inital release
Search