Model
RemoveFromCompareList
Magento\CompareListGraphQl\Model\Service\RemoveFromCompareList
What it does
This service class handles removing products from a customer's compare list in GraphQL operations.
Developers use this when implementing the removeProductsFromCompareList mutation to allow customers to delete specific products from their comparison list by iterating through product IDs and removing matching compare items.
Public Methods
- execute()