diff --git a/controllers/front/ParentOrderController.php b/controllers/front/ParentOrderController.php index 486fd42fe..f35f64277 100644 --- a/controllers/front/ParentOrderController.php +++ b/controllers/front/ParentOrderController.php @@ -55,7 +55,10 @@ class ParentOrderControllerCore extends FrontController $this->nbProducts = $this->context->cart->nbProducts(); global $isVirtualCart; - + + if (!$this->context->customer->isLogged(true) && $this->context->getMobileDevice() && Tools::getValue('step')) + Tools::redirect($this->context->link->getPageLink('authentication', true, (int)$this->context->language->id, $params)); + // Redirect to the good order process if (Configuration::get('PS_ORDER_PROCESS_TYPE') == 0 && Dispatcher::getInstance()->getController() != 'order') Tools::redirect('index.php?controller=order');