getEmail for Customer item

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Travin
Posts: 70
Joined: 18 Dec 2017, 03:12

getEmail for Customer item

Post by Travin » 04 Mar 2018, 19:24

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
Laravel 6.18.19 | php 7.4.7 | Xubuntu | Aimeos Laravel 2019.10.5

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: getEmail for Customer item

Post by aimeos » 04 Mar 2018, 22:50

You can get the e-mail address by using

Code: Select all

$item->getPaymentAddress()->getEmail()
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply