sailthru/sailthru-magento2-extension 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sailthru/sailthru-magento2-extension

Composer 安装命令:

composer require sailthru/sailthru-magento2-extension

包简介

Sailthru Module for Magento

README 文档

README

Sailthru Magento 2 Extension

Installation Instructions

  1. Get the module via composer composer require sailthru/sailthru-magento2-extension
  2. Enable the module bin/magento module:enable Sailthru_MageSail
  3. Upgrade the database bin/magento setup:upgrade (Depending on Magento mode, you may need to run magento setup:di:compile)
  4. Go to Magento Admin > Stores > Configuration > Sailthru to configure. Visit the Sailthru Documentation Site for setup documentation.

Note: If sync'ing variant products with no visible individual URL, you should enable "Preserve Fragments" in Sailthru here.

Javascript Setup

The Sailthru MageSail module comes ready to use Sailthru's new PersonalizeJs javascript. To add page-tracking and gather onsite data like pageviews and clicks:

  1. Add your Customer ID (found here) to vendor/sailthru/sailthru-magento2-extension/view/frontend/web/spm.js

Please contact Sailthru to learn more about and enable Site Personalization Manager.

To define transactional template to be overriden by Sailthru

Declare new transactional email template in ./etc/template_config.xml file that can be created within any module. Each template definition in ./etc/template_config.xml has four required parameters that are defined in ./etc/template_list.xsd file. Required parameters are:

  1. id - transactional email template identifier in Magento 2
  2. name - template title which will be displayed in Admin Panel -> Stores -> Configuration -> Sailthru -> Transactionals -> General Transactionals dropdown list
  3. custom_template_source - Core Config Path to native Magento 2 transactional email template ID value. Is utilized when custom email template overrides default Magento 2 email template
  4. sort_order - template sort order

After updating the ./etc/template_config.xml file run php bin/magento cache:clean config to clean Config cache. To extend or change structure of a transactional email templates override config file use ./etc/template_list.xsd file.

Use Magento Email Queue

Sailthru Magento 2 extension utilizes standard Magento queueing functionality.

  1. Go to Admin > Stores > Configuration > Sailthru > Messaging > Advanced
  2. Set flag "Use Magento Email Queue" to Yes and save configuration
  3. Make sure Magento cron is setup and running
  4. To test Sailthru messages queue consumer execute:
$ php bin/magento queue:consumers:start sailthru.email.send.consumer.db
OR
$ php bin/magento queue:consumers:start sailthru.email.send.consumer.amqp

RabbitMQ integration

Instead of standard database based queue broker RabbitMQ can be used

Refer to Magento Guide: RabittMQ Setup

sailthru/sailthru-magento2-extension 适用场景与选型建议

sailthru/sailthru-magento2-extension 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 41.64k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2016 年 08 月 29 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 sailthru/sailthru-magento2-extension 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 sailthru/sailthru-magento2-extension 我们能提供哪些服务?
定制开发 / 二次开发

基于 sailthru/sailthru-magento2-extension 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 41.64k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 36
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2016-08-29