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() // )); }