Log in
Model

Config

Magento\Sales\Model\Config

What it does

This class provides access to sales-related configuration data, specifically for managing totals renderers and available product types.

Developers use it to retrieve renderer configurations for displaying order/quote totals in different areas (frontend/adminhtml) and to get lists of product types that can be ordered.

It acts as a facade to the sales module's configuration data container.

Public Methods

  • getTotalsRenderer()
  • getGroupTotals()
  • getAvailableProductTypes()