/** * Get the attribute fields name for prices * * @param array $fields * * @return array */ protected function addFieldsFromPrices(array $fields) { $currencyCodes = $this->namingUtility->getCurrencyCodes(); $updatedFields = $this->namingUtility->appendSuffixes($fields, $currencyCodes, '.'); $updatedFields = $this->namingUtility->appendSuffixes($updatedFields, ['data'], '.'); return $updatedFields; }