Перейти до вмісту
Пошук в
  • Детальніше...
Шукати результати, які ...
Шукати результати в ...

7ochukwu

Користувачі
  
  • Публікації

    137
  • З нами

  • Відвідування

Відвідувачі профілю

1 382 перегляди профілю

7ochukwu's Achievements

Collaborator

Collaborator (7/14)

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

Recent Badges

1

Репутація

  1. Полный код cart.twig {{ header }} <div id="checkout-cart" class="container"> <ul class="breadcrumb"> {% for breadcrumb in breadcrumbs %} <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li> {% endfor %} </ul> {% if attention %} <div class="alert alert-info"><i class="fa fa-info-circle"></i> {{ attention }} <button type="button" class="close" data-dismiss="alert">&times;</button> </div> {% endif %} {% if success %} <div class="alert alert-success alert-dismissible"><i class="fa fa-check-circle"></i> {{ success }} <button type="button" class="close" data-dismiss="alert">&times;</button> </div> {% endif %} {% if error_warning %} <div class="alert alert-danger alert-dismissible"><i class="fa fa-exclamation-circle"></i> {{ error_warning }} <button type="button" class="close" data-dismiss="alert">&times;</button> </div> {% endif %} <div class="row">{{ column_left }} {% if column_left and column_right %} {% set class = 'col-sm-6' %} {% elseif column_left or column_right %} {% set class = 'col-sm-9' %} {% else %} {% set class = 'col-sm-12' %} {% endif %} <div id="content" class="{{ class }}">{{ content_top }} <h1>Ваша корзина</h1> <form action="{{ action }}" method="post" enctype="multipart/form-data" class="cart-form"> <div class="table-responsive"> <table class="table table-bordered"> <thead> <tr> <td class="text-center">{{ column_image }}</td> <td class="text-left">{{ column_name }}</td> <td class="text-left">{{ column_model }}</td> <td class="text-left">{{ column_quantity }}</td> <td class="text-right">{{ column_price }}</td> <td class="text-right text-right-price">{{ column_total }}</td> </tr> </thead> <tbody> {% for product in products %} <tr> <td class="text-center">{% if product.thumb %} {% if product.href == '#' %} <img src="{{ product.thumb }}" alt="{{ product.name }}" title="{{ product.name }}" class="img-thumbnail" /> {% else %} <a href="{{ product.href }}"><img src="{{ product.thumb }}" alt="{{ product.name }}" title="{{ product.name }}" class="img-thumbnail" /></a> {% endif %} {% endif %}</td> <td class="text-left"> {% if product.href == '#' %} {{ product.name }} {% else %} <a href="{{ product.href }}">{{ product.name }}</a> {% endif %} {% if not product.stock %} <span class="text-danger">***</span> {% endif %} {% if product.option %} {% for option in product.option %} <br /> <small>{{ option.name }}: {{ option.value }}</small> {% endfor %} {% endif %} {% if product.reward %} <br /> <small>{{ product.reward }}</small> {% endif %} {% if product.recurring %} <br /> <span class="label label-info">{{ text_recurring_item }}</span> <small>{{ product.recurring }}</small> {% endif %}</td> <td data-title="{{ column_model }}" class="text-left" style='white-space: nowrap;'>{{ product.model }}</td> <td data-title="{{ column_quantity }}" class="text-left"><div class="cart_input_block input-group btn-block" style="max-width: 200px; display: flex; "> {% if active_gift_ids[ product.product_id ] is defined %} <input disabled type="text" value="{{ product.quantity }}" style="background: none; color: black; margin: 0 auto; font-weight: bold; border: 0;" size="1" class="form-control" /> {% else %} <input type="text" name="quantity[{{ product.cart_id }}]" value="{{ product.quantity }}" size="1" class="form-control" /> {% endif %} <span class="input-group-btn"> {% if active_gift_ids[ product.product_id ] is defined %} {% else %} <button type="submit" data-toggle="tooltip" title="{{ button_update }}" class="btn btn-primary main"><i class="fa fa-refresh"></i></button> {% endif %} {% if active_gift_ids[ product.product_id ] is defined %} {% if active_gift_ids[ product.product_id ] > 0 %} <button type="button" data-toggle="tooltip" title="{{ button_remove }}" class="btn btn-danger" onclick="cart.remove('{{ product.cart_id }}');"><i class="fa fa-times-circle"></i></button> {% endif %} {% else %} <button type="button" data-toggle="tooltip" title="{{ button_remove }}" class="btn btn-danger" onclick="cart.remove('{{ product.cart_id }}');"><i class="fa fa-times-circle"></i></button> {% endif %} {% if active_gift_ids[ product.product_id ] is defined %} {% else %} {# <button type="button" data-toggle="tooltip" title="{{ button_postpone }}" class="btn btn-info" onclick="wishlist.add('{{ product.product_id }}')"><i class="fa fa-hourglass"></i></button> #} {% endif %} </span></div></td> <td data-title="{{ column_price }}" class="text-right unit-price">{{ product.price }}</td> <td data-title="{{ column_total }}" class="text-right total-price">{{ product.total }}</td> </tr> {% endfor %} {% for voucher in vouchers %} <tr> <td></td> <td class="text-left">{{ voucher.description }}</td> <td class="text-left"></td> <td class="text-left"><div class="input-group btn-block" style="max-width: 200px;"> <input type="text" name="" value="1" size="1" disabled="disabled" class="form-control" /> <span class="input-group-btn"> <button type="button" data-toggle="tooltip" title="{{ button_remove }}" class="btn btn-danger" onclick="voucher.remove('{{ voucher.key }}');"><i class="fa fa-times-circle"></i></button> </span></div></td> <td class="text-right">{{ voucher.amount }}</td> <td class="text-right">{{ voucher.amount }}</td> </tr> {% endfor %} </tbody> </table> </div> </form> {% if promo != "" %} {{ promo }} {% endif %} {% if promos_meta|length > 0 %} <div class="cart-promos"> <h2>Действующие акции</h2> {% for promo_meta in promos_meta %} <div id="promo{{ product_id }}" class="modal fade" role="dialog"> <div class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal">&times;</button> <h4 class="modal-title">Акция &laquo;{{ promo_meta.name }}&raquo;</h4></div><div class="modal-body">{{ promo_meta.description }}</div><div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">Закрыть</button></div> </div> </div> </div> {% if promo_meta.image %} <span class="promo-icon promo-image" data-toggle="modal" href="#promo{{ product_id }}"><img src='{{ promo_meta.image }}'></span> {% else %} <span class="promo-icon" data-toggle="modal" href="#promo{{ product_id }}">{{ promo_meta.name }}</span> {% endif %} {% endfor %} </div> {% endif %} {% if modules %} <div class="row"> <div class="col-sm-12"> <h2>{{ text_next }}</h2> <p>{{ text_next_choice }}</p> </div> <div class="panel-group col-sm-8" id="accordion"> {% for module in modules %} {{ module }} {% endfor %} </div> {% endif %} <div class="col-sm-4 sub-total-table"> <table class="table table-bordered"> {% for total in totals %} <tr> <td class="text-right heading-title"><strong>{{ total.title }}:</strong></td> <td class="text-right total-amount">{{ total.text }}</td> </tr> {% endfor %} </table> </div> </div> <div class="buttons"> <div class="pull-left"><a href="{{ continue }}" class="btn btn-default cnt">{{ button_shopping }}</a></div> <div class="pull-right"> {% if min_total > 0 and min_total > order_total and not nomincoupon %} <span class='min-subtotal-note'>Минимальная сумма заказа: {{ min_total }}&nbsp;руб.</span> <a href="{{ checkout }}" class="disabled btn btn-primary">{{ button_checkout }}</a> {% else %} <a href="{{ checkout }}" class="btn btn-primary">{{ button_checkout }}</a> {% endif %} </div> </div> {{ content_bottom }}</div> {{ column_right }}</div> </div> <script> {% if products %} var inCartProducts = { {% for product in products %} {{ product.product_id }}: {{ product.cart_id }}{% if false == loop.last %},{% endif %} {% endfor %} }; {% endif %} </script> {{ footer }}
  2. <div class="buttons"> <div class="pull-left"><a href="{{ continue }}" class="btn btn-default cnt">{{ button_shopping }}</a></div> <div class="pull-right"> {% if min_total > 0 and min_total > order_total and not nomincoupon %} <span class='min-subtotal-note'>Минимальная сумма заказа: {{ min_total }}&nbsp;руб.</span> <a href="{{ checkout }}" class="disabled btn btn-primary">{{ button_checkout }}</a> {% else %} <a href="{{ checkout }}" class="btn btn-primary">{{ button_checkout }}</a> {% endif %} </div> </div> Подскажите, как можно добавить к этому скрипу так же условие - если используется подарочный сертификат не устанавливать минимальную сумму заказа
  3. Пути поменял Вроде импорт закончился успешно. Правильно понимаю, что папка storage в OC 3 всегда и была вынесена в отдельную директиву за папку сайта?
  4. Понял о чем вы говорите. Такой вопрос Дело в том, что папка storage сейчас вынесена за пределы папки сайта. Произошло это еще на облачном сервере. По каким причинам это было сделано не ясно. Иерархию сохранили и на новом обычном хостинге. В конфиге уже на новом хостинге есть об этом информация. Вроде все модули работают как нужно. Да и вообще сайт работает как нужно, кроме импорта 1С и установки модулей. При установкt через ocmod выдает ошибку о том, что папка не найдена. Я так понимаю из-за того, что дефолтно в модификаторах xml указан путь к storage внутри папки сайта, каким он и должен быть. В связи с этим было желание перенести папку storage внутрь, как располагается из коробки (в папку systems), чтобы не нарушать процесс дефолтной установки модулей. Как быть в этой ситуации? стоит ли переносить папку? и менять ее путь в конфиге А в кроне указать просто путь к этой папке?
  5. private $_1CfilePath = DIR_UPLOAD . 'ftp'; вот такое значение нашел. private $error = array(); private $_1CfilePath = DIR_UPLOAD . 'ftp'; private $_1CfileExtension = 'csv'; Как я могу заменить адрес директории, например интересует директория /catalog/1С_upload ?
  6. Так, подскажите, а где я в теории могу посмотреть путь в переменной _1CfilePath?
  7. После переноса с облачного сервера появилась проблема с синхронизацией 1С. По сути синхронизацией не стало совсем. Вся суть синхронизации состояла в выгрузке некой таблицы, после которой по крону ее съедал OpenCart. Решение без кабинета в админке OC. SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ # For details see man 4 crontabs # Example of job definition: # .---------------- minute (0 - 59) # | .------------- hour (0 - 23) # | | .---------- day of month (1 - 31) # | | | .------- month (1 - 12) OR jan,feb,mar,apr ... # | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat # | | | | | # * * * * * user-name command to be executed */2 * * * * root /usr/bin/links -source https://www.сайт.ru/wp-cron.php?10517f841dbb594cdbccc0c734ee41e2&action=wysija_cron&process=all */2 * * * * root wget -O /dev/null -q https://www.сайт.ru/s/cron.php > /dev/null 40 * * * * mv /home/1cftp/ftp/* /home/datasub/htdocs/storage/upload/ftp > /dev/null 45 * * * * wget -O /dev/null -q https://shop.сайт.ru/index.php?route=product/product/import1c > /dev/null 0 9 * * * root wget -O /dev/null -q https://www.сайт.ru/s/index.php?route=product/product/soldout > /dev/null * * * * * root wget -O /dev/null --password=devcd --user=devcd -q http://test.сайт.ru/s/cron.php > /dev/null #37 17 2 9 5 root /usr/bin/php -f /home/datasub/htdocs/backup.charmdis.ru/docs/static/cdmailer/index.php >> /home/datasub/htdocs/backup.charmdis.ru/docs/var/mailer.log #5 16 * * * root /usr/bin/php -f /home/charmdis/docs/static/cdmailer/index.php >> /home/charmdis/docs/static/cdmailer/sending.log 0 3 * * * root /usr/bin/lynx -source -accept_all_cookies https://www.сайт.ru/s/index.php?route=api/ordercoupon/cron 0 4 * * * root /usr/bin/lynx -source -accept_all_cookies https://www.сайт.ru/s/index.php?route=api/instagram 0 1 * * * export APPLICATION_ENV="production" && cd /home/datasub/htdocs/hairbrand.ru/ && nice -n 15 php console.php -m site -c index -a upload-backups-to-drop-box >> /tmp/cron-upload-backups-to-dropbox.log вот так выглядел файл крона на облачном сервере Переносили только сайт на субдомене на другой, обычный хостинг. Понятно дело доступа к файлам и папкам теперь нет, к которым был ранее. Получается из файла крона нас интересует только сайт на субдомене shop К этому сайту относится запрос 45 * * * * wget -O /dev/null -q https://shop.сайт.ru/index.php?route=product/product/import1c > /dev/null и 40 * * * * mv /home/1cftp/ftp/* /home/datasub/htdocs/storage/upload/ftp > /dev/null так, как только он работал с 1С и обменивался. Как я понял, файл прилетал в директиву /home/1cftp/ftp/ из 1С - напрямую. Я так понимаю сам 1С отправлял и отправляет прямо сейчас через FTP туда файл после чего он перемещался кроном в директорию /home/datasub/htdocs/storage/upload/ftp Оттуда его OC через скрипт 45 * * * * wget -O /dev/null -q https://shop.сайт.ru/index.php?route=product/product/import1c > /dev/null о котором я говорил ранее съедает. Но, OC есть не хочет, пишет нет файла. Пока писал понял что это ведь логично - 1С выгружает файл по старому FTP подключению. Вот такие ошибки он выводит каждый час. Иногда чаще. В связи с этим вопросы: Если я изменю в настройках 1С параметры FTP подключения, мне же нужно будет использовать какую то другую директорию. Понятно, что 1С будет выгружать прямо в корень папки которая будет указана в параметрах FTP доступа. Но какую и главное КАК указать директорию для скрипта который будет кроном пытаться съесть файл, которого нет в папке (директива где то указана старая, от прошлого сервака). 45 * * * * wget -O /dev/null -q https://shop.сайт.ru/index.php?route=product/product/import1c > /dev/null Я так понимаю этот файл, исполняемый поможет внести хоть какую то ясность. Как можно этот файл открыть? Что это вообще такое? Где это находится, вообще? В качестве дополнения добавлю код, который нашел по пути /www/shop.charmdis.ru/catalog/controller/product/product.php , относящийся к импорту /* Apr 9th 2020 new format сайт SKU 1C ID Moscow qty SPb qty Price * Old schema: * сайт SKU * 1C ID * Moscow Qty * Moscow Price * SPb Qty * SPb Price */ $this->log->write( 'Import from 1C FTP file start' ); if( ! file_exists( $this->_1CfilePath )) { return 'Не найден путь к файлу импорта'; } $ftpDir = opendir( $this->_1CfilePath ); $itemsProcessed = $itemsUnprocessed = 0; while( $ftpFile = readdir( $ftpDir )) { if( preg_match( '@\.'. $this->_1CfileExtension .'$@', $ftpFile )) { $aFileName = explode( '-', $ftpFile ); if( count( $aFileName ) < 7 ) { $ftpFileNewName = preg_replace( '@\.'. $this->_1CfileExtension .'@', '-' . date('Y-m-d-H-i-s') . '$0', $ftpFile ); $this->load->model('catalog/product'); $this->log->write( 'Importing from file ' . $ftpFile ); $source1CFile = $this->_1CfilePath . DIRECTORY_SEPARATOR . $ftpFile; $in1c = file( $source1CFile ); foreach( $in1c as $inline ) { $inline = preg_replace( '@[^0-9а-яa-z;/\s-]@iu', '', $inline ); $al = explode( ';', trim( $inline )); $model1c = $al[1]; if( count( $al ) < 3 || count( $al ) > 5 ) { return 'Неправильное число колонок в файле, должно быть: артикул, ID из 1C, остатки, цена (опционально)'; } $this->model_catalog_product->updateProduct1c( $al[0], $model1c ); // Has SPB data if( count( $al ) == 6 ) { if( $this->model_catalog_product->setProductQuantity( $model1c, (int) $al[4], "Санкт-Петербург" )) { $itemsProcessed ++; // Ignore SPb price? /*if( $this->model_catalog_product->setProductPrice( $model1c, (float) $al[5] ) ) { }*/ } } elseif( count( $al ) == 5 ) { // New format $this->model_catalog_product->setProductQuantity( $model1c, (int) $al[2], "Москва" ); $this->model_catalog_product->setProductQuantity( $model1c, (int) $al[3], "Санкт-Петербург" ); $product_status = $al[2] + $al[2] > 0 ? 7 : 5; $this->model_catalog_product->setProductStatus( $model1c, $product_status ); if( $this->model_catalog_product->setProductPrice( $model1c, (float) $al[4] ) ) { $itemsProcessed ++; } else { $itemsUnprocessed ++; } } } $this->log->write( 'Import from 1C FTP file finished: ' . $itemsProcessed . ' processed items, ' . $itemsUnprocessed . ' unprocessed items' ); if( copy( $source1CFile, $this->_1CfilePath . DIRECTORY_SEPARATOR . $ftpFileNewName )) { $this->log->write( 'Renaming file to ' . $ftpFileNewName ); if( unlink( $source1CFile )) { $this->log->write( 'Deleting original file' ); } else { $this->log->write( 'Failed to delete original file' ); } } else { $this->log->write( 'Renaming file failed' ); } return ''; } } } return 'Не найдены файлы для импорта'; } public function import1c() { ini_set('display_errors', '1' ); $error = $this->process1cFile(); $this->cache->delete('product.bestseller'); $this->cache->delete('products'); if( $error ) { $this->log->write( 'Import error: ' . $error ); die( $error ); } } Что это может быть? Может кто то шарит в программировании? Если этот код не запускает тарелку в космос, что еще это может быть? Помогите пожалуйста по данному вопросу.
  8. Подумал, может быть проблема именно с файлом. Может ли быть проблема с установкой по причине того что сам файл дашборда был кастомизирован и не был найден $this->response->setOutput($this->load->view('common/dashboard', $data)); например. или он в любом бы случае установил модификатор? Что если стоят ограничения на запись? Учитывая, что сайт достался после агентства - они этим постоянно грешат. Какой файл нужно смотреть?
  9. Сейчас, когда у меня есть папка , посмотрю файл dashbord, отпишусь
  10. Сайт достался по наследству. Вот разбираюсь с "хозяйством" этим.. В логе нашел путь! Но теперь, обнаружилось что плохо работает OCMOD?
  11. такой вопрос, модификаторы какие то после установки должны вот здесь появляться в OС3? Потому что после установки они у меня только здесь
  12. <!DOCTYPE html> <html dir="ltr" lang="ru"> <head> <meta charset="UTF-8" /> <title>Панель состояния</title> <base href="https://shop.charmdis.ru/admin/" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" /> <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/stylesheet/bootstrap.css" type="text/css" rel="stylesheet" /> <link href="view/javascript/font-awesome/css/font-awesome.min.css" type="text/css" rel="stylesheet" /> <script src="view/javascript/jquery/datetimepicker/moment/moment.min.js" type="text/javascript"></script> <script src="view/javascript/jquery/datetimepicker/moment/moment-with-locales.min.js" type="text/javascript"></script> <script src="view/javascript/jquery/datetimepicker/bootstrap-datetimepicker.min.js" type="text/javascript"></script> <link href="view/javascript/jquery/datetimepicker/bootstrap-datetimepicker.min.css" type="text/css" rel="stylesheet" media="screen" /> <link type="text/css" href="view/stylesheet/stylesheet.css" rel="stylesheet" media="screen" /> <script src="view/javascript/common.js?V=324" type="text/javascript"></script> </head> <body> <div id="container"> <header id="header" class="navbar navbar-static-top"> <div class="container-fluid"> <div id="header-logo" class="navbar-header"><a href="https://shop.charmdis.ru/admin/index.php?route=common/dashboard&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a" class="navbar-brand"><img src="view/image/logo.png" alt="ocStore" title="ocStore" /></a></div> <a href="#" id="button-menu" class="hidden-md hidden-lg"><span class="fa fa-bars"></span></a> <ul class="nav pull-left"> <li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" title="Добавить"><i class="fa fa-plus fa-lg"></i> <span class="header-item">Добавить</span></a> <ul class="dropdown-menu dropdown-menu-left alerts-dropdown"> <li><a href="https://shop.charmdis.ru/admin/index.php?route=catalog/product/add&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a" style="display: block; overflow: auto;">Товар</a></li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=catalog/category/add&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a" style="display: block; overflow: auto;">Категорию</a></li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=catalog/manufacturer/add&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a" style="display: block; overflow: auto;">Производителя</a></li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=user/user/add&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a" style="display: block; overflow: auto;">Пользователя</a></li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=catalog/download/add&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a" style="display: block; overflow: auto;">Загрузку</a></li> </ul> </li> </ul> <div id="oc-search-div" class="col-sm-3 col-md-3 pull-left"> <form id="oc-search" class="navbar-form" role="search"> <div class="input-group"> <div class="input-group-btn"> <a class="btn btn-default dropdown-toggle" data-toggle="dropdown" href="#"> <i class="fa fa-search"></i> <span class="caret"></span> </a> <ul class="dropdown-menu dropdown-menu-left alerts-dropdown"> <li class="dropdown-header">Опции поиска</li> <li><a onclick="setOption('catalog', 'Название, Код товара, SKU'); return false;"><i class="fa fa-book"></i><span>Каталог</span></a></li> <li><a onclick="setOption('customers', 'Фамилия, Имя, E-Mail'); return false;"><i class="fa fa-group"></i><span>Покупатели</span></a></li> <li><a onclick="setOption('orders', 'Номер заказа, Номер счета, Фамилия, Имя, E-mail'); return false;"><i class="fa fa-credit-card"></i><span>Заказы</span></a></li> </ul> </div> <input id="oc-search-input" type="text" class="form-control" placeholder="Поиск" name="query" autocomplete="off" /> <input id="oc-search-option" type="hidden" name="search-option" value="catalog" /> <div id="loader-search"><img src="view/image/loader-search.gif" alt="" /></div> </div> </form> <div id="oc-search-result"></div> <script type="text/javascript"> function setOption(option, text) { jQuery('#oc-search-option').val(option); jQuery('#oc-search-input').attr('placeholder', text); } jQuery('#oc-search-input').keyup(function(){ var option = jQuery('#oc-search-option').val(); var length = 3; if(option == 'orders') { length = 1; } if(this.value.length < length) { return false; } if(jQuery.support.leadingWhitespace == false) { return false; } jQuery('#loader-search').css('display', 'block'); jQuery.ajax({ type: 'get', url: 'index.php?route=search/search/search' + '&user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a', data: jQuery('#oc-search').serialize(), dataType: 'json', success:function(json){ jQuery('#oc-search-result').css('display', 'block'); jQuery('#loader-search').css('display', 'none'); if(json['error']) { jQuery('#oc-search-result').html(json['error']) return; } jQuery('#oc-search-result').html(json['result']) } }); }); jQuery(document).mouseup(function (e) { var container = jQuery('#oc-search-result'); if (!container.is(e.target) && container.has(e.target).length === 0) { container.hide(); } }); jQuery('#oc-search').submit(function(e) { e.preventDefault(); }); </script> </div> <ul class="nav navbar-nav navbar-right"> <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown"><img src="https://shop.charmdis.ru/image/cache/profile-45x45.png" alt="Лев Узор" title="internet" id="user-profile" class="img-circle" />Лев Узор <i class="fa fa-caret-down fa-fw"></i></a> <ul class="dropdown-menu dropdown-menu-right"> <li><a href="https://shop.charmdis.ru/admin/index.php?route=common/profile&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a"><i class="fa fa-user-circle-o fa-fw"></i> Ваш профиль</a></li> <li role="separator" class="divider"></li> <li class="dropdown-header">Магазины</li> <li><a href="https://shop.charmdis.ru/" target="_blank">Шарм Дистрибьюторс</a></li> <li role="separator" class="divider"></li> <li class="dropdown-header">Помощь</li> <li><a href="https://ocstore.com" target="_blank"><i class="fa fa-opencart fa-fw"></i> Сайт проекта</a></li> <li><a href="https://docs.ocstore.com" target="_blank"><i class="fa fa-file-text-o fa-fw"></i> Документация</a></li> <li><a href="https://opencartforum.com" target="_blank"><i class="fa fa-comments-o fa-fw"></i> Форум поддержки</a></li> </ul> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=common/logout&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a"><i class="fa fa-sign-out"></i> <span class="hidden-xs hidden-sm hidden-md">Выход</span></a></li> </ul> </div> </header> <nav id="column-left"> <div id="navigation"><span class="fa fa-bars"></span> Навигация</div> <ul id="menu"> <li id="menu-dashboard"><a href="https://shop.charmdis.ru/admin/index.php?route=common/dashboard&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a"><i class="fa fa-dashboard fw"></i> Панель состояния</a> </li> <li id="menu-catalog"><a href="#collapse1" data-toggle="collapse" class="parent collapsed"><i class="fa fa-tags fw"></i> Каталог</a> <ul id="collapse1" class="collapse"> <li><a href="https://shop.charmdis.ru/admin/index.php?route=catalog/category&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Категории</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=catalog/product&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Товары</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=catalog/recurring&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Профили периодичности</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=catalog/filter&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Фильтры</a> </li> <li><a href="#collapse5" data-toggle="collapse" class="parent collapsed">Характеристики</a> <ul id="collapse5" class="collapse"> <li><a href="https://shop.charmdis.ru/admin/index.php?route=catalog/attribute&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Характеристики</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=catalog/attribute_group&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Группы характеристик</a> </li> </ul> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=catalog/option&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Опции</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=catalog/manufacturer&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Производители</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=catalog/download&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Файлы для скачивания</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=catalog/review&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Отзывы</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=catalog/information&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Статьи</a> </li> </ul> </li> <li id="menu-blog"><a href="#collapse14" data-toggle="collapse" class="parent collapsed"><i class="fa fa-book fw"></i> Блог</a> <ul id="collapse14" class="collapse"> <li><a href="https://shop.charmdis.ru/admin/index.php?route=blog/article&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Статьи блога</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=blog/category&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Категории блога</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=blog/review&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Отзывы блога</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=blog/setting&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Настройки блога</a> </li> </ul> </li> <li id="menu-extension"><a href="#collapse19" data-toggle="collapse" class="parent collapsed"><i class="fa fa-puzzle-piece fw"></i> Расширения</a> <ul id="collapse19" class="collapse"> <li><a href="https://shop.charmdis.ru/admin/index.php?route=marketplace/opencartforum&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">OpenCartForum магазин</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=marketplace/marketplace&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Магазин OpenCart.com</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=marketplace/installer&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Установка расширений</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=marketplace/extension&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Расширения</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=marketplace/modification&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Модификаторы</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=marketplace/event&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">События</a> </li> </ul> </li> <li id="menu-design"><a href="#collapse26" data-toggle="collapse" class="parent collapsed"><i class="fa fa-television fw"></i> Дизайн</a> <ul id="collapse26" class="collapse"> <li><a href="https://shop.charmdis.ru/admin/index.php?route=design/layout&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Макеты</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=design/theme&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Редактор шаблонов</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=design/translation&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Редактор перевода</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=design/banner&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Баннеры</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=design/seo_url&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">SEO URL</a> </li> </ul> </li> <li id="menu-sale"><a href="#collapse32" data-toggle="collapse" class="parent collapsed"><i class="fa fa-shopping-cart fw"></i> Продажи</a> <ul id="collapse32" class="collapse"> <li><a href="https://shop.charmdis.ru/admin/index.php?route=sale/order&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Заказы</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=sale/recurring&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Профили периодичности</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=sale/return&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Возврат товара</a> </li> <li><a href="#collapse35" data-toggle="collapse" class="parent collapsed">Подарочные сертификаты</a> <ul id="collapse35" class="collapse"> <li><a href="https://shop.charmdis.ru/admin/index.php?route=sale/voucher&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Подарочные сертификаты</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=sale/voucher_theme&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Тематика</a> </li> </ul> </li> </ul> </li> <li id="menu-customer"><a href="#collapse39" data-toggle="collapse" class="parent collapsed"><i class="fa fa-user fw"></i> Покупатели</a> <ul id="collapse39" class="collapse"> <li><a href="https://shop.charmdis.ru/admin/index.php?route=customer/customer&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Покупатели</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=customer/customer_group&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Группы покупателей</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=customer/customer_approval&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Утверждение покупателей</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=customer/custom_field&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Настраиваемые поля</a> </li> </ul> </li> <li id="menu-marketing"><a href="#collapse44" data-toggle="collapse" class="parent collapsed"><i class="fa fa-share-alt fw"></i> Маркетинг</a> <ul id="collapse44" class="collapse"> <li><a href="https://shop.charmdis.ru/admin/index.php?route=marketing/marketing&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Маркетинг</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=marketing/coupon&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Купоны</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=marketing/promo&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Акции</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=marketing/shortlink&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Короткие ссылки</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=marketing/contact&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Почта</a> </li> </ul> </li> <li id="menu-system"><a href="#collapse50" data-toggle="collapse" class="parent collapsed"><i class="fa fa-cog fw"></i> Система</a> <ul id="collapse50" class="collapse"> <li><a href="https://shop.charmdis.ru/admin/index.php?route=setting/store&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Настройки</a> </li> <li><a href="#collapse51" data-toggle="collapse" class="parent collapsed">Пользователи</a> <ul id="collapse51" class="collapse"> <li><a href="https://shop.charmdis.ru/admin/index.php?route=user/user&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Пользователи</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=user/user_permission&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Группы пользователей</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=user/api&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">API</a> </li> </ul> </li> <li><a href="#collapse55" data-toggle="collapse" class="parent collapsed">Локализация</a> <ul id="collapse55" class="collapse"> <li><a href="https://shop.charmdis.ru/admin/index.php?route=localisation/location&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Местонахождение</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=localisation/language&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Языки</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=localisation/currency&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Валюта</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=localisation/stock_status&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Состояние на складе</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=localisation/order_status&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Статус заказов</a> </li> <li><a href="#collapse60" data-toggle="collapse" class="parent collapsed">Возврат товара</a> <ul id="collapse60" class="collapse"> <li><a href="https://shop.charmdis.ru/admin/index.php?route=localisation/return_status&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Статусы возврата</a></li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=localisation/return_action&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Операции возврата</a></li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=localisation/return_reason&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Причины возврата</a></li> </ul> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=localisation/country&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Страны</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=localisation/zone&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Регионы</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=localisation/geo_zone&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Географические зоны</a> </li> <li><a href="#collapse64" data-toggle="collapse" class="parent collapsed">Налоги</a> <ul id="collapse64" class="collapse"> <li><a href="https://shop.charmdis.ru/admin/index.php?route=localisation/tax_class&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Налоговые классы</a></li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=localisation/tax_rate&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Налоговые ставки</a></li> </ul> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=localisation/length_class&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Единицы измерения</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=localisation/weight_class&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Единицы веса</a> </li> </ul> </li> <li><a href="#collapse68" data-toggle="collapse" class="parent collapsed">Обслуживание</a> <ul id="collapse68" class="collapse"> <li><a href="https://shop.charmdis.ru/admin/index.php?route=tool/backup&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Бэкап / Восстановление</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=tool/upload&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Загрузить</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=tool/log&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Журнал ошибок</a> </li> </ul> </li> </ul> </li> <li id="menu-report"><a href="#collapse73" data-toggle="collapse" class="parent collapsed"><i class="fa fa-bar-chart-o fw"></i> Отчеты</a> <ul id="collapse73" class="collapse"> <li><a href="https://shop.charmdis.ru/admin/index.php?route=report/report&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Отчеты</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=report/online&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Покупатели онлайн</a> </li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=report/statistics&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Статистика</a> </li> </ul> </li> </ul> <div id="stats"> <ul> <li> <div>Завершенных заказов <span class="pull-right">0%</span></div> <div class="progress"> <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%"> <span class="sr-only">0%</span></div> </div> </li> <li> <div>Заказов в процессе <span class="pull-right">8%</span></div> <div class="progress"> <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="8" aria-valuemin="0" aria-valuemax="100" style="width: 8%"> <span class="sr-only">8%</span></div> </div> </li> <li> <div>Другие заказы <span class="pull-right">5%</span></div> <div class="progress"> <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="5" aria-valuemin="0" aria-valuemax="100" style="width: 5%"> <span class="sr-only">5%</span></div> </div> </li> </ul> </div> </nav> <div id="content"> <div class="page-header"> <div class="container-fluid"> <div class="pull-right"> <button type="button" id="button-setting" title="" data-loading-text="Загрузка..." class="btn btn-info"><i class="fa fa-cog"></i></button> </div> <h1>Панель состояния</h1> <ul class="breadcrumb"> <li><a href="https://shop.charmdis.ru/admin/index.php?route=common/dashboard&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Главная</a></li> <li><a href="https://shop.charmdis.ru/admin/index.php?route=common/dashboard&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Панель состояния</a></li> </ul> </div> </div> <div class="container-fluid"> <div class="row"> <div class="col-lg-3 col-md-12 col-sm-12"><div class="tile tile-primary"> <div class="tile-heading">Всего заказов <span class="pull-right"> <i class="fa fa-caret-down"></i> -200%</span></div> <div class="tile-body"><i class="fa fa-shopping-cart"></i> <h2 class="pull-right">691</h2> </div> <div class="tile-footer"><a href="https://shop.charmdis.ru/admin/index.php?route=sale/order&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Подробнее...</a></div> </div> </div> <div class="col-lg-3 col-md-12 col-sm-12"><div class="tile tile-primary"> <div class="tile-heading">Всего продаж <span class="pull-right"> <i class="fa fa-caret-up"></i> 2%</span></div> <div class="tile-body"><i class="fa fa-credit-card"></i> <h2 class="pull-right">5.2M</h2> </div> <div class="tile-footer"><a href="https://shop.charmdis.ru/admin/index.php?route=sale/order&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Подробнее...</a></div> </div> </div> <div class="col-lg-3 col-md-12 col-sm-12"><div class="tile tile-primary"> <div class="tile-heading">Посетители онлайн</div> <div class="tile-body"><i class="fa fa-users"></i> <h2 class="pull-right">69</h2> </div> <div class="tile-footer"><a href="https://shop.charmdis.ru/admin/index.php?route=report/online&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a">Подробнее...</a></div> </div> </div> <div class="col-lg-6 col-md-12 col-sm-12"><div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title"><i class="fa fa-globe"></i> Карта мира</h3> </div> <div class="panel-body"> <div id="vmap" style="width: 100%; height: 260px;"></div> </div> </div> <link type="text/css" href="view/javascript/jquery/jqvmap/jqvmap.css" rel="stylesheet" media="screen" /> <script type="text/javascript" src="view/javascript/jquery/jqvmap/jquery.vmap.js"></script> <script type="text/javascript" src="view/javascript/jquery/jqvmap/maps/jquery.vmap.world.js"></script> <script type="text/javascript"><!-- $(document).ready(function() { $.ajax({ url: 'index.php?route=extension/dashboard/map/map&user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a', dataType: 'json', success: function(json) { data = []; for (i in json) { data[i] = json[i]['total']; } $('#vmap').vectorMap({ map: 'world_en', backgroundColor: '#FFFFFF', borderColor: '#FFFFFF', color: '#9FD5F1', hoverOpacity: 0.7, selectedColor: '#666666', enableZoom: true, showTooltip: true, values: data, normalizeFunction: 'polynomial', onLabelShow: function(event, label, code) { if (json[code]) { label.html('<strong>' + label.text() + '</strong><br />' + 'Заказов ' + json[code]['total'] + '<br />' + 'Продаж ' + json[code]['amount']); } } }); }, error: function(xhr, ajaxOptions, thrownError) { alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); } }); }); //--></script> </div> </div> <div class="row"> <div class="col-lg-6 col-md-12 col-sm-12"><div class="panel panel-default"> <div class="panel-heading"> <div class="pull-right"><a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-calendar"></i> <i class="caret"></i></a> <ul id="range" class="dropdown-menu dropdown-menu-right"> <li><a href="day">Сегодня</a></li> <li><a href="week">Неделя</a></li> <li class="active"><a href="month">Месяц</a></li> <li><a href="year">Год</a></li> </ul> </div> <h3 class="panel-title"><i class="fa fa-bar-chart-o"></i> Аналитика продаж</h3> </div> <div class="panel-body"> <div id="chart-sale" style="width: 100%; height: 260px;"></div> </div> </div> <script type="text/javascript" src="view/javascript/jquery/flot/jquery.flot.js"></script> <script type="text/javascript" src="view/javascript/jquery/flot/jquery.flot.resize.min.js"></script> <script type="text/javascript"><!-- $('#range a').on('click', function(e) { e.preventDefault(); $(this).parent().parent().find('li').removeClass('active'); $(this).parent().addClass('active'); $.ajax({ type: 'get', url: 'index.php?route=extension/dashboard/chart/chart&user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a&range=' + $(this).attr('href'), dataType: 'json', success: function(json) { if (typeof json['order'] == 'undefined') { return false; } var option = { shadowSize: 0, colors: ['#9FD5F1', '#1065D2'], bars: { show: true, fill: true, lineWidth: 1 }, grid: { backgroundColor: '#FFFFFF', hoverable: true }, points: { show: false }, xaxis: { show: true, ticks: json['xaxis'] } } $.plot('#chart-sale', [json['order'], json['customer']], option); $('#chart-sale').bind('plothover', function(event, pos, item) { $('.tooltip').remove(); if (item) { $('<div id="tooltip" class="tooltip top in"><div class="tooltip-arrow"></div><div class="tooltip-inner">' + item.datapoint[1].toFixed(2) + '</div></div>').prependTo('body'); $('#tooltip').css({ position: 'absolute', left: item.pageX - ($('#tooltip').outerWidth() / 2), top: item.pageY - $('#tooltip').outerHeight(), pointer: 'cusror' }).fadeIn('slow'); $('#chart-sale').css('cursor', 'pointer'); } else { $('#chart-sale').css('cursor', 'auto'); } }); }, error: function(xhr, ajaxOptions, thrownError) { alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); } }); }); $('#range .active a').trigger('click'); //--></script> </div> <div class="col-lg-4 col-md-12 col-sm-12"><div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title"><i class="fa fa-calendar"></i> Последняя активность</h3> </div> <ul class="list-group"> <li class="list-group-item"><a href="https://shop.charmdis.ru/admin/index.php?route=customer/customer/edit&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a&amp;customer_id=2162">Екатерина Семенова </a> added a <a href="https://shop.charmdis.ru/admin/index.php?route=sale/order/info&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a&amp;order_id=874">new order</a>.<br /> <small class="text-muted"><i class="fa fa-clock-o"></i> 06.04.2021 08:36:39</small></li> <li class="list-group-item"><a href="https://shop.charmdis.ru/admin/index.php?route=customer/customer/edit&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a&amp;customer_id=2162">Екатерина Семенова </a> added a new address.<br /> <small class="text-muted"><i class="fa fa-clock-o"></i> 06.04.2021 08:35:45</small></li> <li class="list-group-item"><a href="https://shop.charmdis.ru/admin/index.php?route=customer/customer/edit&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a&amp;customer_id=2162">Екатерина Семенова </a> added a new address.<br /> <small class="text-muted"><i class="fa fa-clock-o"></i> 06.04.2021 08:35:44</small></li> <li class="list-group-item"><a href="https://shop.charmdis.ru/admin/index.php?route=customer/customer/edit&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a&amp;customer_id=2162">Екатерина Семенова </a> logged in.<br /> <small class="text-muted"><i class="fa fa-clock-o"></i> 06.04.2021 08:35:01</small></li> <li class="list-group-item"><a href="https://shop.charmdis.ru/admin/index.php?route=customer/customer/edit&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a&amp;customer_id=2162">Екатерина Семенова </a> reset their account password.<br /> <small class="text-muted"><i class="fa fa-clock-o"></i> 06.04.2021 08:33:57</small></li> </ul> </div></div> <div class="col-lg-8 col-md-12 col-sm-12"><div class="panel panel-default"> <div class="panel-heading"> <h3 class="panel-title"><i class="fa fa-shopping-cart"></i> Последнии заказы</h3> </div> <div class="table-responsive"> <table class="table"> <thead> <tr> <td class="text-right">№</td> <td>Покупатель</td> <td>Статус</td> <td>Дата добавления</td> <td class="text-right">Сумма</td> <td class="text-right">Действие</td> </tr> </thead> <tbody> <tr> <td class="text-right">874</td> <td>Екатерина Семенова </td> <td>Ожидание</td> <td>06.04.2021</td> <td class="text-right">4337.00р.</td> <td class="text-right"><a href="https://shop.charmdis.ru/admin/index.php?route=sale/order/info&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a&amp;order_id=874" data-toggle="tooltip" title="Просмотр" class="btn btn-info"><i class="fa fa-eye"></i></a></td> </tr> <tr> <td class="text-right">873</td> <td>Мария Князева</td> <td>Сделка завершена</td> <td>05.04.2021</td> <td class="text-right">11184.00р.</td> <td class="text-right"><a href="https://shop.charmdis.ru/admin/index.php?route=sale/order/info&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a&amp;order_id=873" data-toggle="tooltip" title="Просмотр" class="btn btn-info"><i class="fa fa-eye"></i></a></td> </tr> <tr> <td class="text-right">872</td> <td>Анна Домбковская </td> <td></td> <td>04.04.2021</td> <td class="text-right">4939.00р.</td> <td class="text-right"><a href="https://shop.charmdis.ru/admin/index.php?route=sale/order/info&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a&amp;order_id=872" data-toggle="tooltip" title="Просмотр" class="btn btn-info"><i class="fa fa-eye"></i></a></td> </tr> <tr> <td class="text-right">871</td> <td>Лилия Гильфанутдинова</td> <td>Сделка завершена</td> <td>04.04.2021</td> <td class="text-right">3663.00р.</td> <td class="text-right"><a href="https://shop.charmdis.ru/admin/index.php?route=sale/order/info&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a&amp;order_id=871" data-toggle="tooltip" title="Просмотр" class="btn btn-info"><i class="fa fa-eye"></i></a></td> </tr> <tr> <td class="text-right">870</td> <td>Лилия Гильфанутдинова</td> <td></td> <td>04.04.2021</td> <td class="text-right">3663.00р.</td> <td class="text-right"><a href="https://shop.charmdis.ru/admin/index.php?route=sale/order/info&amp;user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a&amp;order_id=870" data-toggle="tooltip" title="Просмотр" class="btn btn-info"><i class="fa fa-eye"></i></a></td> </tr> </tbody> </table> </div> </div> </div> </div> </div> <script type="text/javascript"><!-- $('#button-setting').on('click', function() { $.ajax({ url: 'index.php?route=common/developer&user_token=9ebFe6MHxITYRTi3gSYmy8tRzyQe0M4a', dataType: 'html', beforeSend: function() { $('#button-setting').button('loading'); }, complete: function() { $('#button-setting').button('reset'); }, success: function(html) { $('#modal-developer').remove(); $('body').prepend('<div id="modal-developer" class="modal">' + html + '</div>'); $('#modal-developer').modal('show'); }, error: function(xhr, ajaxOptions, thrownError) { alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); } }); }); //--></script> </div> <footer id="footer"><a target="_blank" href="https://ocstore.com/">ocStore</a> &copy; 2009-2021 Все права защищены.<br />Версия ocStore 3.0.2.0</footer></div> </body></html>

×
×
  • Створити...

Important Information

На нашому сайті використовуються файли cookie і відбувається обробка деяких персональних даних користувачів, щоб поліпшити користувальницький інтерфейс. Щоб дізнатися для чого і які персональні дані ми обробляємо перейдіть за посиланням . Якщо Ви натиснете «Я даю згоду», це означає, що Ви розумієте і приймаєте всі умови, зазначені в цьому Повідомленні про конфіденційність.