faonni / module-price
faonni/module-price
Rounding Price to Prettier Value for Multi-Currency Stores.
Magento2 Rounding Price
Rounding Price to Prettier Value for Multi-Currency Stores.
Compatibility
Magento CE(EE) 2.0.x, 2.1.x, 2.2.x, 2.3.x, 2.4.x
Base prices - US Dollar
Store prices - Euro
Store rounding prices - Round fractions down, precision is 0
Store rounding prices - Round fractions down, precision is -1
Store rounding prices - Round fractions down, precision is -1 and enabled Subtract Amount
Store rounding prices - Round fractions down, precision is -1 and enabled Subtract Amount(negative)
Configuration
The idea of adding a rounding algorithm 'Swedish rounding' is suggested by ScIT-Raphael.
Install with Composer as you go
-
Go to Magento2 root folder
-
Enter following commands to install module:
For Magento CE (EE) 2.0.x, 2.1.x, 2.2.x, 2.3.x
composer require faonni/module-price:2.0.*For Magento CE (EE) 2.4.x
composer require faonni/module-price:2.4.*Wait while dependencies are updated.
-
Enter following commands to enable module:
php bin/magento setup:upgrade php bin/magento setup:static-content:deploy
No changelog yet
The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.
| Version | Stability | QA Status | Compatibility | Released |
|---|---|---|---|---|
| 2.4.3 | stable | Fail | Magento 2.4.7-2.4.9 Details | 2021-09-09 18:10:59 |
| 2.0.17 | stable | Not tested | Not yet tested Details | 2021-09-09 18:10:34 |
| 2.0.16 | stable | Not tested | Not yet tested Details | 2020-12-21 20:58:37 |
| 2.4.2 | stable | Not tested | Not yet tested Details | 2020-12-21 20:57:39 |
| 2.4.0 | stable | Not tested | Not yet tested Details | 2020-09-07 07:01:10 |
| 2.0.15 | stable | Not tested | Not yet tested Details | 2020-06-09 20:21:11 |
| 2.0.14 | stable | Not tested | Not yet tested Details | 2019-08-18 11:30:54 |
| 2.0.13 | stable | Not tested | Not yet tested Details | 2018-05-03 18:58:22 |
| 2.0.12 | stable | Not tested | Not yet tested Details | 2018-01-24 20:51:06 |
| 2.0.11 | stable | Not tested | Not yet tested Details | 2017-12-20 21:31:55 |
| 2.0.10 | stable | Not tested | Not yet tested Details | 2017-11-09 07:12:49 |
| 2.0.9 | stable | Not tested | Not yet tested Details | 2017-10-03 17:03:56 |
| 2.0.4 | stable | Not tested | Not yet tested Details | 2017-04-01 17:18:24 |
Requires 5
| Package | Constraint |
|---|---|
| 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.* |
Compatibility
Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.
Code Quality
Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge. A phpcs finding can't make a module incompatible.
Static analysis
Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.
Tests
Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.
Unit tests
Integration tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Security
Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.
More from faonni
View vendorTurn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.