comsolit / rappenrunden
将价格存储为1/20或1/10 - 即:为货币的0.05或0.1
0.0.3
2020-04-20 08:47 UTC
Requires
- php: ^5.6|^7.0|^7.1|^7.2|^7.3|^7.4
- magento/framework: *
- magento/module-backend: *
- magento/module-store: *
This package is auto-updated.
Last update: 2024-08-28 14:04:59 UTC
README
Comsolit RappenRunden Magento2 扩展
简介
此简单的magento 2模块监听magento2内部round()函数,在将价格四舍五入到1/20(0.05)之前。例如,1.23的值将被四舍五入到1.25,而0.97的值将被向下四舍五入到0.95。
此功能在瑞士特别普遍,但并不依赖于特定货币。
要求
- Magento版本2.2.x或更高
安装
使用Composer
composer require comsolit/rappenrunden
手动安装(不使用composer)
将文件复制到 app/code/Comsolit/RappenRunden
启用模块
在后台导航到: 店铺 -> 配置 -> Comsolit -> Rappen Runden
,然后在 常规 -> 启用Rappen Runden
中将选项设置为 是
。
不要忘记刷新您的缓存。
变更日志
#####- 版本 0.0.3 [2020年4月7日]
- New Feature: allow switching between 0.05 and 0.1 rounding
- Dropped PHP 5.5 support;
- Dropped Magento 2.0.x and 2.1.x support;
- Added PHP 7.3 and 7.4 support
- Fixed issues with tier prices