diff --git a/Block/Tracking.php b/Block/Tracking.php index efdf8e5..db56a2b 100644 --- a/Block/Tracking.php +++ b/Block/Tracking.php @@ -236,7 +236,7 @@ public function getCurrentCurrencySymbol() */ public function getAllCurrencySymbols() { - $currency_codes = $this->getAllowedCurrencies(); + $currency_codes = $this->getAvailableCurrencyCodes(); $currency_symbols_array = array(); foreach ($currency_codes as $code) { $currency_symbols_array[$code] = $this->_localeCurrency->getCurrency($code)->getSymbol(); @@ -251,7 +251,7 @@ public function getAllCurrencySymbols() */ public function getAllCurrencyRates() { - $currency_codes = $this->getAllowedCurrencies(); + $currency_codes = $this->getAvailableCurrencyCodes(); $currency_rates_array = array(); foreach ($currency_codes as $code) { $currency_rates_array[$code] = $this->getCurrencyRateFromIso($code); @@ -264,9 +264,9 @@ public function getAllCurrencyRates() * * @return array */ - public function getAllowedCurrencies() + public function getAvailableCurrencyCodes() { - return $this->_storeManager->getStore()->getAllowedCurrencies(); + return $this->_storeManager->getStore()->getAvailableCurrencyCodes(); } /**