/** * Renew order item * * @return boolean */ public function renew() { $available = parent::renew(); if ($available && $this->getVariant()) { $this->setSKU($this->getVariant()->getDisplaySku()); $this->setPrice($this->getVariant()->getDisplayPrice()); } return $available; }
/** * {@inheritDoc} */ public function renew() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'renew', array()); return parent::renew(); }