storeManager = $storeManager; } /** * Retrieve price value unit * * @param string $priceType * @return string */ public function getData(string $priceType): string { if (ProductPriceOptionsInterface::VALUE_PERCENT == $priceType) { return '%'; } return $this->getCurrencySymbol(); } /** * Get currency symbol * * @return string * @throws NoSuchEntityException */ private function getCurrencySymbol(): string { /** @var Store|StoreInterface $store */ $store = $this->storeManager->getStore(); return $store->getBaseCurrency()->getCurrencySymbol(); } }