[-] FO : fixed bug on mobile them with opc can't place order.
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user