Log in
Model

ImageProvider

Magento\Checkout\Model\Cart\ImageProvider

What it does

This class retrieves product thumbnail images for all items in a shopping cart.

Developers use it when they need to display cart item images in the mini-cart, checkout page, or other cart-related UI components.

It provides standardized image data including URL, alt text, width, and height for each cart item.

Public Methods

  • getImages()