This simple Magento 2 module listens to the Magento 2 internal round() function and rounds the price before to 1/20th (0.05). For example, a value of 1.23 will be rounded up to 1.25 and a value of 0.97 will be rounded down to 0.95.
This functionality is particularly wide-spread in Switzerland, but is not dependent on a specific currency.
- Magento version 2.2.x or greater
Using Composer:
composer require comsolit/rappenrunden
Manual Installation (without composer):
Copy the files to app/code/Comsolit/RappenRunden
In the backend go to:
Stores -> Configuration -> Comsolit -> Rappen Runden
and under General -> Enable Rappen Runden
set the Option to Yes
.
Do not forget to refresh your cache.
Version 0.0.4 [03 January 2023]
- Fix non-numeric value issue
Version 0.0.3 [07 April 2020]
- 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