Beispiel #1
0
 /**
  * Retrieve Product View URL
  *
  * @param \Magento\Catalog\Model\Product $product
  * @param array $additional
  * @return string
  */
 public function getProductUrl($product, $additional = [])
 {
     $additional['_scope_to_url'] = true;
     return parent::getProductUrl($product, $additional);
 }
Beispiel #2
0
 /**
  * Retrieve Product View URL
  *
  * @param \Magento\Catalog\Model\Product $product
  * @param array $additional
  * @return string
  */
 public function getProductUrl($product, $additional = array())
 {
     $additional['_rss'] = true;
     return parent::getProductUrl($product, $additional);
 }