📊 State of Magento 2025

The Home for Magento 2 Excellence

Quality-tested Magento 2 modules. Explore. Evaluate. Elevate. #magento2

613 Modules
401 Ready
211 Need Help
🏆 Leaderboard
Potentially Abandoned v1.0.1

Magento2 Price Decimal

sagoontech/magento2-price-decimal

Removes ".00" from product prices on the frontend, displaying prices like $500 instead of $500.00. Works on catalog, product, cart, and checkout pages.

16,843
Downloads
Below average
4
GitHub Stars
Below average
3y ago
Last Release
2
Open Issues
Build Passing
Ready to install

Build Tests

Composer Install
DI Compile
Templates

Code Quality

CS Coding Standard
143 warnings
L1 PHPStan

Tested on Magento 2.4.8-p3

Recent Test History

Each release is tested against the latest Magento version at that time.

v1.0.1 on Magento 2.4.8-p3
Dec 28, 2025

Share This Module's Status

Magento2 Price Decimal Magento compatibility status badge

README

Loaded from GitHub

Price Decimal for Magento 2

This extension will allow you to remove only .00 from your frontend product prices.

Remove ".00" decimal from price in magento2

For Example,

$500.00 => $500

$19.99 => $19.99

Removes from:

  1. Catalog Page
  2. Product view page
  3. Compare page
  4. Cart page
  5. Checkout page
  6. Recently Viewed Product widget
  7. Mention if you know other places ;)

Installation using Composer Magento® 2 use the Composer to manage the module package and the library. Composer is a dependency manager for PHP. Composer declare the libraries your project depends on and it will manage (install/update) them for you.

Check if your server has composer installed by running the following command:

composer –v If your server doesn’t have composer installed, you can easily install it by using this manual: https://getcomposer.org/doc/00-intro.md

Step-by-step to install the Magento 2 extension through Composer:

  1. Connect to your server running Magento® 2 using SSH or other method (make sure you have access to the command line).

  2. Locate your Magento® 2 project root.

  3. Install the Magento® 2 extension through composer and wait till it's completed:

    composer require sagoontech/magento2-price-decimal

  4. Once completed run the Magento module enable command:

    bin/magento module:enable SagoonTech_Base SagoonTech_PriceDecimal

  5. After that run the Magento upgrade

    bin/magento setup:upgrade

    If Magento is running in production mode you may also need to redeploy the static content:

    bin/magento setup:static-content:deploy

  6. Now, run compilation (only if your instance is in production):

    bin/magento setup:di:compile

  7. Clear the cache

    bin/magento cache:flush

  8. After the installation: Go to your Magento admin portal and from Menu find "Sagoon Tech > Price Decimal System > Price Decimal Config" and enable it.

This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.