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

davayigrat

Newbie
  
  • Posts

    38
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

davayigrat's Achievements

Contributor

Contributor (5/14)

  • First Post
  • Collaborator
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Спасибо!!! А как они у тебя оказались - друг напротив друга??? У меня вот как:
  2. Спасибо. Я данный модуль ставил, но что дальше делать???
  3. Всем привет! Подскажите, пожалуйста, как, что и где прописать, чтобы в печатном счете для клиента/курьера отображались контактные данные, а именно интересует номер телефона клиента. Понял, что редактировать нужно файл /admin/view/template/sales/order_invoice.tpl Но что и где ???!!! Версия ocStore 2.1.0.2.1 -------------- <!DOCTYPE html> <html dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>"> <head> <meta charset="UTF-8" /> <title><?php echo $title; ?></title> <base href="<?php echo $base; ?>" /> <link href="view/javascript/bootstrap/css/bootstrap.css" rel="stylesheet" media="all" /> <script type="text/javascript" src="view/javascript/jquery/jquery-2.1.1.min.js"></script> <script type="text/javascript" src="view/javascript/bootstrap/js/bootstrap.min.js"></script> <link href="view/javascript/font-awesome/css/font-awesome.min.css" type="text/css" rel="stylesheet" /> <link type="text/css" href="view/stylesheet/stylesheet.css" rel="stylesheet" media="all" /> </head> <body> <div class="container"> <?php foreach ($orders as $order) { ?> <div style="page-break-after: always;"> <img src="/image/catalog/logo/logo2.jpg" height="75" align="right"/> <h1><?php echo $text_invoice; ?> #<?php echo $order['order_id']; ?></h1> <table class="table table-bordered"> <thead> <tr> <td colspan="2"><?php echo $text_order_detail; ?></td> </tr> </thead> <tbody> <tr> <td style="width: 50%;"><address> <strong><?php echo $order['store_name']; ?></strong><br /> <?php echo $order['store_address']; ?> </address> <b><?php echo $text_telephone; ?></b> <?php echo $order['store_telephone']; ?><br /> <?php if ($order['store_fax']) { ?> <b><?php echo $text_fax; ?></b> <?php echo $order['store_fax']; ?><br /> <?php } ?> <b><?php echo $text_email; ?></b> <?php echo $order['store_email']; ?><br /> <b><?php echo $text_website; ?></b> <a href="<?php echo $order['store_url']; ?>"><?php echo $order['store_url']; ?></a></td> <td style="width: 50%;"><b><?php echo $text_date_added; ?></b> <?php echo $order['date_added']; ?><br /> <?php if ($order['invoice_no']) { ?> <b><?php echo $text_invoice_no; ?></b> <?php echo $order['invoice_no']; ?><br /> <?php } ?> <b><?php echo $text_order_id; ?></b> <?php echo $order['order_id']; ?><br /> <b><?php echo $text_payment_method; ?></b> <?php echo $order['payment_method']; ?><br /> <?php if ($order['shipping_method']) { ?> <b><?php echo $text_shipping_method; ?></b> <?php echo $order['shipping_method']; ?><br /> <?php } ?></td> </tr> </tbody> </table> <table class="table table-bordered"> <thead> <tr> <td style="width: 50%;"><b><?php echo $text_payment_address; ?></b></td> <td style="width: 50%;"><b><?php echo $text_shipping_address; ?></b></td> </tr> </thead> <tbody> <tr> <td><address> <?php echo $order['payment_address']; ?> </address></td> <td><address> <?php echo $order['shipping_address']; ?> </address></td> </tr> </tbody> </table> <table class="table table-bordered"> <thead> <tr> <td><b><?php echo $column_product; ?></b></td> <td><b><?php echo $column_model; ?></b></td> <td class="text-right"><b><?php echo $column_quantity; ?></b></td> <td class="text-right"><b><?php echo $column_price; ?></b></td> <td class="text-right"><b><?php echo $column_total; ?></b></td> </tr> </thead> <tbody> <?php foreach ($order['product'] as $product) { ?> <tr> <td><?php echo $product['name']; ?> <?php foreach ($product['option'] as $option) { ?> <br /> &nbsp;<small> - <?php echo $option['name']; ?>: <?php echo $option['value']; ?></small> <?php } ?></td> <td><?php echo $product['model']; ?></td> <td class="text-right"><?php echo $product['quantity']; ?></td> <td class="text-right"><?php echo $product['price']; ?></td> <td class="text-right"><?php echo $product['total']; ?></td> </tr> <?php } ?> <?php foreach ($order['voucher'] as $voucher) { ?> <tr> <td><?php echo $voucher['description']; ?></td> <td></td> <td class="text-right">1</td> <td class="text-right"><?php echo $voucher['amount']; ?></td> <td class="text-right"><?php echo $voucher['amount']; ?></td> </tr> <?php } ?> <?php foreach ($order['total'] as $total) { ?> <tr> <td class="text-right" colspan="4"><b><?php echo $total['title']; ?></b></td> <td class="text-right"><?php echo $total['text']; ?></td> </tr> <?php } ?> </tbody> </table> <?php if ($order['comment']) { ?> <table class="table table-bordered"> <thead> <tr> <td><b><?php echo $text_comment; ?></b></td> </tr> </thead> <tbody> <tr> <td><?php echo $order['comment']; ?></td> </tr> </tbody> </table> <?php } ?> </div> <?php } ?> </div> </body> </html> -------------- Заранее благодарен))))
  4. Подскажите, а в ocStore 2.1.0.2.1 есть возможность самому подгружать разные прайсы? У меня был админ и как-то это делал, но к сожалению он скончался... Сейчас пытаюсь сам освоить, но не всё дается легко...
  5. Подскажите, может этот модуль мне вообще не подойдет под мои потребности? В магазине 19900 товаров от 5 поставщиков с пересекающимися артикулами. Необходимо обновлять наличие товаров.
  6. Хоть убей, но не могу найти как делить на части... И выскакивает сообщение: mysqli::close(): send of 5 bytes failed with errno=32 Broken pipe
  7. Я заранее извиняюсь, но я только начинаю самостоятельно работать с сайтом...
  8. Да, но после этого 502 Bad Gateway выскакивает... Я правильно понимаю, что нужно обратиться в хостинг?
  9. а чего не хватает, если пишет такое сообщение при экспорте: Attribute 'Тип управления' is defined multiple times within its attribute group! Во вкладке Настройки активируйте значение: Использовать attribute_id вместо attribute name в файле 'ProductAttributes'
  10. Добрый день! Подскажите какой файл скачать для ocStore 2.1.0.2.1? Заранее благодарен!
  11. Всем привет! Не могу увеличить лого пропорционально и длина и ширина. В другой теме прочитал что нужно изменить в catalog/view/theme/newstore/stylesheet/stylesheet.css #logo img { margin-left: auto; margin-right: auto; height: 80px; margin-top: -30px; margin-bottom: -30px; } Но меняя эти параметры лого только вытягивается в вертикали и поднимается или опускается... В чем может быть загвоздка?))))
  12. Ухххх, да что только не пробовал... Не получилось, видимо, еще потому что я не очень силен в программировании)))))) И тема быстро завалилась спорами!
  13. Всем привет! Помогите, пожалуйста! Надо, чтобы после оформления заказа клиент видел на странице "Ваш заказ оформлен!" сообщение: "Ваш заказ №ХХ оформлен!" Пролистал темы, но не нашел подходящее решение под себя...((( Вот что у меня в файле: /catalog/controller/checkout/success.php : <?php class ControllerCheckoutSuccess extends Controller { public function index() { $this->load->language('checkout/success'); if (isset($this->session->data['order_id'])) { $this->cart->clear(); // Add to activity log $this->load->model('account/activity'); if ($this->customer->isLogged()) { $activity_data = array( 'customer_id' => $this->customer->getId(), 'name' => $this->customer->getFirstName() . ' ' . $this->customer->getLastName(), 'order_id' => $this->session->data['order_id'] ); $this->model_account_activity->addActivity('order_account', $activity_data); } else { $activity_data = array( 'name' => $this->session->data['guest']['firstname'] . ' ' . $this->session->data['guest']['lastname'], 'order_id' => $this->session->data['order_id'] ); $this->model_account_activity->addActivity('order_guest', $activity_data); } 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']); unset($this->session->data['reward']); unset($this->session->data['voucher']); unset($this->session->data['vouchers']); unset($this->session->data['totals']); } $this->document->setTitle($this->language->get('heading_title')); $data['breadcrumbs'] = array(); $data['breadcrumbs'][] = array( 'text' => $this->language->get('text_home'), 'href' => $this->url->link('common/home') ); $data['breadcrumbs'][] = array( 'text' => $this->language->get('text_basket'), 'href' => $this->url->link('checkout/cart') ); $data['breadcrumbs'][] = array( 'text' => $this->language->get('text_checkout'), 'href' => $this->url->link('checkout/checkout', '', 'SSL') ); $data['breadcrumbs'][] = array( 'text' => $this->language->get('text_success'), 'href' => $this->url->link('checkout/success') ); $data['heading_title'] = $this->language->get('heading_title'); if ($this->customer->isLogged()) { $data['text_message'] = sprintf($this->language->get('text_customer'), $this->url->link('account/account', '', 'SSL'), $this->url->link('account/order', '', 'SSL'), $this->url->link('account/download', '', 'SSL'), $this->url->link('information/contact')); } else { $data['text_message'] = sprintf($this->language->get('text_guest'), $this->url->link('information/contact')); } $data['button_continue'] = $this->language->get('button_continue'); $data['continue'] = $this->url->link('common/home'); $data['column_left'] = $this->load->controller('common/column_left'); $data['column_right'] = $this->load->controller('common/column_right'); $data['content_top'] = $this->load->controller('common/content_top'); $data['content_bottom'] = $this->load->controller('common/content_bottom'); $data['footer'] = $this->load->controller('common/footer'); $data['header'] = $this->load->controller('common/header'); if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/common/success.tpl')) { $this->response->setOutput($this->load->view($this->config->get('config_template') . '/template/common/success.tpl', $data)); } else { $this->response->setOutput($this->load->view('default/template/common/success.tpl', $data)); } } }
×
×
  • 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.