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

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

How to not starve gigantic beasts

Did the Roman Empire have penal colonies?

As an international instructor, should I openly talk about my accent?

Israeli soda type drink

Would reducing the reference voltage of an ADC have any effect on accuracy?

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

Map material from china not allowed to leave the country

Why does the Cisco show run command not show the full version, while the show version command does?

What is a 'Key' in computer science?

With indentation set to `0em`, when using a line break, there is still an indentation of a size of a space

Trumpet valves, lengths, and pitch

How to open locks without disable device?

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

Justification for leaving new position after a short time

Married in secret, can marital status in passport be changed at a later date?

Check if a string is entirely made of the same substring

How would I use different systems of magic when they are capable of the same effects?

What is /etc/mtab in Linux?

Does Feeblemind produce an ongoing magical effect that can be dispelled?

Split coins into combinations of different denominations

Why isn't everyone flabbergasted about Bran's "gift"?

Co-worker works way more than he should

Error: Syntax error. Missing ')' for CASE Statement



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 4 hours 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 4 hours 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 4 hours 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 4 hours 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

            Nidaros erkebispedøme

            Birsay

            Where did Arya get these scars? Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Favourite questions and answers from the 1st quarter of 2019Why did Arya refuse to end it?Has the pronunciation of Arya Stark's name changed?Has Arya forgiven people?Why did Arya Stark lose her vision?Why can Arya still use the faces?Has the Narrow Sea become narrower?Does Arya Stark know how to make poisons outside of the House of Black and White?Why did Nymeria leave Arya?Why did Arya not kill the Lannister soldiers she encountered in the Riverlands?What is the current canonical age of Sansa, Bran and Arya Stark?