Model
FormattedPriceInfo
Magento\Catalog\Model\ProductRender\FormattedPriceInfo
What it does
This model stores formatted price information for product rendering in the frontend, including final prices, regular prices, special prices, and min/max price variations.
Developers use this class when displaying product prices in custom templates or through the Product Render API to ensure consistent price formatting across different product types and price scenarios.
Public Methods
- getFinalPrice()
- setFinalPrice()
- getMaxPrice()
- setMaxPrice()
- getMinimalPrice()
- getMaxRegularPrice()
- setMaxRegularPrice()
- getMinimalRegularPrice()
- setMinimalRegularPrice()
- setSpecialPrice()
- getSpecialPrice()
- setMinimalPrice()
- getRegularPrice()
- setRegularPrice()
- getExtensionAttributes()
- setExtensionAttributes()