Or you can download the latest zip file from releases, drop it into your app folder, copy the contents of src folder into the main folder and then run the last 2 commands above.
It requires magento 2.1 or above and php7 (for php5.6 use v.1.0.6).
Visit the extension website: http://claudiucreanga.me/magento2-store-locator-stockists-extension/
You need to use your own gmaps api key. Go to https://developers.google.com/maps/documentation/javascript/get-api-key and get your own key and then insert it in configuration > stockists > Gmaps Api Key. Otherwise the map may not work because of Gmaps' daily limits.
country field should be the 2 letter ISO code. Example: GB for United Kingdom and US for USA;
image should be the path of the image which is built from the first to letters separated by slash and then the name of the image. Example: for image test.png the path is /t/e/test.png. The image should be placed in folder pub/media/storelocator_stockists/stockist/image/t/e/ (last 2 letters changed of course);
if you want a stockist to be in multiple stores you can pass the ids of stores comma separated inside the store_id field;
To make sure your csv file is formatted correctly, you can open it in a text editor. It should look like this (comma separated and quoted values):
Export
Just click export stores and a file will be saved by your browser on your computer;
Support
I DO NOT offer any free technical support in installing or customizing this extension.
This extention works out of the box with any magento 2.1 site, but depending on your theme it may need further styling.
If you need help please ask questions on http://magento.stackexchange.com/ .
Demo
Main dashboard:
* Location in admin:
* Settings:
Frontend full page:
Frontend store window:
Store Details:
Frontend search:
Driving directions:
Uninstall
If you installed it manually:
remove the folder app/code/Storelocator/Stockists;
drop the tables storelocator_stockists_stores (drop table storelocator_stockists_stores);
remove the config settings. DELETE FROM core_config_data WHERE path LIKE 'storelocator_stockists/%'
remove the module Storelocator_Stockists from app/etc/config.php
remove the module Storelocator_Stockists from table setup_module: DELETE FROM setup_module WHERE module='Storelocator_Stockists'
If you installed it via composer:
run this in console: php bin/magento module:uninstall -r Storelocator_Stockists.