Log in
Model

CartItemProcessor

Magento\Bundle\Model\CartItemProcessor

What it does

This class processes bundle product options for shopping cart items in Magento 2.

It converts bundle option data between the buy request format (used when adding products to cart) and the cart item format (used for storage and display).

Developers use this when working with bundle products in the quote/cart system, particularly during cart operations and checkout.

Public Methods

  • convertToBuyRequest()
  • processOptions()