get Special price or Regular Price in magento

 $product= Mage::getModel('catalog/product')->load(product_id);
 $price = $product->getPrice();
 $webprice = $product->getwebprice();
 $specialprice = $product->getFinalPrice();
 <span>$<?php echo number_format($price,2);?></span>
 <?php } else { ?>
 <span>Regular Price:</span>
 <span>$ <?php echo number_format($price,2); ?></span>
 <span>Web Special:</span>
 <span>$ <?php echo number_format($specialprice,2); ?> </span>
 <?php } ?>

for more magento tutorial visit:

  1. this help me a lot, thanks!

    • Max
    • August 10th, 2012

    Thank for effort. But i want if a product with specialprice to be echoed with price and specialprice and if there is no specialprice associated to it the price should only echoed. Please help!

    Best Regards

  2. If you wish for to obtain much from this piece of writing then you have to apply such techniques to
    your won web site.

    • Ken Trier
    • January 24th, 2013

    Hi! A lot of store managers now are struggling to find a way to exclude products with special prices from discount programms. I was seaching for a solution and found the extension which has such functionality.
    Recommend to everybody!

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: