Log in
Model

CollectQuote

Magento\Checkout\Model\Cart\CollectQuote

What it does

This class handles the collection and calculation of quote totals for logged-in customers during cart operations.

It automatically retrieves the customer's default shipping address and estimates shipping methods to ensure accurate pricing and totals are displayed.

Developers use this when they need to trigger quote recalculation based on customer address information in the checkout process.

Public Methods

  • collect()