Log in
Model

UpdateProductsInWishlist

Magento\Wishlist\Model\Wishlist\UpdateProductsInWishlist

What it does

This class handles updating existing products in a customer's wishlist.

Developers use it when customers want to modify wishlist items, such as changing product quantities, descriptions, or configurable options.

It validates the updates, checks if the product is enabled, and returns a structured output with any errors that occurred during the update process.

Public Methods

  • execute()