Log in
Model

SpecialPrice

Magento\CatalogGraphQl\Model\Resolver\Product\SpecialPrice

What it does

This GraphQL resolver retrieves a product's special price for API responses.

Developers use this class to expose special pricing information through Magento's GraphQL API, ensuring the special price is only returned when the product is configured to show prices and a special price value exists.

Public Methods

  • resolve()