When I run the following two lines of code, I get returned the value 161. Now if I dig through customer_eav, I see 161 relates to attribute_id 477, and then if I dig further into customer_entity_varchar I find a row with field['attribute_id']=477 and the value is USD. How can I get this attribute string value using magento’s models / methods…
$customer = $session->getCustomer();
$attributes = $customer->getDefaultCurrency(); // returns 161... not USD
1 Answer