Log in
Model

PricePersistence

Magento\Catalog\Model\Product\Price\PricePersistence

What it does

PricePersistence handles database operations for product prices in Magento 2.

Developers use this class when they need to programmatically retrieve, update, or delete product price data in bulk, particularly when working with price attributes stored in EAV tables.

It's commonly used in import/export operations, price synchronization tasks, or custom pricing modules.

Public Methods

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