aligent / magento-stockists-module
适用于 Magento 2 的分销商位置模块
v2.2.0
2023-11-29 00:00 UTC
Requires
- php: >=7.3
- magento/magento-composer-installer: *
Requires (Dev)
- phpunit/phpunit: ~4.6
- dev-main
- v2.2.0
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.2.14
- 1.2.13
- 1.2.12
- 1.2.11
- 1.2.10
- 1.2.9
- 1.2.8
- 1.2.7
- 1.2.6
- 1.2.5.3
- 1.2.5.2
- 1.2.5.1
- 1.2.5.0
- 1.2.4.2
- 1.2.4.1
- 1.2.4.0
- 1.2.1
- 1.2.0
- 1.1.0
- dev-feature/add_pagination_functionality
- dev-fix/get_identities_cache_tag_default_value
- dev-feature/update_codeowners
- dev-feature/return_createSearchCriteria_to_public_function
- dev-fix/prevent_internal_error_on_stockist_update_request
- dev-fix/stockist_resource_model_handle_default_store_id
- dev-develop-1.x
- dev-feature/remove_null_constraint_on_url_key
- dev-fix/remove_null_contraint_on_url_key
- dev-feature/BEG-82_add_geocoding_api_region_biasing_control
- dev-feature/handle_null_explode_main
- dev-feature/handle_null_explode
- dev-feature/php_7.2_up_support
- dev-feature/fix_pagebuilder_configuration
- dev-feature/fix_gallery_pagebuilder_attribute
- dev-fix/15_geocoding_response_status
- dev-fix/15_geocode_response_backport
- dev-feature/version_2
- dev-fix/radius-arg-required
- dev-feature/extension-attribute-dataprovider
- dev-fix/stockist-button-rename
- dev-feature/handle_null_hours_and_null_public_holidays
- dev-feature/save_region_by_name_not_id
- dev-feature/add_ability_to_disable_stockists
- dev-fix/avoid_triggering_type_warnings_with_null
- dev-fix/render_media_urls_from_pagebuilder
- dev-fix/address_suburb_data_missing_in_graphql
- dev-feature/add_new_field_into_db
- dev-fix/hours_cannot_save_from_admin
This package is auto-updated.
Last update: 2024-08-29 02:40:15 UTC
README
本模块旨在允许供应商添加实体店信息,包括地址和坐标,并提供以下功能:
- 通过纬度/经度查找商店
- 通过 URL 键查找商店(用于单个商店页面)
- 使用 PageBuilder 的丰富文本描述
安装
要通过 composer 安装,只需运行
composer require aligent/magento-stockists-module
配置
地理编码设置可以在 商店 -> 配置 -> Aligent -> 分销商
下找到。默认情况下,使用的是 Google Maps API,但可以指定任何 URL。
查看/添加/编辑分销商
此模块添加了一个新的“分销商”菜单,提供了以下选项
- 所有分销商:以网格形式查看所有当前分销商
- 添加分销商:直接进入新的分销商表单
添加新分销商时,必须输入以下信息
- 是否激活?
- 标识符
- 名称
- URL 键
- 商店 ID(选择 1 个或多个商店视图)
- 国家
- 州/省(如果所选国家需要的话)
- 邮政编码
还可以添加其他信息,例如电话号码、街道地址和营业时间。
GraphQL
提供了两个 GraphQL 查询
-
stockists
- 返回给定半径内的分销商列表,按距离排序
- 必须提供客户的纬度和经度作为输入
-
stockist
- 根据标识符或 URL 键返回单个分销商的信息