elgentos / module-eu-tax-rates
Magento 2 扩展,用于将欧盟税额导入 Magento。
1.2.0
2022-08-05 05:49 UTC
Requires
- php: ^7.4||^8.0
- magento/framework: ^103.0
- magento/module-directory: ^100.4
- magento/module-tax: ^100.4
Requires (Dev)
- youwe/coding-standard-magento2: ^1.7.0
- youwe/testing-suite: @stable
This package is auto-updated.
Last update: 2024-09-17 11:05:24 UTC
README
此 Magento 2 模块使您能够导入包含欧盟所有国家税率的 CSV 文件。它还将创建一些基本配置中使用的相关税则。
税率
您可以在以下位置找到当前税率:这里。
安装
可以使用 Composer 安装此软件包。
composer require elgentos/module-eu-tax-rates bin/magento module:enable Elgentos_EuTaxRates bin/magento setup:upgrade
使用方法
要使用此脚本,您可以在命令行上运行以下命令
bin/magento elgentos:eutaxes:create [--reset=1] [--file=path/to/file.csv]
当设置 reset
选项时,现有的税率将删除。如果未设置,则只导入不存在的税率,并更新税则。
如果您有要导入的自定义税率文件,可以使用 file
选项并添加 CSV 文件作为其值。
贡献
欢迎拉取请求。对于主要更改,请首先提出问题以讨论您希望更改的内容。
请确保根据需要更新测试。