I have made a little bit of code to show product that are on sale on the cart page but it is not displaying the sale price only the original.
This is the code that im using to show the price.
<?php echo Mage::helper('core')->formatPrice($_product->getPrice());?>
So the question is how can i change it so it shows the sale price if there is one?
Thank you
///////////ADDED////////
<?php
$special_price = Mage::helper('core')->formatPrice($_product->getSpecialPrice());
$norm_price = Mage::helper('core')->formatPrice($_product->getPrice());?>
<?php if ($special_price){
echo $special_price;
} else {
echo $norm_price;
} ?>
Thanks again