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
    Commented Aug 1, 2016 at 7:26

2 Answers 2

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 and acknowledge you have read our privacy policy.

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