Model
AddConfigurableProductsToCart
Magento\ConfigurableProductGraphQl\Model\Resolver\AddConfigurableProductsToCart
What it does
This GraphQL resolver handles adding configurable products (like t-shirts with size/color options) to the shopping cart via GraphQL API.
Developers use this class when building headless or PWA storefronts that need to add configurable products through GraphQL mutations, ensuring proper validation of cart IDs and product options before adding items to the cart.
Public Methods
- resolve()
- run()