boxalino/exporter-magento2 问题修复 & 功能扩展

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

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

boxalino/exporter-magento2

Composer 安装命令:

composer require boxalino/exporter-magento2

包简介

Boxalino Data Exporter for Magento2 plugin

README 文档

README

Notice

The Data Exporter Layer is replaced by the Data Integration Layer. For integrations to come, please use the DI plugin: https://github.com/boxalino/data-integration-magento2

Get in touch with Boxalino for migrations from Data Exporter to Data Integration. Migration to Data Integration documentation available on wiki https://github.com/boxalino/rtux-integration-magento2/wiki/DI:-Migration-from-Exporter-to-Data-Integration

Boxalino Exporter - Magento2

Introduction

For the Magento2 integration, Boxalino comes with a divided approach: data exporter, framework layer and integration layer. The current repository is used for the data exporter layer.

About the data synchronization

With the use of the Boxalino account it is possible to create 2 data indexes: production (your live setup) and development (staging area). The account name, password and the data index have to be configured in the plugin.

In case you plan on using both data indexes, there is a timing restriction: the development data index must be updated at least 2 hours after the production index.

Data synchronization types

The export options have been designed as generic Magento 2 indexers. They can be identified in the Magento`s System >> Index Management view.

  1. The Boxalino Exporter (Full) must be executed once/day. The time of the execution has to be after your store data has been updated by the other 3rd party events.

It requires to be configured with the Magento Indexer mode "Update on Save".

  1. The Boxalino Delta Exporter can be executed as often as every 25 min. Beware, there should be no delta exports for the 2 hours after a full data export.

It can be configured with the Magento Indexer mode "Update by Schedule". When "Update on Save" is used, the products export logic will rely on the catalog_product_entity.updated_at field to identify latest changes in the products.

Setting up exporter

Check the exporter integration documentation

The exporter can be executed with the use of the Magento cron jobs, mview or CLI.

  1. Edit & save the Boxalino Exporter configurations in your Magento Store Configurations.
  2. Create a crontab.xml in which the crons can be defined. Pay attention to the scheduler times
<group id="default">
  <job name="boxalino_exporter_delta" instance="Boxalino\Exporter\Model\Indexer\Delta" method="executeFull">
      <schedule>*/30 7-23 * * *</schedule>
  </job>
  <job name="boxalino_exporter" instance="Boxalino\Exporter\Model\Indexer\Full" method="executeFull">
        <schedule>15 2 * * *</schedule>
    </job>
</group>

Add the cron job only for the indexer that uses the "Update on Save" mode (check the Index Management view in Magento2 back-end)

  1. If mview is enabled for the project, configure the schedule time to ensure that delta exports do not happen more often than every 30min.

The mview checks the "execute" function of the boxalino_exporter_delta indexer For the mview use, set the "Boxalino Delta Exporter" mode to "Update by Schedule" Check the [exporter integration documentation](https://github.com/boxalino/rtux-integration-magento2/wiki/Exporter

CLI

The data synchronization can also be triggered with the use of a command line:

php bin/magento indexer:reindex boxalino_exporter

php bin/magento indexer:reindex boxalino_exporter_delta

Contact us!

If you have any question, you can reach us at support@boxalino.com

boxalino/exporter-magento2 适用场景与选型建议

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

它主要适用于以下技术方向: 「magento」 「exporter」 「boxalino」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

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

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

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-08-07