Log in
Model

MultishippingClearItemAddress

Magento\Multishipping\Model\Cart\MultishippingClearItemAddress

What it does

This class handles the cleanup of shipping addresses and item assignments when a customer switches from multishipping checkout back to regular single-address checkout.

Developers would use this class when implementing cart operations that need to ensure the quote is properly reset from multishipping mode, such as when updating cart items or changing quantities.

Public Methods

  • clearAddressItem()