Den regulären Produktpreis und Rabattpreis eines Produktes ausgeben
Snippet Code
$_productId = 102; $_product = Mage::getModel('catalog/product')->load($_productId); // without currency sign $_actualPrice = number_format($_product->getPrice(), 2); // with currency sign $_formattedActualPrice = Mage::helper('core')->currency(number_format($_product->getPrice(), 2),true,false); // without currency sign $_specialPrice = $_product->getFinalPrice(); // with currency sign $_formattedSpecialPrice = Mage::helper('core')->currency(number_format($_product->getFinalPrice(), 2),true,false);