$this->session =
Shopware()->
Session();
$this->
Response()->
setHeader('x-robots-tag', 'noindex'
);
} public function infoAction() { $view =
$this->
View();
$view->
assign('userInfo',
$this->
get('shopware_account.store_front_greeting_service'
)->
fetch());
$view->
assign('sBasketQuantity',
isset($this->session->sBasketQuantity
) ?
$this->session->sBasketQuantity : 0
);
$view->
assign('sBasketAmount',
isset($this->session->sBasketAmount
) ?
$this->session->sBasketAmount : 0
);
$view->
assign('sNotesQuantity',
isset($this->session->sNotesQuantity
) ?
$this->session->sNotesQuantity :
$this->module->
sCountNotes());
$view->
assign('sUserLoggedIn', !
empty(Shopware()->
Session()->
get('sUserId'
)));
$view->
assign('sOneTimeAccount',
$this->session->sOneTimeAccount
);
}}