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:
-
Disable the module:
php bin/magento module:disable Vendor_OmniChat
-
Remove the module using Composer:
composer remove omnichat/magento2
-
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 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 omnichat/magento2 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
This simple PHP class allows you to easily generate Smartsupp.com JS chat code.
Client for the REST API plugin of the OpenFire Server
LinkedIn API PHP SDK with OAuth 2.0 & CSRF support. Can be used for social sign in or sharing on LinkedIn. Examples. Documentation.
LinkedIn API PHP SDK with OAuth 2.0 & CSRF support. Can be used for social sign in or sharing on LinkedIn. Examples. Documentation.
Magento 2 Social Login extension is designed for quick login to your Magento 2 store without procesing complex register steps
统计信息
- 总下载量: 4.18k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-10-09