// Context - first commit
This commit is contained in:
@@ -68,7 +68,7 @@ class OrderConfirmationControllerCore extends FrontController
|
||||
public function process()
|
||||
{
|
||||
parent::process();
|
||||
self::$smarty->assign(array(
|
||||
$this->smarty->assign(array(
|
||||
'is_guest' => self::$cookie->is_guest,
|
||||
'HOOK_ORDER_CONFIRMATION' => Hook::orderConfirmation((int)($this->id_order)),
|
||||
'HOOK_PAYMENT_RETURN' => Hook::paymentReturn((int)($this->id_order), (int)($this->id_module))
|
||||
@@ -76,7 +76,7 @@ class OrderConfirmationControllerCore extends FrontController
|
||||
|
||||
if (self::$cookie->is_guest)
|
||||
{
|
||||
self::$smarty->assign(array(
|
||||
$this->smarty->assign(array(
|
||||
'id_order' => $this->id_order,
|
||||
'id_order_formatted' => sprintf('#%06d', $this->id_order)
|
||||
));
|
||||
@@ -88,7 +88,7 @@ class OrderConfirmationControllerCore extends FrontController
|
||||
public function displayContent()
|
||||
{
|
||||
parent::displayContent();
|
||||
self::$smarty->display(_PS_THEME_DIR_.'order-confirmation.tpl');
|
||||
$this->smarty->display(_PS_THEME_DIR_.'order-confirmation.tpl');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user