landofcoder/module-sendgrid

Sendgrid 同步 Magento 2 与 Sendgrid

1.0.4 2021-10-29 08:35 UTC

This package is auto-updated.

Last update: 2024-09-09 17:01:50 UTC


README

``landofcoder/module-sendgrid-integration``

主要功能

landofcoder/Magento 2 Sendgrid 扩展支持有效地控制您的电子邮件营销策略。

安装

* = 在生产环境中请使用 --keep-generated 选项

类型 1: Zip 文件

  • 将 zip 文件解压到 app/code/Lof
  • 通过运行 php bin/magento module:enable Lof_SendGrid 启用模块
  • 通过运行 php bin/magento setup:upgrade 应用数据库更新*
  • 通过运行 php bin/magento cache:flush 清除缓存

类型 2: Composer

  • 将模块添加到 composer 存储库,例如
    • 私有存储库 repo.magento.com
    • 公共存储库 packagist.org
    • 公共 github 存储库作为 vcs
  • 通过运行 composer config repositories.repo.magento.com composer https://repo.magento.com/ 将 composer 存储库添加到配置
  • 通过运行 composer require landofcoder/module-sendgrid-integration 安装模块
  • 通过运行 php bin/magento module:enable Lof_SendGrid 启用模块
  • 通过运行 php bin/magento setup:upgrade 应用数据库更新*
  • 通过运行 php bin/magento cache:flush 清除缓存

配置

  1. 创建 SendGrid 账户

  2. 获取 sendgrid api

  3. 在 sendgrid 上创建订阅联系人列表

  4. 在 sendgrid 上创建退订联系人列表

  5. 模块配置

  • 启用(sendgrid/general/enabled)

  • API 密钥(sendgrid/general/api_key)

  • 订阅列表(sendgrid/general/subscribe_list)

  • 退订列表(sendgrid/general/unsubscribe_list)

  • 其他列表(sendgrid/general/other_list)

  • 在 SendGrid 中添加未订阅状态的客户(sendgrid/general/add_customer)

  • webhook_url(sendgrid/general/webhook_url)

  • Webhook Url(sendgrid/general/list_for_new_customer)

  • Cron 启用(sendgrid/sync/cron_enable)