Log in
Model

CartItemProcessor

Magento\GroupedProduct\Model\Quote\Item\CartItemProcessor

What it does

This class processes grouped product options when adding items to the shopping cart via API or programmatically.

It converts between the API format (grouped_options) and Magento's internal format (super_group) that the cart system expects, ensuring grouped product children and their quantities are properly handled during cart operations.

Public Methods

  • convertToBuyRequest()
  • processOptions()