We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 52e35b6 + 31d3776 commit 82154d9Copy full SHA for 82154d9
app/code/community/Creare/CreareSeoCore/Helper/Data.php
@@ -17,10 +17,10 @@ public function getDiscontinuedProductUrl($product)
17
$cats = $product->getCategoryIds();
18
if (is_array($cats) && count($cats) > 1) {
19
$cat = Mage::getModel('catalog/category')->load( $cats[0] );
20
- return $cat->getUrlPath();
+ return Mage::getUrl($cat->getUrlPath());
21
} else {
22
$cat = Mage::getModel('catalog/category')->load( $cats );
23
24
}
25
26
@@ -201,4 +201,4 @@ public function getProductStartingprice($product)
201
return $product->getFinalPrice();
202
203
204
-}
+}
0 commit comments