private readonly AbstractChangeCustomerProfileRoute
$updateCustomerProfileRoute ) { } #[Route(path: '/account/address', name: 'frontend.account.address.page', options: ['seo' => false], defaults: ['_loginRequired' => true, '_noStore' => true], methods: ['GET'])]
public function accountAddressOverview(Request
$request, SalesChannelContext
$context, CustomerEntity
$customer): Response
{ $page =
$this->addressListingPageLoader->
load($request,
$context,
$customer);
$this->
hook(new AddressListingPageLoadedHook($page,
$context));
return $this->
renderStorefront('@Storefront/storefront/page/account/addressbook/index.html.twig',
['page' =>
$page]);
} #[Route(path: '/account/address/create', name: 'frontend.account.address.create.page', options: ['seo' => false], defaults: ['_loginRequired' => true, '_noStore' => true], methods: ['GET'])]
public function accountCreateAddress(Request
$request, RequestDataBag
$data, SalesChannelContext
$context, CustomerEntity
$customer): Response
{ $page =
$this->addressDetailPageLoader->
load($request,
$context,
$customer);
$this->
hook(new AddressDetailPageLoadedHook($page,
$context));
return $this->
renderStorefront('@Storefront/storefront/page/account/addressbook/create.html.twig',
[ 'page' =>
$page,