Log in
Model

BasePriceStorage

Magento\Catalog\Model\Product\Price\BasePriceStorage

What it does

This class manages the storage and retrieval of base product prices in Magento 2.

Developers use it to programmatically get or update product prices across different store views, with built-in validation for SKUs, price values, and store configurations.

It handles price scope rules (global, website, or store view) and ensures prices are applied correctly according to catalog configuration.

Public Methods

  • get()
  • update()