Log in
Model

CanApplyMsrp

Magento\Msrp\Model\Quote\Address\CanApplyMsrp

What it does

This class determines whether MSRP (Manufacturer's Suggested Retail Price) display rules should be applied to a quote address.

Developers use this when they need to check if any items in a shopping cart address have MSRP pricing enabled and should display special pricing messages before order confirmation, typically during checkout.

Public Methods

  • isCanApplyMsrp()