Log in
Interface

ChangeQuoteControlInterface

Magento\Quote\Api\ChangeQuoteControlInterface

What it does

This interface defines a contract for checking whether a user has permission to modify a shopping cart (quote) in Magento 2.

Developers implement this interface to create custom authorization logic that determines if operations like adding/removing items, changing quantities, or updating addresses should be allowed for a specific quote.

It's commonly used in checkout flows and cart management to enforce business rules and access controls.

Public Methods

  • isAllowed()