macpain / module-custom-order-numbers
自定义订单号码。用于更改订单、发票、发货、信用memo生成的号码的Magento 2模块。
v1.0.2
2023-05-12 10:08 UTC
Requires
- macpain/module-core: ^1.0.0
README
``macpain/module-customordernumbers``
主要功能
自定义订单号码。用于更改订单、发票、发货、信用memo生成的号码的Magento 2模块。
安装
* = 在生产环境中请使用 --keep-generated
选项
类型 1:ZIP 文件
- 解压ZIP文件到
app/code/MacPain
- 通过运行
php bin/magento module:enable MacPain_CustomOrderNumbers
启用模块 - 通过运行
php bin/magento setup:upgrade
应用数据库更新* - 通过运行
php bin/magento cache:flush
清除缓存
类型 2:Composer
- 将模块添加到Composer仓库中,例如
- 私有仓库
repo.magento.com
- 公共仓库
packagist.org
- 公共GitHub仓库作为vcs
- 私有仓库
- 通过运行
composer config repositories.repo.magento.com composer https://repo.magento.com/
将Composer仓库添加到配置中 - 通过运行
composer require macpain/module-customordernumbers
安装模块 - 通过运行
php bin/magento module:enable MacPain_CustomOrderNumbers
启用模块 - 通过运行
php bin/magento setup:upgrade
应用数据库更新* - 通过运行
php bin/magento cache:flush
清除缓存