Log in
Model

Processor

Magento\Quote\Model\Quote\Item\Processor

What it does

This processor class handles the initialization and preparation of quote items when products are added to a shopping cart.

Developers use this class to set up new quote items with proper store ID, manage quantities when items are added or updated, and apply custom pricing.

It's primarily used internally by Magento's cart management system during the add-to-cart process.

Public Methods

  • init()
  • prepare()
  • merge()