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