yellowmap / addressverification-plugin-oxid-v7
Yellowmap为Oxid 7的模块
1.0.0
2023-07-31 09:52 UTC
This package is auto-updated.
Last update: 2024-09-30 01:41:59 UTC
README
Oxid eShop插件,用于在表单中建议地址
通过composer安装
- 使用控制台连接到web服务器,导航到包含composer.json文件的店铺基本文件夹
- 执行以下命令
composer require yellowmap/addressverification-plugin-oxid-v7
- 在composer安装完成后激活模块
vendor/bin/oe-console oe:module:activate ymaddressverification
手动安装
-
将内容复制到店铺安装的新目录"vendor/yellowmap/addressverification-plugin-oxid-v7"中
-
更新店铺的主要composer.json文件(在源和vendor文件夹旁边)。添加以下块
"autoload": {
"psr-4": {
"YellowMap\\YMAddressVerification\\": "./vendor/yellowmap/addressverification-plugin-oxid-v7"
}
}
- 使用控制台连接到web服务器,导航到店铺基本文件夹
- 安装oxid模块配置
vendor/bin/oe-console oe:module:install vendor/yellowmap/addressverification-plugin-oxid-v7
- 安装模块资源
vendor/bin/oe-console oe:module:install-assets
- 创建自动加载文件
composer dump-autoload
- 激活oxid模块
vendor/bin/oe-console oe:module:activate ymaddressverification
配置
模块配置
通过模块设置,您可以设置Smartmaps API密钥,使用功能所必需。
使用方法
- 当进入需要地址的表单(注册、客座结账、用户配置文件地址)时,yellowmap模块将增强街道字段。
- 在这个字段中,您可以输入地址提示(街道、邮编、门牌号等),模块将根据输入建议现有结果。
关于国家限制的说明
- 默认情况下,建议将限制为“主设置 > 设置 > 全局”中配置的国家(地区)。
- 如果表单的国家字段被设置(选择国家或第一次自动完成之后),搜索现在仅限制为此国家。
- 如果没有选择国家(下拉列表设置为“-”),则应用默认行为。
作者
FATCHIP GmbH | https://www.fatchip.de | support@fatchip.de
许可证
见LICENSE文件