wubinworks/module-price-formatter 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

wubinworks/module-price-formatter

最新稳定版本:1.0.0

Composer 安装命令:

composer require wubinworks/module-price-formatter

包简介

Formatting Price has never been easier with this extension. A Price Formatter for Magento 2.

README 文档

README

Formatting Price has never been easier with this extension.

Wubinworks Price Formatter

  • Can use HTML and support "per Store View" configuration

  • Placeholders: {{price}}, {{price_no_decimal}}, {{price_bitcoin}}, {{symbol}}

  • For {{symbol}}, Check Stores > 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.

统计信息

  • 总下载量: 23
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2024-02-05