customgento/module-cli-tax-editor-m2

Magento 2 CLI 税率编辑器添加了一个CLI命令来更新税率。

资助包维护!
customgento

安装次数: 4,129

依赖项: 0

建议者: 0

安全性: 0

星标: 7

关注者: 3

分支: 4

开放问题: 0

类型:magento2-module

v1.0.6 2024-05-30 20:21 UTC

This package is auto-updated.

Last update: 2024-08-30 20:48:48 UTC


README

Magento 2 CLI 税率编辑器添加了一个CLI命令来更新税率。这对于一个国家的一般税率变更非常有用,这些变更必须精确地在特定日期执行。可以定义一系列税率ID的新税率。

命令

编辑现有税率的税率

$ bin/magento tax:rates:edit [--ids[="..."]] [--rate[="..."]] [--update-titles]

选项

--ids 以逗号分隔的税率ID列表

--rate 新的税率(整数或带小数点的浮点数)

--update-titles 更新税率的代码和标题