gateway3d / magento2-personaliseit2
Gateway3D Personalise-iT
Requires
- magento/framework: >=102.0.0
This package is auto-updated.
Last update: 2024-09-05 14:34:07 UTC
README
简介
Personalise-iT 是由 Gateway3D 提供的 Magento 2 模块,它允许您的 Magento 安装集成到 Gateway3D 定制化平台。
安装
请注意,这些说明假设您有权访问主机。
获取代码
通过 SSH & Composer
下载此模块的最简单方法是通过 Composer。只需在 Magento 安装根目录中运行以下命令。
$ composer require gateway3d/magento2-personaliseit2
Using version ^2.0 for gateway3d/magento2-personaliseit2
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Installing gateway3d/magento2-personaliseit2 (2.0.0)
Loading from cache
Writing lock file
Generating autoload files
有关如何安装 Composer 以及如何使用 Composer 安装 Magento 的更多信息,请参阅 http://devdocs.magento.com/guides/v2.0/install-gde/prereq/integrator_install.html
使用 Magento 的命令行工具
有关使用 Magento2 命令行工具的更多信息,请参阅 http://devdocs.magento.com/guides/v2.0/config-guide/cli/config-cli-subcommands.html
启用模块
现在可以使用 Magento 的命令行工具启用 Personalise-iT 模块。
从根 Magento 目录运行以下命令。
$ bin/magento module:enable Gateway3D_PersonaliseIt
The following modules have been enabled:
- Gateway3D_PersonaliseIt
...
更新数据库
随后,还必须使用 Magento 命令行工具来更新数据库模式。
$ bin/magento setup:upgrade
Cache cleared successfully
File system cleanup:
...
连接 Magento 到 OMS
与最初使用 cronjob 将订单推送到 OMS 的 Personalise-iT 模块相比,Personalise-iT 2 现在依赖于 Magento 的标准 SOAP API,以便 OMS 能够从电子商务网站拉取订单。
为此,需要在 Magento 的管理后端 系统 > 集成 > 添加新集成 中创建一个新的 Magento 集成服务。
建议将 oms 输入为集成名称。至少,新的集成应获得对 Orders 和 Shipments API 的访问权限。
启用相关 API 后,可以激活集成,然后 Magento 将显示 访问令牌 和 访问密钥令牌。
请提供这两个令牌以及集成名称给您的 Gateway3D 实施人员,他们将配置 OMS 以从您的网站拉取订单。
当前限制
由于 Personalise-iT 2 是完全重写的,它目前与旧版 Magento v1 模块的功能不兼容。许多功能,如动态定价和多个 iframe URL,目前不支持,但将在不久的将来添加。
此外,Personalise-iT 2 被设计为仅与分布式个性化应用程序一起使用。分布式应用程序的 URL 将类似于以下格式
http://g3d-app.co.uk/s/app/acp2/en_GB/default.html
这与以下旧格式形成对比
http://app.gateway3d.com/acp/app/?l=acp2
如果您的应用程序无法通过新 URL 运行,请联系 support@gateway3d.com 讨论升级选项。