openstream/mage2_rappenrunden

Rounds store prices to 1/20th or 1/10th - ie: to 0.05 or 0.1 of your currency

Installs: 1 826

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 10

Type:magento2-module

0.1.0 2023-01-23 10:39 UTC

This package is auto-updated.

Last update: 2025-04-23 15:15:59 UTC


README

Introduction

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.

Requirements

  • Magento version 2.2.x or greater

Installation

Using Composer:

composer require comsolit/rappenrunden

Manual Installation (without composer):

Copy the files to app/code/Comsolit/RappenRunden

Enable the Module

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.

Changelog

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