Log in
Model

ChildSku

Magento\ConfigurableProductGraphQl\Model\Wishlist\ChildSku

What it does

This GraphQL resolver retrieves the SKU of the selected simple product child when a configurable product is added to a wishlist.

Developers use this class to expose the specific variant (size, color, etc.) that was chosen in the wishlist GraphQL API, returning an empty string if no variant was selected at the time of adding to wishlist.

Public Methods

  • resolve()