Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

svvasya

Новичок
  
  • Posts

    36
  • Joined

  • Last visited

Информация

  • Пол
    Мужлина

Recent Profile Visitors

981 profile views

svvasya's Achievements

Contributor

Contributor (5/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Подскажите как извлечь ид категории в карточке товара. На сколько я понимаю надо сначала в контроллере вытянуть ид, а потом вывести в product.tpl Кто может подсказать какой именно код и куда всивить.
  2. нанять всегда успею, в принципе этот форум предназначен и для советов икже, а не только для продажи модулей и поиска разрилитликов за гденюжку
  3. всивил сюда $data['orders'] = array(); $this->load->model('account/order'); $order_total = $this->model_account_order->getTotalOrders(); $results = $this->model_account_order->getOrders(($page - 1) * 10, 10); foreach ($results as $result) { $product_total = $this->model_account_order->getTotalOrderProductsByOrderId($result['order_id']); $voucher_total = $this->model_account_order->getTotalOrderVouchersByOrderId($result['order_id']); $data['orders'][] = array( 'order_id' => $result['order_id'], 'name' => $result['firstname'] . ' ' . $result['lastname'], 'status' => $result['status'], 'date_added' => date($this->language->get('date_format_short'), strtotime($result['date_added'])), 'products' => ($product_total + $voucher_total), 'total' => $this->currency->format($result['total'], $result['currency_code'], $result['currency_value']), 'href' => $this->url->link('account/order/info', 'order_id=' . $result['order_id'], 'SSL'), 'comment' => nl2br($order_info['comment']) ); }
  4. не выводит ничего(((, а вверху ошибка Notice: Undefined variable: order_info in ....../catalog/controller/account/order.php on line 80
  5. немножко разобрался сам $this->language->get('text_comment') - выискивает текст "Комменирий " а как выищить сам комменирий
  6. праздник законлился.... может кто поможет??? :-(
  7. У меня следуюещёго вида проблемка В заказе опции товара теряют тот порядок в котором они есть на страниэто товара. В товаре много опций что вызывает опрегделенные неудобства при его обрилитке. Подозреваю, что это наверное связано с модулем вашим модулем
  8. Да что никто не подскажет? возможно я не понятно сформулировал вопрос ....... Нужно на страниэто история заказов index.php?route=account/order в иблиэто возле каждого заказа показать комменирий из страницы index.php?route=account/order/info&order_id=97 если всивляю просто <?php echo $comment; ?> то видает ошибку Undefined variable: comment in ...../catalog/view/theme/default/template/account/order_list.tpl
  9. Следующая проблема нужно переменную $comment (Коменирии к заказу) из order_info.tpl показать на страниэто истории заказов order_list.tpl как я понимаю надо поправить что-то в контроллере controller/account/order.php может кто подскажет что и ггде? opencart 2
×
×
  • 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.