limesharp/stockists
Composer 安装命令:
composer require limesharp/stockists
包简介
This is a stockists store locator extension for magento2
README 文档
README
This is a feature rich stockists store locator extension for magento2.
Table of Contents
Install
$ composer require limesharp/stockists
$ composer update
$ php bin/magento setup:upgrade
$ php bin/magento setup:static-content:deploy
$ php bin/magento cache:clean
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.
Or you can also get it from the magento2 marketplace. (there it is the old version 1.0.6 with less features)
It requires magento 2.2 or above and php 7.1+ (for php 5.6 use v.1.0.6).
Visit the extension website: http://claudiucreanga.github.io/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.
Features
- Details: name, address, city, country, postcode, internal link, external link, telephone, email, schedule, description, intro, nearest station, distance;
- Images: upload images of your stores. Two images can be uploaded, one for index page and one for individual store pages;
- Individual store pages on your website;
- Import: import your stores from a csv file;
- Export: export stores to a csv file;
- Interactive map: stores positioned on the map via longitude and latitude;
- Geolocation: show nearest stores to user (in chrome only via https);
- Search: search functionality in the sidebar;
- Directions: show directions from user location to store (driving, walking, cycling or public transport);
- Map Styles: choose from over 10 different map styles to fit your store;
- Breadcrumbs: show/hide breadcrumbs;
- SEO: edit titles, meta descriptions and keywords;
- Url: chose your url where your store locator appears;
- Radius: Select and style your radius in settings;
- Unit: Chose between miles and kilometres;
- Pin: Use custom map pin;
- Responsive: Mobile responsive templates;
- Templates: Choose from 3 different templates;
- Api key: Use your own Gmaps api key for higher traffic;
Usage
Basic
- The default url is /stockists. So once installed go to www.website.com/stockists (insert store code if necessary);
- Location in admin is inside content menu > stockists;
- Name, latitude and longitude are required values;
- Bear in mind that chrome and some other browsers allow geolocation services only via https;
Import
- The csv file needs to be comma separated and values should be quoted;
- check the sample csv file in in docs folder;
- name, latitude and longitude are required;
- 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/limesharp_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/Limesharp/Stockists;
- drop the tables limesharp_stockists_stores (drop table limesharp_stockists_stores);
- remove the config settings. DELETE FROM core_config_data WHERE path LIKE 'limesharp_stockists/%'
- remove the module Limesharp_Stockists from app/etc/config.php
- remove the module Limesharp_Stockists from table setup_module: DELETE FROM setup_module WHERE module='Limesharp_Stockists'
-
If you installed it via composer:
- run this in console: php bin/magento module:uninstall -r Limesharp_Stockists.
limesharp/stockists 适用场景与选型建议
limesharp/stockists 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 64.99k 次下载、GitHub Stars 达 67, 最近一次更新时间为 2016 年 07 月 30 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「google maps」 「magento」 「store locator」 「magento2」 「stockists」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 limesharp/stockists 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 limesharp/stockists 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 limesharp/stockists 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
A Laravel Nova Google Maps Field.
Google Maps PHP SDK.
Magento 2 Social Login extension is designed for quick login to your Magento 2 store without procesing complex register steps
Magento - Clean up session extension
A Google Maps library for WordPress.
An easy way to integrate Google Maps with Laravel.
统计信息
- 总下载量: 64.99k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 69
- 点击次数: 13
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-07-30










