Log in
Interface

ProductReaderInterface

Magento\Quote\Model\Cart\ProductReaderInterface

What it does

This interface defines a contract for loading and retrieving products in the cart context.

Developers implement this interface to create services that efficiently load multiple products by SKU for a specific store and then retrieve individual products from that loaded set, optimizing product data access during cart operations.

Public Methods

  • loadProducts()
  • getProductBySku()