Log in
Model

ToOrder

Magento\Quote\Model\Quote\Address\ToOrder

What it does

This converter class transforms a Quote Address object into a Sales Order object during the checkout process.

Developers would use or extend this class when customizing the order creation flow, such as adding custom fields from quote addresses to orders or modifying how quote data is transferred to orders.

It's a critical component in Magento's quote-to-order conversion pipeline.

Public Methods

  • convert()