public function load(Request
$request, SalesChannelContext
$salesChannelContext): OffcanvasCartPage
{ $page =
$this->genericLoader->
load($request,
$salesChannelContext);
$page = OffcanvasCartPage::
createFrom($page);
if ($page->
getMetaInformation()) { $page->
getMetaInformation()->
assign(['robots' => 'noindex,follow'
]);
} $page->
setCart($this->cartService->
get($salesChannelContext->
getToken(),
$salesChannelContext));
$page->
setShippingMethods($this->
getShippingMethods($salesChannelContext));
$this->eventDispatcher->
dispatch( new OffcanvasCartPageLoadedEvent($page,
$salesChannelContext,
$request) );
return $page;
} private function getShippingMethods(SalesChannelContext
$context): ShippingMethodCollection
{