«Price Format» extension


(Dmitry Fedyuk) #1

The «Price Format» Magento 2 extension allows you to setup a custom display format for the prices and other currency values (discounts, taxes, sales amounts, etc.) both for the frontend and the backend areas.
The source is on GitHub: https://github.com/mage2pro/currency-format

The price display settings are individual per currency and per store.
The extension supports unlimited number of currencies.

How to buy

Use the PayPal form below:

You can try it before buy

Use the self-installation instruction below.

How to install

1. Free installation service

Just order my free installation service.

2. Self-installation

composer require mage2pro/currency-format:*
bin/magento setup:upgrade
rm -rf pub/static/* && bin/magento setup:static-content:deploy en_US <additional locales, e.g.: de_DE>
rm -rf var/di var/generation generated/code && bin/magento setup:di:compile

If you have some problems while executing these commands, then check the detailed instruction.



The settings are located in the StoresConfigurationMage2.PROCurrencyFormat backend section:

You can setup the following display options for each currency:

Show the Decimals?
If you hide the decimals then a currency will be shown as 512 instead of 512.00.
The fractional part is rounded: 512.79 → 513, 512.39 → 512.

Decimal Separator
It could be a point or a comma, so the price will be shown like 512.79 or 512,79.

Currency Symbol Position
A currency symbol can be shown either before or after an amount, e.g.: $512.79 or 512,79 €.

Delimit Currency Symbol from Amount?
If enabled, a currency symbol will be delimited from an amount with the thin space.

Thousands Separator
You have the 4 options: none, thin space, comma, or period, so a price wiull be show as 5120 or 5 120 or 5,120 or 5.120.


How is a price rendered on a frontend product view page?
The Magento_Catalog/js/price-utils::formatPrice() pollutes the global formatting settings with local ones because of a wrong lodash extend / assignIn usage
The global «groupLength» property has an incorrect «,» value instead of a natural number in Magento_Catalog/js/price-utils
How to format a money value (e.g. price) in JavaScript?
Should I duplicate my questions in public and private messages simultaneously?
When currency has thousand comma separator price saved wrong
(Dmitry Fedyuk) #2

2 posts were split to a new topic: Is the «Price Format» extension’s license valid for multiple domains or just one?

(Dmitry Fedyuk) #4

2 posts were split to a new topic: How to use the «Price Format» extension for multiple currencies at once?

(Dmitry Fedyuk) #7

2 posts were split to a new topic: How we can format amount with decimal figures?

(Dmitry Fedyuk) #8

A post was merged into an existing topic: Does the «Price Format» extension supports Magento 2.1.1 version?

(Mohammed Alnaqaa) #9

I purchased this extension and I would like to get the free installation please

(Dmitry Fedyuk) #10

Thanks for purchasing the extension.
Please provide me SSH access for the installation.

(Mohammed Alnaqaa) #11

I have responded to the email notification. do you need FTP ?

(Dmitry Fedyuk) #12

No, SSH is enough.

(Mohammed Alnaqaa) #13

great. I sent it to your email.

(Ankit Agarwal) #14

Is this extension works for Magento 2 Enterprise Edition?

(Dmitry Fedyuk) #15

All the Mage2.PRO extensions are compatible with the Magento Enterprise Edition.

(Ankit Agarwal) #16

Great, thanks. We will proceed to purchase then.

(Nuriddin Anvarov) #17

Здарова братан!

Мы установили Ваш продукт на сайт и что выдает ошибки css можжете помочь?

(Dmitry Fedyuk) #18

I support the paying customers only.

(Abdulaziz Mohammed) #19


Does this fix the time format: 1,00,00,00.00 which should be: 1,000,000.00
To have an idea, please visit: www.maarid.me


(Dmitry Fedyuk) #20

What does the 1,00,00,00.00 number mean?

(Abdulaziz Mohammed) #21

It’s 1 million: 1,000,000.00

Besides, does the module supports Magento 2.2.3?

(Dmitry Fedyuk) #22

There is the 1,00,00,00.00 format happen exactly? I do not see it on maarid.me and never seen it in Magento.

(Abdulaziz Mohammed) #23

I mean the same format, but we have this link which represent the issue: