Log in
Interface

CartItemProcessorInterface

Magento\Quote\Model\Quote\Item\CartItemProcessorInterface

What it does

This interface defines the contract for processing cart item options and converting them to buy request objects.

Developers implement this interface when creating custom product types or extending cart functionality to handle product-specific options, custom configurations, or special purchase requirements during the quote/cart process.

Public Methods

  • convertToBuyRequest()
  • processOptions()