/** * Add/replace reviews summary template by type * * @param string $type * @param string $template * @return string */ public function addReviewSummaryTemplate($type, $template) { if ($this->_initReviewsHelperBlock()) { $this->_reviewsHelperBlock->addTemplate($type, $template); } return ''; }
public function getReviewsUrl($forceReviewsUrl = FALSE) { if (Mage::getStoreConfig('avisverifies/extra/useProductUrl') && Mage::helper('avisverifies/Data')->isActive() && $forceReviewsUrl == FALSE) { return $this->getProduct()->getProductUrl(); } else { return parent::getReviewsUrl(); } }
public function getReviewsUrl() { if ($this->getConfig()->isEnabledReviewSeoUrls()) { $uri = $this->getProduct()->getUrlKey(); return Mage::getUrl($uri . '/reviews'); } else { return parent::getReviewsUrl(); } }
public function getUrbanReviewsUrl($product) { if ($product != null) { $this->setProduct($product); } return parent::getReviewsUrl(); // return Mage::getUrl('review/product/list', array( // 'id' => $this->getProduct()->getId(), // 'category' => $this->getProduct()->getCategoryId() // )); }