Log in
Model

SaveHandler

Magento\Quote\Model\QuoteRepository\SaveHandler

What it does

This class handles the complete save operation for shopping cart quotes in Magento 2.

It orchestrates saving all quote components including cart items, billing/shipping addresses, and shipping assignments, ensuring data validation and proper persistence.

Developers would extend or plugin this class when customizing quote save behavior or adding additional validation before quotes are saved to the database.

Public Methods

  • save()