Log in
Model

MergeCarts

Magento\QuoteGraphQl\Model\Resolver\MergeCarts

What it does

This GraphQL resolver handles merging a guest shopping cart into a customer's cart when they log in.

Developers would use this when implementing the GraphQL mergeCarts mutation to transfer items from an anonymous session cart to an authenticated customer's cart, typically during the login or registration flow.

Public Methods

  • resolve()