How do I show MSRP on product page? Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar ManaraHow to display MSRP / RRP on product page$_product->getMsrp() in price.phtml?How can i rewrite TierPrice Block in Magento2How in Block a productcollection of template render?Magento 2 Update a product name using Rest APIMagento 2: Adding a new function to MagentoCatalogBlockProductViewMagento 2: How to display brand name above product nameCant get product MSRP price in custom moduleHow to clone/copy product in magento 2 properly wayMagento 1.9 change error placement of validationMagento 2.3.0 - Create Product Page H1 title with product name and attribute name

Multiple fireplaces in an apartment building?

Does Mathematica have an implementation of the Poisson Binomial Distribution?

What *exactly* is electrical current, voltage, and resistance?

Is Diceware more secure than a long passphrase?

My bank got bought out, am I now going to have to start filing tax returns in a different state?

How to count in linear time worst-case?

What's parked in Mil Moscow helicopter plant?

What is a 'Key' in computer science?

Expansion//Explosion and Siren Stormtamer

What is the best way to deal with NPC-NPC combat?

What is the term for a person whose job is to place products on shelves in stores?

Will I lose my paid in full property

How to not starve gigantic beasts

Implementing 3DES algorithm in Java: is my code secure?

Are all CP/M-80 implementations binary compatible?

Israeli soda type drink

How to keep bees out of canned beverages?

Where did Arya get these scars?

Is it acceptable to use working hours to read general interest books?

How long after the last departure shall the airport stay open for an emergency return?

Did the Roman Empire have penal colonies?

Could moose/elk survive in the Amazon forest?

Trumpet valves, lengths, and pitch

"My boss was furious with me and I have been fired" vs. "My boss was furious with me and I was fired"



How do I show MSRP on product page?



Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar ManaraHow to display MSRP / RRP on product page$_product->getMsrp() in price.phtml?How can i rewrite TierPrice Block in Magento2How in Block a productcollection of template render?Magento 2 Update a product name using Rest APIMagento 2: Adding a new function to MagentoCatalogBlockProductViewMagento 2: How to display brand name above product nameCant get product MSRP price in custom moduleHow to clone/copy product in magento 2 properly wayMagento 1.9 change error placement of validationMagento 2.3.0 - Create Product Page H1 title with product name and attribute name



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I need to show the MSRP price next to the regular price on the product view page in a Magento 2 site.



So it would be like:




$199 (MSRP: $399)




I have found this question: How to display MSRP / RRP on product page



The problem is I am lacking some pre-requisite knowledge to follow these instructions.



The theme I am using doesn't have a price.phtml so I guess I need to override it from a module. I searched the vendor directory and found several price.phtml files which is confusing to me. Which one do I override?



The theme I am using (Ultimo) has a custom catalog_product_view.xml file which has this xml which I think refers to the part I want to edit:



<container name="product.info.price" label="Product info auxiliary container" htmlTag="div" htmlClass="product-info-price" after="product.info.review">
<container name="product.info.stock.sku" label="Product auxiliary info" htmlTag="div" htmlClass="product-info-stock-sku">
<container name="product.info.type" before="-"/>
<block class="MagentoCatalogBlockProductViewDescription" name="product.info.sku" template="product/view/attribute.phtml" after="product.info.type">
<arguments>
<argument name="at_call" xsi:type="string">getSku</argument>
<argument name="at_code" xsi:type="string">sku</argument>
<argument name="css_class" xsi:type="string">sku</argument>
<argument name="at_label" xsi:type="string">default</argument>
<argument name="add_attribute" xsi:type="string">itemprop="sku"</argument>
</arguments>
</block>
</container>
<block class="MagentoCatalogBlockProductView" name="product.info.review" template="product/view/review.phtml" after="product.info.stock.sku" />
<block class="MagentoCatalogPricingRender" name="product.price.final" after="product.info.sku">
<arguments>
<argument name="price_render" xsi:type="string">product.price.render.default</argument>
<argument name="price_type_code" xsi:type="string">final_price</argument>
<argument name="zone" xsi:type="string">item_view</argument>
</arguments>
</block>
</container>


So do I need to add something in to this xml for it to render the MSRP or do I need to edit something that it's already showing? I can't see which template is responsible for outputting price so does that mean the default magento 2 one is being used?



I am really struggling here to get a firm grip on how the system works and edit it in correct manner. Thanks for your help.










share|improve this question
















bumped to the homepage by Community 15 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Im trying to do exactly the same, also with Ultimo. Did you manage to get this to work

    – Darren Sutherland
    Dec 5 '17 at 6:57











  • MSRP price can be shown in PDP by default in magento 2..Enable the MAP price and provide the msrp price from the Advanced pricing. For ref:mageplaza.com/kb/…

    – Haritha
    Nov 18 '18 at 9:16

















1















I need to show the MSRP price next to the regular price on the product view page in a Magento 2 site.



So it would be like:




$199 (MSRP: $399)




I have found this question: How to display MSRP / RRP on product page



The problem is I am lacking some pre-requisite knowledge to follow these instructions.



The theme I am using doesn't have a price.phtml so I guess I need to override it from a module. I searched the vendor directory and found several price.phtml files which is confusing to me. Which one do I override?



The theme I am using (Ultimo) has a custom catalog_product_view.xml file which has this xml which I think refers to the part I want to edit:



<container name="product.info.price" label="Product info auxiliary container" htmlTag="div" htmlClass="product-info-price" after="product.info.review">
<container name="product.info.stock.sku" label="Product auxiliary info" htmlTag="div" htmlClass="product-info-stock-sku">
<container name="product.info.type" before="-"/>
<block class="MagentoCatalogBlockProductViewDescription" name="product.info.sku" template="product/view/attribute.phtml" after="product.info.type">
<arguments>
<argument name="at_call" xsi:type="string">getSku</argument>
<argument name="at_code" xsi:type="string">sku</argument>
<argument name="css_class" xsi:type="string">sku</argument>
<argument name="at_label" xsi:type="string">default</argument>
<argument name="add_attribute" xsi:type="string">itemprop="sku"</argument>
</arguments>
</block>
</container>
<block class="MagentoCatalogBlockProductView" name="product.info.review" template="product/view/review.phtml" after="product.info.stock.sku" />
<block class="MagentoCatalogPricingRender" name="product.price.final" after="product.info.sku">
<arguments>
<argument name="price_render" xsi:type="string">product.price.render.default</argument>
<argument name="price_type_code" xsi:type="string">final_price</argument>
<argument name="zone" xsi:type="string">item_view</argument>
</arguments>
</block>
</container>


So do I need to add something in to this xml for it to render the MSRP or do I need to edit something that it's already showing? I can't see which template is responsible for outputting price so does that mean the default magento 2 one is being used?



I am really struggling here to get a firm grip on how the system works and edit it in correct manner. Thanks for your help.










share|improve this question
















bumped to the homepage by Community 15 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • Im trying to do exactly the same, also with Ultimo. Did you manage to get this to work

    – Darren Sutherland
    Dec 5 '17 at 6:57











  • MSRP price can be shown in PDP by default in magento 2..Enable the MAP price and provide the msrp price from the Advanced pricing. For ref:mageplaza.com/kb/…

    – Haritha
    Nov 18 '18 at 9:16













1












1








1








I need to show the MSRP price next to the regular price on the product view page in a Magento 2 site.



So it would be like:




$199 (MSRP: $399)




I have found this question: How to display MSRP / RRP on product page



The problem is I am lacking some pre-requisite knowledge to follow these instructions.



The theme I am using doesn't have a price.phtml so I guess I need to override it from a module. I searched the vendor directory and found several price.phtml files which is confusing to me. Which one do I override?



The theme I am using (Ultimo) has a custom catalog_product_view.xml file which has this xml which I think refers to the part I want to edit:



<container name="product.info.price" label="Product info auxiliary container" htmlTag="div" htmlClass="product-info-price" after="product.info.review">
<container name="product.info.stock.sku" label="Product auxiliary info" htmlTag="div" htmlClass="product-info-stock-sku">
<container name="product.info.type" before="-"/>
<block class="MagentoCatalogBlockProductViewDescription" name="product.info.sku" template="product/view/attribute.phtml" after="product.info.type">
<arguments>
<argument name="at_call" xsi:type="string">getSku</argument>
<argument name="at_code" xsi:type="string">sku</argument>
<argument name="css_class" xsi:type="string">sku</argument>
<argument name="at_label" xsi:type="string">default</argument>
<argument name="add_attribute" xsi:type="string">itemprop="sku"</argument>
</arguments>
</block>
</container>
<block class="MagentoCatalogBlockProductView" name="product.info.review" template="product/view/review.phtml" after="product.info.stock.sku" />
<block class="MagentoCatalogPricingRender" name="product.price.final" after="product.info.sku">
<arguments>
<argument name="price_render" xsi:type="string">product.price.render.default</argument>
<argument name="price_type_code" xsi:type="string">final_price</argument>
<argument name="zone" xsi:type="string">item_view</argument>
</arguments>
</block>
</container>


So do I need to add something in to this xml for it to render the MSRP or do I need to edit something that it's already showing? I can't see which template is responsible for outputting price so does that mean the default magento 2 one is being used?



I am really struggling here to get a firm grip on how the system works and edit it in correct manner. Thanks for your help.










share|improve this question
















I need to show the MSRP price next to the regular price on the product view page in a Magento 2 site.



So it would be like:




$199 (MSRP: $399)




I have found this question: How to display MSRP / RRP on product page



The problem is I am lacking some pre-requisite knowledge to follow these instructions.



The theme I am using doesn't have a price.phtml so I guess I need to override it from a module. I searched the vendor directory and found several price.phtml files which is confusing to me. Which one do I override?



The theme I am using (Ultimo) has a custom catalog_product_view.xml file which has this xml which I think refers to the part I want to edit:



<container name="product.info.price" label="Product info auxiliary container" htmlTag="div" htmlClass="product-info-price" after="product.info.review">
<container name="product.info.stock.sku" label="Product auxiliary info" htmlTag="div" htmlClass="product-info-stock-sku">
<container name="product.info.type" before="-"/>
<block class="MagentoCatalogBlockProductViewDescription" name="product.info.sku" template="product/view/attribute.phtml" after="product.info.type">
<arguments>
<argument name="at_call" xsi:type="string">getSku</argument>
<argument name="at_code" xsi:type="string">sku</argument>
<argument name="css_class" xsi:type="string">sku</argument>
<argument name="at_label" xsi:type="string">default</argument>
<argument name="add_attribute" xsi:type="string">itemprop="sku"</argument>
</arguments>
</block>
</container>
<block class="MagentoCatalogBlockProductView" name="product.info.review" template="product/view/review.phtml" after="product.info.stock.sku" />
<block class="MagentoCatalogPricingRender" name="product.price.final" after="product.info.sku">
<arguments>
<argument name="price_render" xsi:type="string">product.price.render.default</argument>
<argument name="price_type_code" xsi:type="string">final_price</argument>
<argument name="zone" xsi:type="string">item_view</argument>
</arguments>
</block>
</container>


So do I need to add something in to this xml for it to render the MSRP or do I need to edit something that it's already showing? I can't see which template is responsible for outputting price so does that mean the default magento 2 one is being used?



I am really struggling here to get a firm grip on how the system works and edit it in correct manner. Thanks for your help.







magento2 product






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 18 '17 at 10:51









Teja Bhagavan Kollepara

2,99241950




2,99241950










asked Jul 17 '17 at 23:52









GuerrillaGuerrilla

12211




12211





bumped to the homepage by Community 15 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 15 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.














  • Im trying to do exactly the same, also with Ultimo. Did you manage to get this to work

    – Darren Sutherland
    Dec 5 '17 at 6:57











  • MSRP price can be shown in PDP by default in magento 2..Enable the MAP price and provide the msrp price from the Advanced pricing. For ref:mageplaza.com/kb/…

    – Haritha
    Nov 18 '18 at 9:16

















  • Im trying to do exactly the same, also with Ultimo. Did you manage to get this to work

    – Darren Sutherland
    Dec 5 '17 at 6:57











  • MSRP price can be shown in PDP by default in magento 2..Enable the MAP price and provide the msrp price from the Advanced pricing. For ref:mageplaza.com/kb/…

    – Haritha
    Nov 18 '18 at 9:16
















Im trying to do exactly the same, also with Ultimo. Did you manage to get this to work

– Darren Sutherland
Dec 5 '17 at 6:57





Im trying to do exactly the same, also with Ultimo. Did you manage to get this to work

– Darren Sutherland
Dec 5 '17 at 6:57













MSRP price can be shown in PDP by default in magento 2..Enable the MAP price and provide the msrp price from the Advanced pricing. For ref:mageplaza.com/kb/…

– Haritha
Nov 18 '18 at 9:16





MSRP price can be shown in PDP by default in magento 2..Enable the MAP price and provide the msrp price from the Advanced pricing. For ref:mageplaza.com/kb/…

– Haritha
Nov 18 '18 at 9:16










2 Answers
2






active

oldest

votes


















0














To show msrp price you can add a following code to catalog_product_view.xml



<referenceContainer name="product.info.main">
<referenceContainer name="product.info.price">
<block class="MagentoCatalogPricingRender" name="product.price.msrp" before="product.price.final">
<arguments>
<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>
</arguments>
</block>
</referenceContainer>
</referenceContainer>




Template responsible for display msrp price




module-msrp/view/base/templates/product/price/msrp.phtml







share|improve this answer
































    -1














    Please enable template path hints to check which price.phtml file is rendering the price. If it is displayed from core theme please override that and do the changes to display MSRP.






    share|improve this answer























    • vendor/magento/module-msrp/view/base/templates/product/price/msrp.phtml template deals with price display when MSRP is enabled. Real price is in the $data object - $data['addToCart']['realPrice']

      – Gediminas
      Sep 12 '17 at 9:48











    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "479"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f184187%2fhow-do-i-show-msrp-on-product-page%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    To show msrp price you can add a following code to catalog_product_view.xml



    <referenceContainer name="product.info.main">
    <referenceContainer name="product.info.price">
    <block class="MagentoCatalogPricingRender" name="product.price.msrp" before="product.price.final">
    <arguments>
    <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>
    </arguments>
    </block>
    </referenceContainer>
    </referenceContainer>




    Template responsible for display msrp price




    module-msrp/view/base/templates/product/price/msrp.phtml







    share|improve this answer





























      0














      To show msrp price you can add a following code to catalog_product_view.xml



      <referenceContainer name="product.info.main">
      <referenceContainer name="product.info.price">
      <block class="MagentoCatalogPricingRender" name="product.price.msrp" before="product.price.final">
      <arguments>
      <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>
      </arguments>
      </block>
      </referenceContainer>
      </referenceContainer>




      Template responsible for display msrp price




      module-msrp/view/base/templates/product/price/msrp.phtml







      share|improve this answer



























        0












        0








        0







        To show msrp price you can add a following code to catalog_product_view.xml



        <referenceContainer name="product.info.main">
        <referenceContainer name="product.info.price">
        <block class="MagentoCatalogPricingRender" name="product.price.msrp" before="product.price.final">
        <arguments>
        <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>
        </arguments>
        </block>
        </referenceContainer>
        </referenceContainer>




        Template responsible for display msrp price




        module-msrp/view/base/templates/product/price/msrp.phtml







        share|improve this answer















        To show msrp price you can add a following code to catalog_product_view.xml



        <referenceContainer name="product.info.main">
        <referenceContainer name="product.info.price">
        <block class="MagentoCatalogPricingRender" name="product.price.msrp" before="product.price.final">
        <arguments>
        <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>
        </arguments>
        </block>
        </referenceContainer>
        </referenceContainer>




        Template responsible for display msrp price




        module-msrp/view/base/templates/product/price/msrp.phtml








        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jun 23 '18 at 18:23









        Rohan Hapani

        7,16131865




        7,16131865










        answered Sep 14 '17 at 11:19









        waldemarwaldemar

        1




        1























            -1














            Please enable template path hints to check which price.phtml file is rendering the price. If it is displayed from core theme please override that and do the changes to display MSRP.






            share|improve this answer























            • vendor/magento/module-msrp/view/base/templates/product/price/msrp.phtml template deals with price display when MSRP is enabled. Real price is in the $data object - $data['addToCart']['realPrice']

              – Gediminas
              Sep 12 '17 at 9:48















            -1














            Please enable template path hints to check which price.phtml file is rendering the price. If it is displayed from core theme please override that and do the changes to display MSRP.






            share|improve this answer























            • vendor/magento/module-msrp/view/base/templates/product/price/msrp.phtml template deals with price display when MSRP is enabled. Real price is in the $data object - $data['addToCart']['realPrice']

              – Gediminas
              Sep 12 '17 at 9:48













            -1












            -1








            -1







            Please enable template path hints to check which price.phtml file is rendering the price. If it is displayed from core theme please override that and do the changes to display MSRP.






            share|improve this answer













            Please enable template path hints to check which price.phtml file is rendering the price. If it is displayed from core theme please override that and do the changes to display MSRP.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jul 18 '17 at 11:53









            VenkateshVenkatesh

            743




            743












            • vendor/magento/module-msrp/view/base/templates/product/price/msrp.phtml template deals with price display when MSRP is enabled. Real price is in the $data object - $data['addToCart']['realPrice']

              – Gediminas
              Sep 12 '17 at 9:48

















            • vendor/magento/module-msrp/view/base/templates/product/price/msrp.phtml template deals with price display when MSRP is enabled. Real price is in the $data object - $data['addToCart']['realPrice']

              – Gediminas
              Sep 12 '17 at 9:48
















            vendor/magento/module-msrp/view/base/templates/product/price/msrp.phtml template deals with price display when MSRP is enabled. Real price is in the $data object - $data['addToCart']['realPrice']

            – Gediminas
            Sep 12 '17 at 9:48





            vendor/magento/module-msrp/view/base/templates/product/price/msrp.phtml template deals with price display when MSRP is enabled. Real price is in the $data object - $data['addToCart']['realPrice']

            – Gediminas
            Sep 12 '17 at 9:48

















            draft saved

            draft discarded
















































            Thanks for contributing an answer to Magento Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f184187%2fhow-do-i-show-msrp-on-product-page%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Magento 2 duplicate PHPSESSID cookie when using session_start() in custom php scriptMagento 2: User cant logged in into to account page, no error showing!Magento duplicate on subdomainGrabbing storeview from cookie (after using language selector)How do I run php custom script on magento2Magento 2: Include PHP script in headerSession lock after using Cm_RedisSessionscript php to update stockMagento set cookie popupMagento 2 session id cookie - where to find it?How to import Configurable product from csv with custom attributes using php scriptMagento 2 run custom PHP script

            Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

            How to solve knockout JS error in Magento 2 Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?(Magento2) knockout.js:3012 Uncaught ReferenceError: Unable to process bindingUnable to process binding Knockout.js magento 2Cannot read property `scopeLabel` of undefined on Product Detail PageCan't get Customer Data on frontend in Magento 2Magento2 Order Summary - unable to process bindingKO templates are not loading in Magento 2.1 applicationgetting knockout js error magento 2Product grid not load -— Unable to process binding Knockout.js magento 2Product form not loaded in magento2Uncaught ReferenceError: Unable to process binding “if: function()return (isShowLegend()) ” magento 2