3

I'm looking to display the value I have set in "Manufacturer's Suggested Retail Price" on the product page.

I was hoping it was going to be as simple case of adding something like the following to view.phtml, unfortunately it doesn't seem to be.

<?php echo $this->getMSRPPriceHtml($_product); ?>
1
  • Please mark an answer as correct if it solved your problem.
    – zigojacko
    Aug 1 '16 at 7:26
3

Use the following in price.phtml:-

<?php $_msrpPrice = $this->helper('core')->currency($_product->getMsrp(),true,true) ?>

Then output with:-

<?php echo $_msrpPrice ?>

This of course, providing your view.phtml echo's $this->getPriceHtml($_product);

1

Just paste the below code..It worked for me.

echo $this->helper('tax')->getPrice($_product, $_product->getMsrp());

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.