Log in
Model

BasePriceStorage

Magento\Catalog\Model\Product\Price\BasePriceStorage

What it does

This class manages base product prices in Magento 2, providing functionality to retrieve and update prices for products.

Developers use this class when they need to programmatically get or set product base prices across different store views, ensuring prices are validated and properly scoped (global, website, or store view) according to the catalog configuration.

Public Methods

  • get()
  • update()