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

XRU13

Newbie
  
  • Posts

    27
  • Joined

  • Last visited

1 Follower

Recent Profile Visitors

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

XRU13's Achievements

Explorer

Explorer (4/14)

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

Recent Badges

0

Reputation

  1. Торговая площадка 3.3 Покупал не я, ответить не могу где, могу прислать домен и лицензию Этот функционал нужен только в тестовом режиме
  2. Мне нужно на странице клиента, просто удалить из базы запись, и расположение кнопки не принцыпиально
  3. Кнопку вывел, дальше функция в контроллере и вот шаблон <form action="{{ deleteTransaction }}" method="post" id="customer"> <div class="table-responsive"> <table class="table table-bordered table-hover"> <thead> <tr> <td class="text-left">Удалить</td> <td class="text-left">{{ column_date_added }}</td> <td class="text-left">{{ column_description }}</td> <td class="text-right">{{ column_amount }}</td> </tr> </thead> <tbody> {% if transactions %} {% for transaction in transactions %} <tr> <td class="text-center">{% if product.product_id in selected %} <input type="checkbox" name="selected[]" value="{{ product.product_id }}" checked="checked" /> {% else %} <input type="checkbox" name="selected[]" value="{{ product.product_id }}" /> {% endif %}</td> <td class="text-left">{{ transaction.date_added }}</td> <td class="text-left">{{ transaction.description }}</td> <td class="text-right">{{ transaction.amount }}</td> </tr> {% endfor %} <tr> <td>&nbsp;</td> <td class="text-right"><b>{{ text_balance }}</b></td> <td class="text-right">{{ balance }}</td> </tr> {% else %} <tr> <td class="text-center" colspan="3">{{ text_no_results }}</td> </tr> {% endif %} </tbody> </table> </div> </form> <button type="button" data-toggle="tooltip" title="{{ button_delete }}" class="btn btn-danger" onclick="document.getElementById('customer').submit();"><i class="fa fa-trash-o"></i></button>
  4. Здравствуйте! Подскажите, как добавить кнопку удаления транзакции у клиента в админке
  5. Здравствуйте! Установил ваш модуль на дефолтный опенкарт вверсии 3.0.3.2, настройки появились, цена в span'e, но не изменяется, в чем может быть причина?
  6. Здравствуйте! Установил модуль симпл на шаблон ultrastore opencart 3.0.3 при переходе в корзину выдает сайт пока не может отобразить запрос HTTP ERROR 500
  7. При настройке модуля пишет "Страница, которую Вы запрашиваете, не найдена. Если проблема будет повторяться, свяжитесь пожалуйста с администратором." А при попытке выгрузить товар выдает ошибки Notice: Undefined index: response in /home/h001278042/h001278042.nichost.ru/docs/system/library/vk-market.php on line 59Notice: Undefined index: response in /home/h001278042/h001278042.nichost.ru/docs/system/library/vk-market.php on line 68Warning: Invalid argument supplied for foreach() in /home/h001278042/h001278042.nichost.ru/docs/system/library/vk-market.php on line 85Notice: Undefined variable: arCategories in /home/h001278042/h001278042.nichost.ru/docs/system/library/vk-market.php on line 94Warning: Invalid argument supplied for foreach() in /home/h001278042/h001278042.nichost.ru/docs/admin/controller/module/vkm.php on line 437 и пишет Не удалось экспортировать товар. Application authorization failed: method is unavailable with service token.
  8. Тему купили давно, модуль стоял в ней, проблема скорей всего в модуле, но как ее решить?)))
  9. Здравствуйте! Помогите решить проблему. Использую опенкарт 2.2 не могу создать новую родительскую категорию, при удалении старой категории остается пустое поле с ссылкой, при переходе попадаю на страницу категория не найдена и пишет ошибку "PHP Notice: Undefined index: filter_groups in /home/h001278042/h001278042.nichost.ru/docs/catalog/controller/module/oclayerednavigation.php on line 115" вот код отвечающий за это if (isset($this->request->get['path'])) { $parts = explode('_', (string)$this->request->get['path']); } else { $parts = array(); } $category_id = end($parts); $this->load->model('catalog/category'); $category_info = $this->model_catalog_category->getCategory($category_id); $data = array(); if ($category_info) { $this->load->language('module/oclayerednavigation'); $data['heading_title'] = $this->language->get('heading_title'); $data['button_filter'] = $this->language->get('button_filter'); $url = ''; if (isset($this->request->get['sort'])) { $url .= '&sort=' . $this->request->get['sort']; } if (isset($this->request->get['order'])) { $url .= '&order=' . $this->request->get['order']; } if (isset($this->request->get['limit'])) { $url .= '&limit=' . $this->request->get['limit']; } $data['action'] = str_replace('&amp;', '&', $this->config->get('config_url') . 'index.php?route=module/oclayerednavigation/category&path=' . $category_id . $url); $data['clear_action'] = str_replace('&amp;', '&', $this->config->get('config_url') . 'index.php?route=module/oclayerednavigation/category&path=' . $category_id); if (isset($this->request->get['filter'])) { $data['filter_category'] = explode(',', $this->request->get['filter']); } else { $data['filter_category'] = array(); } $this->load->model('catalog/product'); // Min price and Max price of product collection /* Begin */ $min_price = 10000000; // Set the large number $max_price = 0; // Set the small number $data['products'] = array(); $filter_data = array( 'filter_category_id' => $category_id ); $results = $this->model_catalog_product->getProducts($filter_data); foreach($results as $result) { $price = (float) $result['price']; if($price < $min_price) { $min_price = $price; } if($price > $max_price) { $max_price = $price; } } $data['min_price'] = $min_price; $data['max_price'] = $max_price; $data['currency_symbol'] = $this->currency->getSymbolLeft($this->session->data['currency']); /* End */ $data['filter_groups'] = array(); $filter_groups = $this->model_catalog_category->getCategoryFilters($category_id); if ($filter_groups) { foreach ($filter_groups as $filter_group) { $childen_data = array(); foreach ($filter_group['filter'] as $filter) { $filter_data = array( 'filter_category_id' => $category_id, 'filter_filter' => $filter['filter_id'] ); $childen_data[] = array( 'filter_id' => $filter['filter_id'], 'name' => $filter['name'] . ($this->config->get('config_product_count') ? ' (' . $this->model_catalog_product->getTotalProducts($filter_data) . ')' : ''), 'e_name' => $filter['name'] ); } $data['filter_groups'][] = array( 'filter_group_id' => $filter_group['filter_group_id'], 'name' => $filter_group['name'], 'filter' => $childen_data ); } } } if($data['filter_groups']) { return $this->load->view('module/oclayerednavigation/oclayerednavigation.tpl', $data); } Подкатегории создаются, язык у магазина один, галочку ставлю для вывода на главный.... http://h001278042.nichost.ru/index.php?route=common/home ссылка на магазин
  10. Сделал запрос, но не помогло, теперь выдает ошибку: Warning: mysqli::__construct(): (HY000/1045): Access denied for user 'h001278042_new'@'localhost' (using password: YES) in /home/h001278042/h001278042.nichost.ru/docs/system/library/db/mysqli.php on line 7 Fatal error: Uncaught Error: Call to undefined function DB\mysql_error() in /home/h001278042/h001278042.nichost.ru/docs/system/library/db/mysqli.php:10 Stack trace: #0 /home/h001278042/h001278042.nichost.ru/docs/system/library/db.php(9): DB\MySQLi->__construct('localhost', 'h001278042_new', 'Nadoelo0', 'h001278042_aaa', '3306') #1 /home/h001278042/h001278042.nichost.ru/docs/system/framework.php(25): DB->__construct('mysqli', 'localhost', 'h001278042_new', 'Nadoelo0', 'h001278042_aaa', '3306') #2 /home/h001278042/h001278042.nichost.ru/docs/index.php(22): require_once('/home/h00127804...') #3 {main} thrown in /home/h001278042/h001278042.nichost.ru/docs/system/library/db/mysqli.php on line 10
  11. Здравствуйте! Хочу изменить страницу товара на opencart 2.2, вырезаю не нужное в файле product.tpl, но изменений на странице не происходит, в чем может быть причина????
×
×
  • 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.