ew / magento2-currency-symbol-position
Module that allows setting the currency symbol position.
Installs: 24
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 2
Open Issues: 1
Type:magento2-module
Requires
- php: >=8
- magento/framework: >=103
- magento/module-directory: >=100
- magento/module-store: >=101
- psr/log: >=1
This package is auto-updated.
Last update: 2025-04-15 16:25:10 UTC
README
This module allows setting the currency symbol position by creating a configuration option under "Admin > Stores > Configuration > General > Currency Setup > Currency Options" to define if the currency symbol should render on the right or on the left.
Install
-
Install this module via composer within your Magento installation by running from your Magento's root directory:
composer require ew/magento2-currency-symbol-position
-
Then, to register the module and make its configurations take effect, run:
bin/magento setup:upgrade
Common Usage
After installing this module you will find in the admin area under "Admin > Stores > Configuration > General > Currency Setup > Currency Options" different options to configure the currency symbol position:
- "Default" : This is Magento's default behavior, which will usually render the currency symbol on the left,
but for some store locales it might render on the right (e.g.
fr_CH
). - "Left" : This will make the currency symbol always render on the left.
- "Right" : This will make the currency symbol always render on the right.
Also, keep in mind that if you require any white space between the currency symbol and the actual price, you can add such space by updating the currency symbol in the admin area under "Admin > Stores > Currency Symbols", and including any left or right spaces you need.
License
OSL-3.0