Beispiel #1
0
 /**
  * Get price
  *
  * @return float
  */
 public function getPrice()
 {
     $price = parent::getPrice();
     $product = $this->getProduct();
     if (is_object($product) && $product->getParticipateSale()) {
         $price = $product->getSalePrice();
     }
     return $price;
 }
 /**
  * {@inheritDoc}
  */
 public function getPrice()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'getPrice', array());
     return parent::getPrice();
 }