Log in
Interface

GuestCartTotalManagementInterface

Magento\Quote\Api\GuestCartTotalManagementInterface

What it does

This interface defines the API contract for collecting and calculating shopping cart totals for guest customers (non-logged-in users).

Developers use this when they need to update cart totals after setting shipping/billing methods or payment information for guest checkouts.

It's commonly used during the checkout process to display updated prices, taxes, and shipping costs before order placement.

Public Methods

  • collectTotals()