omnichat/magento2 问题修复 & 功能扩展

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

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

omnichat/magento2

Composer 安装命令:

composer require omnichat/magento2

包简介

A Magento 2 module to integrate your magento store with OmniChat

README 文档

README

Description

This Magento 2 module allows you to integrate your magento store with OmniChat

Features

  • Allows cart access via token-based URL (e.g., /cart/?cart_id=123).
  • Extends the default Magento cart page layout.
  • Sending order updates to OmniChat.
  • Automatic configuration of integration in OmniChat.
  • Abandoned carts and Abandoned cart campaigns.
  • Integration with OmniChat Whizz agent

Installation Instructions

Follow these steps to install the module in your Magento 2 instance:

Step 1: Download the module

You can install this module using Composer. Run the following command:

composer require omnichat/magento2

Step 2: Enable the module

After the module is installed, run the following commands to enable it:

php bin/magento module:enable Vendor_OmniChat
php bin/magento setup:upgrade
php bin/magento setup:di:compile

Step 3: Clear Cache

Clear the Magento cache:

php bin/magento cache:clean
php bin/magento cache:flush

Now, the module should be successfully installed and activated.

Folder Structure

Here is the folder structure of the module:

app
└── code
    └── Vendor
        └── OmniChat
            ├── etc
            │   └── adminhtml
            │   │   └── routes.xml
            │   │   └── sytem.xml
            │   └── acl.xml
            │   └── config.xml
            │   └── di.xml
            │   └── events.xml
            │   └── module.xml
            ├── Model
            │   ├── Config
            │   │   └── Backend
            │   │       └── Encrypted.php
            ├── Observer
            │   └── NotifyApiOnSaveConfig.php 
            │   └── OrderAfterSave.php       
            ├── Plugin
            │   └── CartLoaderPlugin.php
            ├── view
            │   └── adminhtml
            │       └── layout
            │       │   └── adminhtml_system_config_edit.xml
            │       └── web
            │           └── css
            │           └── js
            └── registration.php
  • etc/adminhtml/routes.xml: Defines the custom routes for the module.
  • etc/adminhtml/system.xml: Defines the configuration options available in the admin panel.
  • acl.xml: Contains permissions configuration settings for the module in admin panel.
  • config.xml: Contains configuration settings for the module in admin panel.
  • di.xml: The dependencies injection for the module.
  • events.xml: Declares event observers for the module.
  • module.xml: Declares the module in Magento.
  • Model/Config/Backend/Encrypted.php: Contains the logic for encrypt and decrypt fields used in admin panel.
  • Observer/NotifyApiOnSaveConfig.php: Contains the logic for handling events when save config in admin panel.
  • Observer/OrderAfterSave.php: Contains the logic for handling events after save order.
  • Plugin/CartLoaderPlugin.php: Contains the logic for managing cart access.
  • view/adminhtml/layout/adminhtml_system_config_edit.xml: Defines the layout for the admin panel frontend.
  • view/web/css: Contains custom css for module in admin panel.
  • view/web/js: Contains custom js for module in admin panel.

Uninstallation

To remove the module from your Magento 2 instance:

  1. Disable the module:

    php bin/magento module:disable Vendor_OmniChat
  2. Remove the module using Composer:

    composer remove omnichat/magento2
  3. Run the following commands to complete the removal:

    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento cache:clean

omnichat/magento2 适用场景与选型建议

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

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

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

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

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

BUG 修复 & 性能优化

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

项目外包 & 长期维护

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

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

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 12
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-10-09