/**
* Used during the checkout process
* Returns the user to the shop homepage
* If the user has a noAccount account, it is automatically logged out
*
* @return void
*/
public function returnAction() { if ($this->
View()->
getAssign('sUserData'
)['additional'
]['user'
]['accountmode'
] == 1
) { $this->
Request()->
getSession()->
clear();
Shopware()->
Modules()->
Basket()->
sRefreshBasket();
} $this->
redirect(['controller' => 'index'
]);
} /**
* If any external payment mean chooses by customer
* Forward to payment page after order submitting
*
* @return void
*/