Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. $customers = $this->customerRepositoryInterface->getById(2);
  2. print_r($customers->getCustomAttributes('enable_alerts'));
  3.  
  4. Array (
  5. [enable_alerts] => MagentoFrameworkApiAttributeValue Object
  6. (
  7. [_data:protected] => Array
  8. (
  9. [attribute_code] => enable_alerts
  10. [value] => 1
  11. )
  12.  
  13. )
  14.  
  15. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement