I would like to have a condition that MSRP be only displayed when the value is greater than the price in my store.
I've played around and managed to get this to work:
<?php if($_product->msrp<price): ?> <?php echo $this->__('MSRP: ') ?> <?php echo Mage::helper('core')->currency($_product->getMsrp(),true,false); ?> <?php endif; ?>
However, on products that the MSRP is not present displays as 0$ and also displays for products that have a higher price than MSRP.
How can I display the MSRP: and the MSRP value when the price is lower?