wubinworks / module-price-formatter
Formatting Price has never been easier with this extension. A Price Formatter for Magento 2.
Installs: 22
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 1
Open Issues: 0
Type:magento2-module
pkg:composer/wubinworks/module-price-formatter
Requires
- php: >=7.3
- magento/framework: *
- magento/magento2-base: ~2.4.0
- magento/module-backend: *
- magento/module-catalog: *
- magento/module-config: *
- magento/module-currency-symbol: *
- magento/module-directory: *
- magento/module-theme: *
This package is not auto-updated.
Last update: 2025-10-28 20:06:34 UTC
README
Formatting Price has never been easier with this extension.

-
Can use HTML and support "per Store View" configuration
-
Placeholders:
{{price}},{{price_no_decimal}},{{price_bitcoin}},{{symbol}} -
For
{{symbol}}, CheckStores > Currency > Currency Symbols -
Example: 金{{price_no_decimal}}円
-
Decimal places:
- {{price}} => 2
- {{price_no_decimal}} => 0
- {{price_bitcoin}} => 8
-
HTML使用可。ストアごとに設定可
-
プレースホルダー:
{{price}},{{price_no_decimal}},{{price_bitcoin}},{{symbol}} -
{{symbol}}は店舗 > 通貨 > 通貨記号を参照 -
例: 金{{price_no_decimal}}円
-
小数位:
- {{price}} => 2
- {{price_no_decimal}} => 0
- {{price_bitcoin}} => 8
How to use
Read the description above and go to backend Stores > Configuration > Currency Setup > Currency Options > Price Format
上を読んで、バックエンドの店舗 > 設定 > 通貨セットアップ > 通貨オプション > Price Formatへ
Requirements
Magento 2.4
Installation
composer require wubinworks/module-price-formatter
For developers
The format you set in Price Format affects method \Magento\Framework\Pricing\Helper\Data::currency in frontend area.