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

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

Split coins into combinations of different denominations

std::is_constructible on incomplete types

What's the difference between using dependency injection with a container and using a service locator?

How to translate "red flag" into Spanish?

How to find the right literary agent in the USA?

A Paper Record is What I Hamper

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

Identify story/novel: Tribe on colonized planet, not aware of this. "Taboo," altitude sickness, robot guardian (60s? Young Adult?)

Second order approximation of the loss function (Deep learning book, 7.33)

What to do with someone that cheated their way through university and a PhD program?

Passing args from the bash script to the function in the script

The art of proof summarizing. Are there known rules, or is it a purely common sense matter?

Did the Roman Empire have penal colonies?

All ASCII characters with a given bit count

Can you stand up from being prone using Skirmisher outside of your turn?

How to count in linear time worst-case?

Password Generator in batch

Book with legacy programming code on a space ship that the main character hacks to escape

Multiple fireplaces in an apartment building?

How to keep bees out of canned beverages?

Why didn't the Space Shuttle bounce back into space as many times as possible so as to lose a lot of kinetic energy up there?

A strange hotel

Why is this method for solving linear equations systems using determinants works?



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

            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

            Magento 2 disable Secret Key on URL's from terminal The Next CEO of Stack OverflowMagento 2 Shortcut/GUI tool to perform commandline tasks for windowsIn menu add configuration linkMagento oAuth : Generating access token and access secretMagento 2 security key issue in Third-Party API redirect URIPublic actions in admin controllersHow to Disable Cache in Custom WidgetURL Key not changing in Magento 2Product URL Key gets deleted when importing custom options - Magento 2Problem with reindex terminalMagento 2 - bin/magento Commands not working in Cpanel Terminal

            Aasi (pallopeli) Navigointivalikko