Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Leaderboard

Popular Content

Showing content with the highest reputation on 06/26/2011 in all areas

  1. ..\system\library\cart.php public function add($product_id, $qty = 1, $options = array()) { if (!$options) { $key = $product_id; } else { $key = $product_id . ':' . implode('.', $options); } if ((int)$qty && ((int)$qty > 0)) { if (!isset($this->session->data['cart'][$key])) { $this->session->data['cart'][$key] = (int)$qty; } else { $this->session->data['cart'][$key] += (int)$qty; } } $this->setMinQty(); }
    1 point
  2. Иногда начинает надоедать один и тот же вопрос. Как сделать то да это. Вот вам ссылка, читайте и делайте по аналогии. - http://htmlbook.ru/faq
    1 point
  3. 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>';
    1 point
  4. В сервис расчета доставки edost.ru добавлены компании: Деловые линии, Гарантпост, Pony Express, Мегаполис. Всего 28 видов отправлений.
    -1 points
×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.