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

mazdov

Newbie
  
  • Posts

    12
  • Joined

  • Last visited

mazdov's Achievements

Rookie

Rookie (2/14)

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

Recent Badges

0

Reputation

  1. смотрел в админе. да нашел. Единственное не удалял, а комментировал, когда удалял, почему то ошибка вылазила
  2. Блин, большое тебе спасибо. Даже не думал, что такие как вы еще бывают. Прям выручил. Еще раз огромное человеческое спасибо!
  3. Какая то фигня, у меня в order_list стоят цветные заказы, ради эксперимента поменял, цвет одного из статусов заказов, а он не поменялся, хотя гружу файл с сервера и там заменен. пробовал открыть в приватном окне, так все так же, может какой то модуль, запрещает редактирования order_list? Все верно, отключил модуль быстрого редактирования статуса заказа, все появилось, но почему то наименования товара складываются. Т.е. сверху вниз первый заказ: 1 товар второй заказ: 1 товар и 2 товар
  4. Самое страшное, что ничего не увидел admin/view/template/sale/order_list.tpl
  5. foreach ($results as $result) { $my_order_info = $this->model_sale_order->getOrder($result['order_id']); $my_products = $this->model_sale_order->getOrderProducts($result['order_id']); foreach ($my_products as $product) { $my_product[] = array( 'order_product_id' => $product['order_product_id'], 'product_id' => $product['product_id'], 'name' => $product['name'], 'model' => $product['model'], 'quantity' => $product['quantity'], ); } $data['orders'][] = array( 'order_id' => $result['order_id'], 'customer' => $result['customer'], 'status' => $result['status'], 'total' => $this->currency->format($result['total'], $result['currency_code'], $result['currency_value']), 'date_added' => date($this->language->get('date_format_short'), strtotime($result['date_added'])), 'date_modified' => date($this->language->get('date_format_short'), strtotime($result['date_modified'])), 'shipping_code' => $result['shipping_code'], 'view' => $this->url->link('sale/order/info', 'token=' . $this->session->data['token'] . '&order_id=' . $result['order_id'] . $url, 'SSL'), 'edit' => $this->url->link('sale/order/edit', 'token=' . $this->session->data['token'] . '&order_id=' . $result['order_id'] . $url, 'SSL'), 'my_products' => $my_product, 'my_comment' => $my_order_info['comment'] ); } Внес и нифига ( очень благодарен, что уделяете мне время order.php
  6. все верно, даже открывал в ингокнито, чтоб кэш исключить )))
  7. <td class="text-left"><?php echo $order['status']; ?></td> <td class="text-right"> <?php foreach($order['my_products'] as $my_product){ echo $my_product['name'] . '<br />'; } ?> <?=$order['my_comment']?> <?php echo $order['total']; ?></td> <td class="text-left"><?php echo $order['date_added']; ?></td> <td class="text-left"><?php echo $order['date_modified']; ?></td>
  8. foreach ($results as $result) { $my_order_info = $this->model_sale_order->getOrder($result['order_id']); $my_products = $this->model_sale_order->getOrderProducts($result['order_id']); foreach ($my_products as $product) { $my_product[] = array( 'order_product_id' => $product['order_product_id'], 'product_id' => $product['product_id'], 'name' => $product['name'], 'model' => $product['model'], 'quantity' => $product['quantity'], ); } $data['orders'][] = array( 'order_id' => $result['order_id'], 'customer' => $result['customer'], 'status' => $result['status'], 'total' => $this->currency->format($result['total'], $result['currency_code'], $result['currency_value']), 'date_added' => date($this->language->get('date_format_short'), strtotime($result['date_added'])), 'date_modified' => date($this->language->get('date_format_short'), strtotime($result['date_modified'])), 'shipping_code' => $result['shipping_code'], 'view' => $this->url->link('sale/order/info', 'token=' . $this->session->data['token'] . '&order_id=' . $result['order_id'] . $url, 'SSL'), 'edit' => $this->url->link('sale/order/edit', 'token=' . $this->session->data['token'] . '&order_id=' . $result['order_id'] . $url, 'SSL'), 'my_products' => $my_product, 'my_comment' => $my_order_info['comment'] ); } Так? ЧЧто то у меня ничего не светится ((
  9. В версии 2.1.0.2.2, нет папки API Подскажите какие файлы нужно отредактировать в это версии.
  10. Меня интересует, как вывести наименование товара в заказе и желательно комментарий (в order list) на 2.1 Пытался по инструкции, но код отличается (((
  11. Каким тэгом можно вывести наименование товара в заказе например в графу total
Guest
×
  • 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.