public function getSpecialPrice() { $cacheKey = array(__METHOD__); if ($this->isCacheEnabled && !is_null($cacheResult = $this->getCache()->getData($cacheKey))) { return $cacheResult; } return $this->getCache()->setData($cacheKey, parent::getSpecialPrice()); }
protected function getExistedProductSpecialValue(Ess_M2ePro_Model_Magento_Product $product) { $value = (double) $product->getSpecialPrice(); if ($value <= 0) { return $this->getExistedProductValue($product); } return $this->convertValueFromStoreToMarketplace($value); }