Log in
Model

FormattedPriceInfoBuilder

Magento\Catalog\Model\ProductRender\FormattedPriceInfoBuilder

What it does

This builder class converts raw numeric price values from a product's price information object into formatted currency strings suitable for display in the storefront.

Developers use this when rendering product prices to ensure all numeric values are properly formatted with currency symbols and decimal places according to the store's locale and currency settings.

Public Methods

  • build()