// Norm on controllers
This commit is contained in:
@@ -227,9 +227,9 @@ class OrderOpcControllerCore extends ParentOrderController
|
||||
|
||||
/**
|
||||
* Assign template vars related to page content
|
||||
* @see FrontController::process()
|
||||
* @see FrontController::initContent()
|
||||
*/
|
||||
public function process()
|
||||
public function initContent()
|
||||
{
|
||||
// SHOPPING CART
|
||||
$this->_assignSummaryInformations();
|
||||
@@ -286,18 +286,6 @@ class OrderOpcControllerCore extends ParentOrderController
|
||||
$this->setTemplate(_PS_THEME_DIR_.'order-opc.tpl');
|
||||
}
|
||||
|
||||
public function displayHeader($display = true)
|
||||
{
|
||||
if (Tools::getValue('ajax') != 'true')
|
||||
parent::displayHeader();
|
||||
}
|
||||
|
||||
public function displayFooter($display = true)
|
||||
{
|
||||
if (Tools::getValue('ajax') != 'true')
|
||||
parent::displayFooter();
|
||||
}
|
||||
|
||||
protected function _getGuestInformations()
|
||||
{
|
||||
$customer = $this->context->customer;
|
||||
|
||||
Reference in New Issue
Block a user