Log in
Model

CatalogPrice

Magento\Catalog\Model\Product\CatalogPrice

What it does

This class acts as a facade for retrieving catalog prices for different product types in Magento 2.

It delegates price calculations to specific price models based on the product type, returning either the final price or regular price.

Developers use this when they need to get consistent pricing across different product types (simple, configurable, bundle, etc.) in external catalogs or integrations.

Public Methods

  • getCatalogPrice()
  • getCatalogRegularPrice()