示例#1
0
 /**
  * Returns product price block html
  *
  * @param Mage_Catalog_Model_Product $product
  * @param boolean $displayMinimalPrice
  */
 public function getPriceHtml($product, $displayMinimalPrice = false, $idSuffix = '')
 {
     $html = parent::getPriceHtml($product, $displayMinimalPrice, $idSuffix);
     $container = new Varien_Object();
     $container->setHtml($html);
     Mage::dispatchEvent('block_catalog_product_get_price_html', array('block' => $this, 'container' => $container));
     $html = $container->getHtml();
     return $html;
 }