drip_app / magento2-payments
Magento 2 的分期付款
0.1.6
2022-09-23 19:55 UTC
README
安装
1: 压缩文件
- 解压缩包到
app/code/Drip/Payments
文件夹 - 使用命令
php bin/magento module:enable Drip_Payments --clear-static-content
启用模块 - 使用命令
php bin/magento setup:upgrade
更新数据库 - 使用命令
php bin/magento cache:clean
清除应用程序缓存 - 使用命令
php bin/magento setup:di:compile
生成模块类的新缓存 - 再次生成静态内容
php bin/magento setup:static-content:deploy
- 如果存在权限问题,使用命令
chmod 777 -R var/ pub/ generated/
2: 通过 Composer
- 使用命令
composer require drip_app/magento2-payments
通过 composer 安装模块 - 使用命令
php bin/magento module:enable Drip_Payments --clear-static-content
启用模块 - 使用命令
php bin/magento setup:upgrade
更新数据库 - 使用命令
php bin/magento cache:clean
清除应用程序缓存 - 使用命令
php bin/magento setup:di:compile
生成模块类的新缓存 - 再次生成静态内容
php bin/magento setup:static-content:deploy
- 如果存在权限问题,使用命令
chmod 777 -R var/ pub/ generated/
更新
- 更新 drip payments 模块:
composer require drip_app/magento2-payments:* --update-with-dependencies
- 使用命令
php bin/magento setup:upgrade
更新数据库 - 使用命令
php bin/magento cache:clean
清除应用程序缓存 - 如果存在权限问题,使用命令
chmod 777 -R var/ pub/ generated/
要安装上一个稳定版本(0.0.17)
- 使用命令
composer require drip_app/magento2-payments:0.0.17
通过 composer 安装模块 - 遵循
通过 composer 安装
指南