Log in
Model

SuperAttributeDataProvider

Magento\Wishlist\Model\Wishlist\BuyRequest\SuperAttributeDataProvider

What it does

This class processes configurable product options from wishlist items and converts them into the format required for adding products to cart.

Developers use this when customers want to move configurable products from their wishlist to their shopping cart, as it extracts the selected super attributes (like size, color) and formats them correctly for the buy request.

Public Methods

  • execute()