public function getPriceHtml($product, $displayMinimalPrice = false, $idSuffix = '') { $html = parent::getPriceHtml($product, $displayMinimalPrice, $idSuffix); if (Mage::getStoreConfig('amconf/list/enable_list') == 1 && $product->isSaleable() && $product->isConfigurable()) { $html .= Mage::helper('amconf')->getHtmlBlock($product, ''); } return $html; }
public function getPriceHtml($product, $displayMinimalPrice = false, $idSuffix = '') { $html = parent::getPriceHtml($product, $displayMinimalPrice, $idSuffix); if ($this->isEnableShareFriend()) { // Add share friend for product list page $block = Mage::getBlockSingleton('affiliateplusreferfriend/product_refer'); $block->setProduct($product); $html = $block->toHtml() . $html; } return $html; }