Page 1 of 1

getEmail for Customer item

Posted: 04 Mar 2018, 19:24
by Travin
hey guys!
I want to show to user his email. Why I can't access it with Customer manager by getEmail()? I want to do so, will create pull request. What do you think about it?
I mean this file:
vendor\aimeos\aimeos-core\lib\mshoplib\src\MShop\Customer\Item\Standard.php

Re: getEmail for Customer item

Posted: 04 Mar 2018, 22:50
by aimeos
You can get the e-mail address by using

Code: Select all

$item->getPaymentAddress()->getEmail()