Log in
Model

Config

Magento\Msrp\Model\Config

What it does

This configuration class manages settings for MSRP (Manufacturer's Suggested Retail Price / Minimum Advertised Price) functionality in Magento 2.

Developers use it to check if MAP pricing is enabled, retrieve display settings for actual prices, and get explanation messages shown to customers.

It provides a centralized way to access all MSRP-related configuration values from the admin panel.

Public Methods

  • setStoreId()
  • isEnabled()
  • getDisplayActualPriceType()
  • getExplanationMessage()
  • getExplanationMessageWhatsThis()