[-] FO : Order history does not display order details
This commit is contained in:
@@ -112,6 +112,7 @@ class OrderDetailControllerCore extends FrontController
|
|||||||
|
|
||||||
if (Tools::getValue('ajax') != 'true')
|
if (Tools::getValue('ajax') != 'true')
|
||||||
Tools::redirect('index.php?controller=order-detail&id_order='.(int)$idOrder);
|
Tools::redirect('index.php?controller=order-detail&id_order='.(int)$idOrder);
|
||||||
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
$this->errors[] = Tools::displayError('Order not found');
|
$this->errors[] = Tools::displayError('Order not found');
|
||||||
@@ -119,6 +120,11 @@ class OrderDetailControllerCore extends FrontController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function displayAjax()
|
||||||
|
{
|
||||||
|
$this->display();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Assign template vars related to page content
|
* Assign template vars related to page content
|
||||||
* @see FrontController::initContent()
|
* @see FrontController::initContent()
|
||||||
@@ -209,3 +215,4 @@ class OrderDetailControllerCore extends FrontController
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user