comsolit/rappenrunden

将价格存储为1/20或1/10 - 即:为货币的0.05或0.1

安装次数: 12,469

依赖项: 0

建议者: 0

安全: 0

星星: 6

关注者: 7

分支: 10

开放性问题: 3

类型:magento2-module

0.0.3 2020-04-20 08:47 UTC

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