Log in
Model

CartItemProcessor

Magento\ConfigurableProduct\Model\Quote\Item\CartItemProcessor

What it does

This class handles the conversion and processing of configurable product options in shopping cart items.

Developers use it to transform selected product attributes (like size, color) between API format and internal Magento format when adding configurable products to the cart or retrieving cart data through the API.

Public Methods

  • convertToBuyRequest()
  • processOptions()