iop / magento2_order-grid
添加了 coupon_code 和 discount_amount 列的 Magento 2 后端订单网格视图
1.0.0
2020-04-25 08:52 UTC
Requires
- php: ~7.1.3||~7.2.0||~7.3.0
- magento/framework: 102.0.*
This package is auto-updated.
Last update: 2024-09-29 05:36:13 UTC
README
测试版本
- Magento 2.3.5-p1
- Magento 2.3.4
- Magento 2.3.1
主要功能
- 订单网格 UI 组件自定义 [添加了 coupon_code, discount_amount 列]
- 在安装期间,从 sales_order 复制 [coupon_code, discount_amount] 值到 sales_order_grid 表。
- 在放置新订单后,自动复制 [coupon_code, discount_amount] 值到 sales_order_grid 表。
特性
- 通过 Setup/Path/Data 和 Setup/Path/Schema 进行设置/更新。
安装
使用 Composer
使用以下命令将此模块安装到 Magento 2 中
composer require iop/magento2_order-grid
bin/magento module:enable Iop_OrderGrid
bin/magento setup:upgrade
手动(不使用 composer)
以下是步骤
- 将文件上传到您站点的
app/code/Iop/OrderGrid
文件夹 - 运行
php -f bin/magento module:enable Iop_OrderGrid
- 运行
php -f bin/magento setup:upgrade
- 刷新 Magento 缓存
php -f bin/magento cache:flush
- 完成
卸载说明
bin/magento module:uninstall --non-composer Iop_OrderGrid
截图
作者
Igor Ocheretnyi