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

XRU13

Newbie
  
  • Posts

    27
  • Joined

  • Last visited

Everything posted by XRU13

  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, но изменений на странице не происходит, в чем может быть причина????
  12. Помогите с ошибкой, в витрине магазина, на товаре со скидкой выдает ошибку: Notice Undefined index: special2 in /home/h001278042/h001278042.nichost.ru/docs/catalog/view/theme/tt_domino1/template/module/octabproductslider.tpl on line 46 Notice: Undefined index: price2 in /home/h001278042/h001278042.nichost.ru/docs/catalog/view/theme/tt_domino1/template/module/octabproductslider.tpl: Undefined index: price2 in 47 Warning: Division by zero in /home/h001278042/h001278042.nichost.ru/docs/catalog/view/theme/tt_domino1/template/module/octabproductslider.tpl on line 48 Вот часть кода, отвечающего за это <?php if ((isset($product['is_new']) && $product['is_new']) || $productTab['id'] == "latest_product"): if($product['special']): ?> <div class="label-pro-sale"> <?php if($product['special']){ $a = ($product['special2']); $b = ($product['price2']); $c = round(($a-$b)/$b,2)*100; }?> <?php if($product['special']){?> <div class="sale-percent"><?php echo $c;?>%</div> <?php }?> </div>
  13. При создании статьи выдает такую ошибку Notice: Undefined index: article_description in /home/h001278042/h001278042.nichost.ru/docs/admin/controller/blog/articlelist.php on line 386Warning: Invalid argument supplied for foreach() in /home/h001278042/h001278042.nichost.ru/docs/admin/controller/blog/articlelist.php on line 386Warning: Cannot modify header information - headers already sent by (output started at /home/h001278042/h001278042.nichost.ru/docs/admin/controller/startup/error.php:34) in /home/h001278042/h001278042.nichost.ru/docs/system/library/response.php on line 12
  14. Руссифицировал шаблон Domino установив отдельно папки языка в языковые папки admin и catalog, после установки на русском языке не отображаются два модуля, добавил недостающие папки модулей в папку русского языка, но не помогло, подскажите в чем проблема http://h001278042.nichost.ru/index.php?route=common/home
  15. да, они просто отсутствуют. нужно создать папки и вручную прописать все?
  16. Установил шаблон domino от themforest, при русификации пропадают некоторые модули, в макетах все стоит, на английской версии отображается, а на русской нет адрес сайта http://h001278042.nichost.ru/index.php?route=common/home
×
×
  • 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.