Log in
Interface

QuoteResetAppliedRulesInterface

Magento\SalesRule\Model\Spi\QuoteResetAppliedRulesInterface

What it does

This interface defines a contract for resetting applied sales rules (cart price rules/promotions) on a quote/shopping cart.

Developers would implement or use this when they need to clear all previously applied discount rules from a cart, typically before recalculating prices or when cart conditions change significantly.

Public Methods

  • execute()