faonni / module-price
为多货币店铺将价格四舍五入到更美观的值。
2.4.3
2021-09-09 18:06 UTC
Requires
- magento/framework: 103.0.*
- magento/module-catalog: 104.0.*
- magento/module-directory: 100.4.*
- magento/module-sales-rule: 101.2.*
- magento/module-store: 101.1.*
README
为多货币店铺将价格四舍五入到更美观的值。
兼容性
Magento CE(EE) 2.0.x, 2.1.x, 2.2.x, 2.3.x, 2.4.x
基础价格 - 美元
店铺价格 - 欧元
店铺四舍五入价格 - 向下取整,精度为 0
店铺四舍五入价格 - 向下取整,精度为 -1
店铺四舍五入价格 - 向下取整,精度为 -1 并启用减去金额
店铺四舍五入价格 - 向下取整,精度为 -1 并启用减去金额(负数)
配置
添加四舍五入算法“瑞典四舍五入”的想法是由 ScIT-Raphael 提出的。
使用 Composer 随时安装
-
转到 Magento2 根目录
-
输入以下命令以安装模块
对于 Magento CE (EE) 2.0.x, 2.1.x, 2.2.x, 2.3.x
composer require faonni/module-price:2.0.*
对于 Magento CE (EE) 2.4.x
composer require faonni/module-price:2.4.*
等待依赖项更新。
-
输入以下命令以启用模块
php bin/magento setup:upgrade php bin/magento setup:static-content:deploy