maksim.majnikov
Создатель
- Регистрация
- 6 Фев 2014
- Сообщения
- 16
- Реакции
- 0
Вопрос решился. Проморгал функцию displayOrderConfirmation() в OrderConfirmationController.php
/**
* Execute the hook displayOrderConfirmation
*/
public function displayOrderConfirmation()
{
if (Validate::isUnsignedId($this->id_order))
{
$params = array();
$order = new Order($this->id_order);
$currency = new Currency($order->id_currency);
$this->context->smarty->assign('order',$order);
if (Validate::isLoadedObject($order))
{
$params['total_to_pay'] = $order->getOrdersTotalPaid();
$params['currency'] = $currency->sign;
$params['objOrder'] = $order;
$params['currencyObj'] = $currency;
return Hook::exec('displayOrderConfirmation', $params);
}
}
return false;
}
}
/**
* Execute the hook displayOrderConfirmation
*/
public function displayOrderConfirmation()
{
if (Validate::isUnsignedId($this->id_order))
{
$params = array();
$order = new Order($this->id_order);
$currency = new Currency($order->id_currency);
$this->context->smarty->assign('order',$order);
if (Validate::isLoadedObject($order))
{
$params['total_to_pay'] = $order->getOrdersTotalPaid();
$params['currency'] = $currency->sign;
$params['objOrder'] = $order;
$params['currencyObj'] = $currency;
return Hook::exec('displayOrderConfirmation', $params);
}
}
return false;
}
}