CatalogPrice
Magento\Catalog\Model\Product\CatalogPrice
What it does
This class acts as a centralized price retrieval system for products in external catalogs or integrations.
Developers use it to get accurate product prices (both final and regular) that account for product-specific pricing logic based on product type, store context, and tax inclusion preferences.
It delegates to specialized price models for different product types (simple, configurable, bundle, etc.) to ensure correct price calculation.
Public Methods
- getCatalogPrice()
- getCatalogRegularPrice()