Log in
Model

PricePersistence

Magento\Catalog\Model\Product\Price\PricePersistence

What it does

This class handles database persistence operations for product price attributes in Magento 2.

Developers use it to retrieve, update, or delete product prices in bulk by SKU, managing the underlying database operations for price attributes in the catalog_product_entity_decimal table.

It's primarily used internally by Magento's pricing system or when building custom price management features.

Public Methods

  • get()
  • update()
  • delete()
  • retrieveSkuById()
  • getEntityLinkField()
  • updateLastUpdatedAt()