catalog/controller/checkout/success.php
#1меняем
if (isset($this->session->data['order_id'])) {
$this->cart->clear();
unset($this->session->data['shipping_method']);
unset($this->session->data['shipping_methods']);
unset($this->session->data['payment_method']);
unset($this->session->data['payment_methods']);
unset($this->session->data['guest']);
unset($this->session->data['comment']);
unset($this->session->data['order_id']);
unset($this->session->data['coupon']);
}на
$w_order_id = "";
if (isset($this->session->data['order_id'])) {
$w_order_id = $this->session->data['order_id'];
$this->cart->clear();
unset($this->session->data['shipping_method']);
unset($this->session->data['shipping_methods']);
unset($this->session->data['payment_method']);
unset($this->session->data['payment_methods']);
unset($this->session->data['guest']);
unset($this->session->data['comment']);
unset($this->session->data['order_id']);
unset($this->session->data['coupon']);
}
#2
$this->document->title = $this->language->get('heading_title');на
$this->document->title = sprintf($this->language->get('heading_title'), $w_order_id);
#3
$this->data['heading_title'] = $this->language->get('heading_title');на
$this->data['heading_title'] = sprintf($this->language->get('heading_title'), $w_order_id);
#4
$this->data['text_message'] = sprintf($this->language->get('text_message'), HTTPS_SERVER . 'index.php?route=account/account', HTTPS_SERVER . 'index.php?route=account/history', HTTP_SERVER . 'index.php?route=information/contact');на
$this->data['text_message'] = sprintf($this->language->get('text_message'), $w_order_id, HTTPS_SERVER . 'index.php?route=account/account', HTTPS_SERVER . 'index.php?route=account/history', HTTP_SERVER . 'index.php?route=information/contact');
catalog/language/russian/checkout/success.php
#5находим
$_['heading_title']
$_['text_message']
приводим к виду
$_['heading_title'] = 'Ваш заказ #%s оформлен!';
// Text
$_['text_message'] = '<p>Ваш заказ #%s успешно обработан!</p><p>Вы можете просматривать свою историю заказов, перейдя в <a href="%s">Личный кабинет</a> и кликнув по <a href="%s">истории заказов</a>.</p><p>Если у Вас есть вопросы, обратитесь к <a href="%s">администратору</a>.</p><p>Спасибо за покупку!</p>';