CartItemOptionsProcessor
Magento\Quote\Model\Quote\Item\CartItemOptionsProcessor
What it does
This class manages the conversion and processing of shopping cart item options in Magento 2.
Developers use it to handle product-specific options (like configurable product selections, custom options, etc.) when adding items to the cart or converting cart items to buy requests.
It acts as a coordinator that delegates option processing to specific processors based on product type.
Public Methods
- getBuyRequest()
- applyCustomOptions()
- addProductOptions()