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

NikOne

Users
  
  • Posts

    63
  • Joined

  • Last visited

Everything posted by NikOne

  1. Ого я и не заметил , работал кстати не плохо ) а вот на ocStore 3 есть проблема , на планшете у меня также двойное меню ( как можно его подрезать ?
  2. С новым годом комрады ) помогите понять причину по пути https://site.ru/apple.html конкретно в категории производителей Ошибка Warning: imagecreatetruecolor(): Invalid image dimensions in /home/lcixpmgi/jetblack.pp.ua/system/library/image.php on line 169Warning: imagecolorallocate() expects parameter 1 to be resource, bool given in /home/lcixpmgi/jetblack.pp.ua/system/library/image.php on line 177Warning: imagefilledrectangle() expects parameter 1 to be resource, bool given in /home/lcixpmgi/jetblack.pp.ua/system/library/image.php on line 180Warning: imagecopyresampled() expects parameter 1 to be resource, bool given in /home/lcixpmgi/jetblack.pp.ua/system/library/image.php on line 182 Но при стандартной теме всё нормально ?! ) Спасибо =)
  3. С Новым годом 🍾🎄🎁 Вообщем такая история что в мобильной версии в корзине не помещается вся информация как-то комильфо , что можно сделать? спасибо 🙏🏻
  4. Простите Alex) не могли бы Вы разобраться как исправить эту ошибку ? Вот 32 ая строка foreach ($this->model_catalog_information->getInformations() as $result) { <?php class ControllerCommonMenu extends Controller { public function index() { $this->load->language('common/menu'); $data['manufacturer'] = $this->url->link('product/manufacturer'); $data['contact'] = $this->url->link('information/contact'); $data['special'] = $this->url->link('product/special'); $data['search'] = $this->load->controller('common/search'); $data['logged'] = $this->customer->isLogged(); $data['account'] = $this->url->link('account/account', '', true); $data['register'] = $this->url->link('account/register', '', true); $data['login'] = $this->url->link('account/login', '', true); $data['order'] = $this->url->link('account/order', '', true); $data['transaction'] = $this->url->link('account/transaction', '', true); $data['download'] = $this->url->link('account/download', '', true); $data['logout'] = $this->url->link('account/logout', '', true); $data['language'] = $this->load->controller('common/language'); $data['currency'] = $this->load->controller('common/currency'); $data['wishlist'] = $this->url->link('account/wishlist', '', true); $data['compare'] = $this->url->link('product/compare'); $data['text_compare'] = sprintf($this->language->get('text_compare'), (isset($this->session->data['compare']) ? count($this->session->data['compare']) : 0)); if ($this->customer->isLogged()) { $this->load->model('account/wishlist'); $data['text_wishlist'] = sprintf($this->language->get('text_wishlist'), $this->model_account_wishlist->getTotalWishlist()); } else { $data['text_wishlist'] = sprintf($this->language->get('text_wishlist'), (isset($this->session->data['wishlist']) ? count($this->session->data['wishlist']) : 0)); } $data['informations'] = array(); foreach ($this->model_catalog_information->getInformations() as $result) { if ($result['bottom']) { $data['informations'][] = array( 'title' => $result['title'], 'href' => $this->url->link('information/information', 'information_id=' . $result['information_id']) ); } } // Menu $this->load->model('catalog/category'); $this->load->model('catalog/product'); $data['categories'] = array(); $categories = $this->model_catalog_category->getCategories(0); foreach ($categories as $category) { if ($category['top']) { // Level 2 $children_data = array(); $children = $this->model_catalog_category->getCategories($category['category_id']); foreach ($children as $child) { $filter_data = array( 'filter_category_id' => $child['category_id'], 'filter_sub_category' => true ); $children_data[] = array( 'name' => $child['name'] . ($this->config->get('config_product_count') ? ' (' . $this->model_catalog_product->getTotalProducts($filter_data) . ')' : ''), 'href' => $this->url->link('product/category', 'path=' . $category['category_id'] . '_' . $child['category_id']) ); } // Level 1 $data['categories'][] = array( 'name' => $category['name'], 'children' => $children_data, 'column' => $category['column'] ? $category['column'] : 1, 'href' => $this->url->link('product/category', 'path=' . $category['category_id']) ); } } return $this->load->view('common/menu', $data); } } ------------------------ Это получается в catalog/model/catalog/information.php - в information.php что-то нужно добавить ? извините )
  5. Можно вас попросить вставить его куда надо ? я так понимаю << $this->load->model('catalog/information'); >> в information.php ? знаний просто не хватает для понимания )
  6. а где конкретно она должна быть ? спасибо Смотрю в резервной копии файлы идентичны catalog/model/catalog/information.php <?php class ModelCatalogInformation extends Model { public function getInformation($information_id) { $query = $this->db->query("SELECT DISTINCT * FROM " . DB_PREFIX . "information i LEFT JOIN " . DB_PREFIX . "information_description id ON (i.information_id = id.information_id) LEFT JOIN " . DB_PREFIX . "information_to_store i2s ON (i.information_id = i2s.information_id) WHERE i.information_id = '" . (int)$information_id . "' AND id.language_id = '" . (int)$this->config->get('config_language_id') . "' AND i2s.store_id = '" . (int)$this->config->get('config_store_id') . "' AND i.status = '1'"); return $query->row; } public function getInformations() { $query = $this->db->query("SELECT * FROM " . DB_PREFIX . "information i LEFT JOIN " . DB_PREFIX . "information_description id ON (i.information_id = id.information_id) LEFT JOIN " . DB_PREFIX . "information_to_store i2s ON (i.information_id = i2s.information_id) WHERE id.language_id = '" . (int)$this->config->get('config_language_id') . "' AND i2s.store_id = '" . (int)$this->config->get('config_store_id') . "' AND i.status = '1' ORDER BY i.sort_order, LCASE(id.title) ASC"); return $query->rows; } public function getInformationLayoutId($information_id) { $query = $this->db->query("SELECT * FROM " . DB_PREFIX . "information_to_layout WHERE information_id = '" . (int)$information_id . "' AND store_id = '" . (int)$this->config->get('config_store_id') . "'"); if ($query->num_rows) { return (int)$query->row['layout_id']; } else { return 0; } } }
  7. Вот 32 ая строка ребята подскажите foreach ($this->model_catalog_information->getInformations() as $result) { <?php class ControllerCommonMenu extends Controller { public function index() { $this->load->language('common/menu'); $data['manufacturer'] = $this->url->link('product/manufacturer'); $data['contact'] = $this->url->link('information/contact'); $data['special'] = $this->url->link('product/special'); $data['search'] = $this->load->controller('common/search'); $data['logged'] = $this->customer->isLogged(); $data['account'] = $this->url->link('account/account', '', true); $data['register'] = $this->url->link('account/register', '', true); $data['login'] = $this->url->link('account/login', '', true); $data['order'] = $this->url->link('account/order', '', true); $data['transaction'] = $this->url->link('account/transaction', '', true); $data['download'] = $this->url->link('account/download', '', true); $data['logout'] = $this->url->link('account/logout', '', true); $data['language'] = $this->load->controller('common/language'); $data['currency'] = $this->load->controller('common/currency'); $data['wishlist'] = $this->url->link('account/wishlist', '', true); $data['compare'] = $this->url->link('product/compare'); $data['text_compare'] = sprintf($this->language->get('text_compare'), (isset($this->session->data['compare']) ? count($this->session->data['compare']) : 0)); if ($this->customer->isLogged()) { $this->load->model('account/wishlist'); $data['text_wishlist'] = sprintf($this->language->get('text_wishlist'), $this->model_account_wishlist->getTotalWishlist()); } else { $data['text_wishlist'] = sprintf($this->language->get('text_wishlist'), (isset($this->session->data['wishlist']) ? count($this->session->data['wishlist']) : 0)); } $data['informations'] = array(); foreach ($this->model_catalog_information->getInformations() as $result) { if ($result['bottom']) { $data['informations'][] = array( 'title' => $result['title'], 'href' => $this->url->link('information/information', 'information_id=' . $result['information_id']) ); } } // Menu $this->load->model('catalog/category'); $this->load->model('catalog/product'); $data['categories'] = array(); $categories = $this->model_catalog_category->getCategories(0); foreach ($categories as $category) { if ($category['top']) { // Level 2 $children_data = array(); $children = $this->model_catalog_category->getCategories($category['category_id']); foreach ($children as $child) { $filter_data = array( 'filter_category_id' => $child['category_id'], 'filter_sub_category' => true ); $children_data[] = array( 'name' => $child['name'] . ($this->config->get('config_product_count') ? ' (' . $this->model_catalog_product->getTotalProducts($filter_data) . ')' : ''), 'href' => $this->url->link('product/category', 'path=' . $category['category_id'] . '_' . $child['category_id']) ); } // Level 1 $data['categories'][] = array( 'name' => $category['name'], 'children' => $children_data, 'column' => $category['column'] ? $category['column'] : 1, 'href' => $this->url->link('product/category', 'path=' . $category['category_id']) ); } } return $this->load->view('common/menu', $data); } } menu.php
  8. из какого именно файла простите?
  9. Доброе время суток помогите пожалуйста чайнику расшифровать ошибки спасибо)
  10. Спасибо помогли) Ещё вопрос, скажите пожалуйста как при выборе метода доставки Допустим это курьерская - что бы появлялась дополнительно строка домашнего адреса для курьерской доставки , спасибо )
  11. Добрый день комрады! Скажите! как убрать стоимость доставки и нули доставке ? спасибо большое ! )
  12. Тыкните где инструкция пожалуйста) и скажите ещё можно ли сделать часть городов чтоб переходя на сайт им показывался другой язык ( в одной и той же стране) ?
  13. Ребят хочу купить модуль есть пару вопросов 1. Будет ли url вот таким site.com/ua ? 2. Можно ли сделать разные Урлы для разных языков одного и того же продукты ? Или как лучше для сео? 3.Есть ли где-то видео посмотреть по его настройки ?
  14. Здравствуйте ув. специалисты Хочу собрать симпатическое ядро , так как в Украине 50% русскоговорящих и 50% украиноговорящих появился вопрос можно ли миксовать словно русские с украинскими чтоб не терять другую половину , как грамотный это сделать чтоб не терять половину аудитории ? спасибо)
  15. Я очень благодарен, но думаю мне только русифицирован подойдёт )
  16. Мне кажется уже не один раз вышло обновление ?)
  17. Как бы это тупо не звучало Где безопасно скачать opencart 3.0.3.2 на русском языке? я не знаю могу ли тут оставлять ссылки !? изначально у меня был пак с названием ru , меня он устраивал по работе, но позже я узнал что сайт который представляет сборку не рекомендует сервис для проверки на варенные дополнения позже я скачал с другого сайта где окончание было rus, сайт проверщик его не поощряет и не ругает ! Но с этой сборкой сейчас проблема с отправкой письма о заказе , перелопатил всё!, пока не решил. Думаю назад на ту сборку перейти . Но всё же хочется узнать у ребят которые плотно и часто делают сайты на заказ, а здесь не нашёл сборки . Спасибо за внимание жду фидбэк )
  18. Скажите пожалуйста от куда лучше качать сборки ?! ) спасибо
  19. Здравствуйте , уважаемый разработчик подскажите как сделать при нажатии кнопки купить ( в товаре ) чтоб кроме функции добавления в корзину (как по стандарту ) + всплывало окно как сплывает при нажатии на корзину ( продолжить покупки , оформить заказ, перейти в корзины ) Буду очень признателен , спасибо !)))
  20. Подскажите пожалуйста как убрать при нажатии корзина убрать - 'Перейти в корзину' и оставить только 'оформить заказ' и 'продолжить покупки' Благодарю !)
  21. Установил модуль simple , на стандартном шаблоне работает , а на Fanes нет ( При нажатии на корзину адресс https://site.ru/index.php?route=checkout/simplecheckout - попадаю на форму как в при заходе в админку где просит логи и пароль. после того как ввожу скачивает simple_header.twig может ссылки где-то жестко прописаны ? спасибо
  22. я решил очистить хостинг на всякий случай полностью стёр, буду заново пилить , а то потом это может вылезти боком как для клиентов так и для нас
  23. Установил Quick checkout . Варез со стороннего сайта который в чёрном списке, ну не вкурсе был я ( какие варианты у меня есть ? Спасибо
  24. Доброго времени суток, Скажите это сто пудов вредоносный код ? я в каждом файле что нашло что-то похоже спасибо
×
×
  • 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.