Log in
Model

MsrpPriceInfo

Magento\Msrp\Model\ProductRender\MsrpPriceInfo

What it does

This model stores and manages MSRP (Manufacturer's Suggested Retail Price) pricing information for product rendering in the frontend.

Developers use this class to display MSRP prices, control price visibility behavior (like showing price on click), and manage related messaging when products have minimum advertised pricing restrictions.

It implements the MsrpPriceInfoInterface to ensure consistent MSRP data handling across product listings and detail pages.

Public Methods

  • setMsrpPrice()
  • getMsrpPrice()
  • setIsApplicable()
  • getIsApplicable()
  • setIsShownPriceOnGesture()
  • getIsShownPriceOnGesture()
  • setMsrpMessage()
  • getMsrpMessage()
  • setExplanationMessage()
  • getExplanationMessage()
  • getExtensionAttributes()
  • setExtensionAttributes()