CartItemOptionsProcessor
Magento\Quote\Model\Quote\Item\CartItemOptionsProcessor
What it does
This class processes and manages cart item options, including custom options and product-type-specific configurations.
Developers use it when they need to convert cart item data to buy request parameters or apply custom product options to items in the shopping cart.
It acts as a central coordinator that delegates option processing to specialized processors based on product type.
Public Methods
- getBuyRequest()
- applyCustomOptions()
- addProductOptions()