Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $customers = $this->customerRepositoryInterface->getById(2);
- print_r($customers->getCustomAttributes('enable_alerts'));
- Array (
- [enable_alerts] => MagentoFrameworkApiAttributeValue Object
- (
- [_data:protected] => Array
- (
- [attribute_code] => enable_alerts
- [value] => 1
- )
- )
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement