示例#1
0
 public function hasProductUrl()
 {
     if ($this->getConfigurableProductParentId()) {
         return true;
     } else {
         return parent::hasProductUrl();
     }
 }
 public function hasProductUrl()
 {
     $buyRequest = Mage::helper('collpur')->getBuyRequest($this->getItem(), true);
     if ($buyRequest->getDealId()) {
         return true;
     }
     return parent::hasProductUrl();
 }