Log in
Model

AbstractTotalsProcessor

Magento\Checkout\Model\Layout\AbstractTotalsProcessor

What it does

This abstract class provides functionality for processing and sorting totals (like subtotal, tax, shipping, grand total) displayed during checkout.

Developers extend this class when creating custom totals processors to ensure totals are displayed in the correct order based on the store's configuration settings in 'sales/totals_sort'.

Public Methods

  • sortTotals()