Log in
Model

TotalsAdditionalDataProcessor

Magento\Quote\Model\Cart\TotalsAdditionalDataProcessor

What it does

This class serves as an extension point for processing additional data related to shopping cart totals in Magento 2.

Developers can extend or plugin this class to add custom logic when cart totals are calculated with additional data, such as custom attributes or external pricing information.

The base implementation is intentionally empty, designed to be customized through plugins or preferences.

Public Methods

  • process()