Log in
Model

GuestCartTotalManagement

Magento\Quote\Model\GuestCart\GuestCartTotalManagement

What it does

This class manages shopping cart total calculations for guest (non-logged-in) customers.

It acts as a proxy that converts the guest's masked cart ID into a real quote ID, then delegates the actual total collection to the registered customer cart total management service.

Developers use this when implementing guest checkout flows that need to calculate cart totals including payment methods and shipping costs.

Public Methods

  • collectTotals()