main-image

StoreLocator

Getting Started

Overview

Welcome to Landofcoder!
We would like to thank you for purchasing Extensions of Landofcoder!

Compatibility
Lof StoreLocator is fully compatible with Magento Community Edition 2.0.0, 2.0.2, 2.0.4, 2.0.6, 2.0.7, 2.1.0, 2.1.x

  • Fully responsive magento 2 StoreLocator extension
  • Support editor for inserting image, gmap.
  • Magento 2 Extension supports search your store location on gmap
  • Manage easily with Live Preview gmap in admin config
  • Support font awesome, font color for Marker on gmap
  • Easy-to-use & intuitive interface

Installation

The module we provide 2 ways of magento 2 slider installation which was supported by magento 2

1. INSTALLATION FROM COMMAND LINE (RECOMMENDED)

Your magento 2 extension can be installed in a few minutes by going through these following steps:

  • Download/purchase the extension
  • Unzip the file in a temporary directory
  • Upload it to your Magento installation root directory
  • Disable the cache under System->Cache Management
  • Enter the following at the command line in SSH terminal:
  • php bin/magento setup:upgrade
    php bin/magento setup:static-content:deploy
  • After opening Stores->Configuration->Advanced->Advanced, the module will be shown in the admin panel

2. MANUAL INSTALLATION

  • Download/purchase the extension
  • Unzip the file in a temporary directory
  • Upload it to your Magento installation root directory
  • Disable the cache under System->Cache Management
  • Edit app/etc/config.php file and three line code:
    ‘Lof_StoreLocator’ => 1
  • Clean the cache under System->Cache Management
  • After opening Stores->Configuration->Advanced->Advanced, the module will be shown in the admin panel

3. UPGRADING DATABASE

If you need to upgrade the database, run the following command line:

php  bin/magento setup:db-schema:upgrade

Congrats! You finished install the extension, now you can go forward!

Now your site will have a page name “Lof StoreLocator” with link same http://demo4coder.com/dev/storelocator/

Extension Version Update

Usage

Config Extension StoreLocator on admin site

The StoreLocator we are using API Gmap js. You should register and get a key API google map config on your website

Add Filter Tag’s and Categories

On Site we have provide 2 function advance search related to Tag’s and Categories

Please see images config:

1. Add Tag’s in Admin

Admin > StoreLocator > Add New Tag

1. Add Categories in Admin

Admin > StoreLocator > Add New category

Add StoreLocator

1. Admin > StoreLocator > Add New StoreLocator

2. General Information StoreLocator

  • Name: Add the Name to show as Location name on front end
  • DescriptionInput description on frontend

  • Store’s Link: Enter your store link
  • Position: Use sort-order when show list on frontend

3. Gmap Location

You Should enter all your information about your store at here, it related to location on google map show at frontend page

  • Tags: Check tag that you want to search on frontend page
  • Categories: Check categories that you want to search on frontend page

4. Opening Time

This config show at right column page when you click details a location

5. Social

This config show at right column page when you click details a location

Location Details Page

1. Location Details Page

Run cron job to import storelocator items

On new version of the module we added cron job function allow import store locator information, tags, categories into database by csv files.

  • You should create 2 folders, and config permission 0777 for them:

pub/storelocator : the folder you will input the csv files which you want to import.

var/storelocator_imported : the folder will store the imported csv files.

  • You can config enable/disable cron job in admin > Store > Configuration > Landofcoder > Store locator > Scheduled Import Location Settings
  • To run cron job task of the module, please run command via SSH terminal:
  • php bin/magento cron:run –group=lof_storelocator

Also you can force run the cron job task click on menu item: admin > Landofcoder > Store Locator > Force Run Cron Job

Before run cron job, you should add the csv file into the folder “pub/storelocator/”. You can view the sample file at here: sample_storelocator.csv

To add tag and categories for storelocator item you should add the columns in csv file as this:

1.Tags:

tag_name : can use comma to add more tag name

tag_description : can use the char | to add more tag description

tag_position: can use the char | to add more tag position

For example:

tag_name,tag_description,tag_position

“tag name 1,tag name 2,tag name 3″,”tag desc1|tag desc2″,”1|2|3”

 

2.Categories:

category_name : can use comma to add more category name

category_description : can use the char | to add morecategory description

category_position: can use the char | to add morecategory position

For example:

category_name,category_description,category_position

“category name 1,category name 2,category name 3″,”category desc1|category desc2″,”1|2|3”

 

Note:

  • If you want to import new information for exist store locator item, you should add column “id
  • If you want to import store locator for multi store views. You should add the value (store view ids of your site) for the column “store_id“. Use comma for multi store view, For example: 2,3,4
Top