faonni / module-price

faonni/module-price

Rounding Price to Prettier Value for Multi-Currency Stores.

  • Karliuka Vitalii
magento2-module Compatibility: 2.4.7-2.4.9 Code Quality: Fail Tests: N/A Security: Pass OSL-3.0

Are you the maintainer of faonni?

Packagento pulls faonni's Composer packages from the public registry so buyers can find them here.

Claim the namespace to take ownership, publish new releases directly, and start charging for premium versions.

Claim this namespace →

Magento2 Rounding Price

Total Downloads
Latest Stable Version

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

Magento2 Rounding Price

Store prices - Euro

Magento2 Rounding Price

Store rounding prices - Round fractions down, precision is 0

Magento2 Rounding Price

Store rounding prices - Round fractions down, precision is -1

Magento2 Rounding Price

Store rounding prices - Round fractions down, precision is -1 and enabled Subtract Amount

Magento2 Rounding Price

Store rounding prices - Round fractions down, precision is -1 and enabled Subtract Amount(negative)

Magento2 Rounding Price

Configuration

Magento2 Rounding Price

The idea of adding a rounding algorithm 'Swedish rounding' is suggested by ScIT-Raphael.

Install with Composer as you go

  1. Go to Magento2 root folder

  2. 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.

  3. 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.

Versions
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.

Compatibility matrix (Magento × PHP)
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Pass Pass
2.4.8 Pass Pass
2.4.9 Pass Pass

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.

Static analysis results
Tool Status Findings Summary
PHPCS Warning 16 16 warnings (ruleset: Magento2)
PHPMD Warning 2 2 rule violations (UnusedFormalParameter:2)
Cpd Pass 0
Composer validate Info 1 valid; 1 advisory note (composer validate --strict)

PHPStan

Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases.

PHPStan results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 3 3
2.4.8 3 3
2.4.9 3 3

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

Unit tests results by Magento and PHP version
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

Integration tests

Integration tests results by Magento and PHP version
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.

Security results
Tool Status Findings Summary
Composer audit Pass 0
Malware scan Pass 0
License
OSL-3.0
Authors

More from faonni

View vendor
Make it pay

Turn 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.