function getPrice() { if ($this->oPriceCache) { return $this->oPriceCache; } else { return parent::getPrice(); } }