Log in
Model

Sidebar

Magento\Checkout\Model\Sidebar

What it does

This deprecated class manages sidebar shopping cart operations in Magento 2, including adding, updating, and removing quote items.

Developers would use this to handle mini-cart interactions like quantity updates and item removal, though Magento recommends using alternative approaches in newer implementations.

Public Methods

  • getResponseData()
  • checkQuoteItem()
  • removeQuoteItem()
  • updateQuoteItem()