How to Display MSRP Price on Product Page in Magento 245 - A Step-by-Step Guide

Magento 2.4.5 display MSRP price on product page

Setting prices for your products can be tough. Set prices too high, and you miss out on valuable sales. Set them too low, and you miss out on valuable revenue. Thankfully, pricing doesn’t have to be a sacrifice or a shot in the dark. There are different pricing models and strategies that can help you better understand how to set the right prices for your audience and revenue goals. We will be discussing one of these today.

Whether you’re a business beginner or a pricing pro, the tutorial in this guide will get you comfortable with pricing your products on your Magento powered ecommerce store. First things first:

What is a pricing strategy?

A pricing strategy is a model or method used to establish the best price for a product or service. It helps you choose prices to maximize profits and shareholder value while considering consumer and market demand. Pricing strategies take into account many of your business factors, like revenue goals, marketing objectives, target audience, brand positioning, and product attributes. They’re also influenced by external factors like consumer demand, competitor pricing, and overall market and economic trends.

The best pricing strategy maximizes your profit and revenue, and with MSRP, you can do both.

What Does MSRP Price Mean?

MSRP is simply a recommended tool that retailers can utilize to set the prices on their products. The practice is supposed to ensure the fair trading of goods. The MSRP is usually 120% to 150% of the recognized wholesale price. With this guideline, some retailers set their pricing either at or somewhat below the MSRP.

As an online retailer, you are typically not bound to charge customers the MSRP. You can advertise prices either above, at or below the MSRP to encourage customers to buy your products.

Why Do Manufacturers Suggest Retail Prices?

To achieve maximum profitability, manufacturers suggest a retail price so they might realize a profit. They are producers of commodities and like any other business, they have overhead costs to be absorbed, materials ordered, labor hired, and taxes paid. A sticker price is what the manufacturer requests to cover these costs and still make a profit.

Custom Magento code for adding MSRP to any product

Done with populating your store with all your product and/or service offerings? But what if you want the MSRP displayed on the category/catalog/shop pages? The following is one solution, which will display the MSRP just before the regular product price in the catalog pages. You may need to do a little CSS style tweaking of the displayed MSRP price, depending on your theme and the look you want to achieve, but hopefully, the example here will be enough to get you started.

Login to your Magneto 2 admin panel and go to Stores>configuration > Sales > Sales > Minimum Advertised price >

(1) enable Map

(2) Display on Gesture

all theme don,t have MSRP price by default so you have to add code manually into the layout file

To Add MSRP Price go to  vendor/magento/module-catalog/view/frontend/layout
and open file catalog_product_view.xml Search for <block class=”Magento\Catalog\Pricing\Render” name=”product.price.tier” after=””> and after closing <block> on line numbe 81 

Past this code

<referenceContainer name=””>
<referenceContainer name=””>
<block class=”Magento\Catalog\Pricing\Render” name=”product.price.msrp” before=””>
<argument name=”price_render” xsi:type=”string”>product.price.render.default</argument>
<argument name=”price_type_code” xsi:type=”string”>msrp_price</argument>
<argument name=”zone” xsi:type=”string”>item_view</argument>

Save File go to your product page which contains MSRP price.



Profitability is ultimately determined by the price you place on your products. That, in turn, is determined by not only product supply and demand, but how you use the MSRP. Be flexible in how you use it for each product at different times to maximize the effectiveness of your pricing strategy.

For more information on how Magento eCommerce development, get in touch with our experts today!