Log in
Model

RuleQuoteRecollectTotals

Magento\SalesRule\Model\Queue\Consumer\RuleQuoteRecollectTotals

What it does

This class processes asynchronous queue messages to recalculate shopping cart totals when a sales rule (promotion/coupon) is modified.

Developers use this consumer to ensure that all affected shopping carts automatically update their prices and discounts after rule changes without blocking the admin user.

It handles database errors gracefully with retry logic for temporary failures.

Public Methods

  • process()