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

DarkEinstein

Users
  
  • Posts

    424
  • Joined

  • Last visited

Everything posted by DarkEinstein

  1. Как его включить я так и не разобрался. Я перекинул сайт на другой (личный) хостинг https://caucasus.ustim.pro и он за два дня запросов выдал в несколько тысяч раз больше чем мои основные сайты за месяц http://prntscr.com/qd70vd
  2. Я перекинул сайт на свой украинский хостинг https://caucasus.ustim.pro Всё то же самое Увеличивал php_memory_limit до 256 МБ и время выполнения скрипта до 300 секунд. Тоже не помогло
  3. ого, небыло... Что это? Там 180-я линия: $out['limits'] = $limits;
  4. Здравствуйте. Не могу понять с чем связано то что когда добавляю товар в Общую категорию "Каталог" http://prntscr.com/qcrjjv То исчезает кнопка "Купить". В любых других товарах которых нету в этой категории. Там кнопка присутствует. Сайт: https://velta-mebel.ru
  5. Шрифты подключаются в common/header.twig ? не могу найти там. В футере тоже нету {# ****************************************************** * @package SO Framework for Opencart 3.x * @author http://www.opencartworks.com * @license GNU General Public License * @copyright(C) 2008-2017 opencartworks.com. All rights reserved. ****************************************************** #} <!DOCTYPE html> <html dir="{{ direction }}" lang="{{ lang }}"> <head> <meta charset="UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>{{ title }}</title> <base href="{{ base }}" /> <meta name="viewport" content="width=device-width, initial-scale=1"> {% if description %}<meta name="description" content="{{ description }}" />{% endif %} {% if keywords %}<meta name="keywords" content="{{ keywords }}" />{% endif %} <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><![endif]--> {# =========== Begin General CSS ==============#} {% if direction=='ltr' %} {{soconfig.addCss('catalog/view/javascript/bootstrap/css/bootstrap.min.css')}} {% elseif direction=='rtl' %}{{soconfig.addCss('catalog/view/javascript/soconfig/css/bootstrap/bootstrap.rtl.min.css')}} {% else %}{{soconfig.addCss('catalog/view/javascript/bootstrap/css/bootstrap.min.css')}} {% endif %} {{soconfig.addCss('catalog/view/javascript/font-awesome/css/font-awesome.min.css')}} {{soconfig.addCss('catalog/view/javascript/soconfig/css/lib.css')}} {{soconfig.addCss('catalog/view/theme/'~theme_directory~'/css/ie9-and-up.css')}} {{soconfig.addCss('catalog/view/theme/'~theme_directory~'/css/custom.css')}} {% for style in styles %}{{ soconfig.addCss(style.href)}}{% endfor %} {% if soconfig.get_settings('cssfile_status') %}{% for cssfile in soconfig.get_settings('cssfile_url') %} {{soconfig.addCss(cssfile)}} {% endfor %} {% endif %} {# =========== Begin General Scripts ==============#} {{soconfig.addJs('catalog/view/javascript/jquery/jquery-2.1.1.min.js')}} {{soconfig.addJs('catalog/view/javascript/bootstrap/js/bootstrap.min.js')}} {{soconfig.addJs('catalog/view/javascript/soconfig/js/libs.js')}} {{soconfig.addJs('catalog/view/javascript/soconfig/js/so.system.js')}} {{soconfig.addJs('catalog/view/javascript/soconfig/js/jquery.sticky-kit.min.js')}} {{soconfig.addJs('catalog/view/javascript/lazysizes/lazysizes.min.js')}} {% if class=='information-information' %} {{soconfig.addJs('catalog/view/javascript/soconfig/js/typo/element.js')}} {% endif %} {{soconfig.addJs('catalog/view/theme/'~theme_directory~'/js/so.custom.js')}} {{soconfig.addJs('catalog/view/theme/'~theme_directory~'/js/common.js')}} {% if soconfig.get_settings('toppanel_status') %}{{soconfig.addJs('catalog/view/javascript/soconfig/js/toppanel.js')}}{% endif %} {% for script in scripts %} {{soconfig.addJs(script)}} {% endfor %} {# =========== Begin Other CSS & JS ==============#} {{soconfig.scss_compass}} {{soconfig.css_out(soconfig.get_settings('cssExclude'))}} {{soconfig.js_out(soconfig.get_settings('jsExclude'))}} {# =========== Begin Google Font ==============#} {% if soconfig.get_settings('url_body') and soconfig.get_settings('body_status') == 'google' %} <link href='{{ soconfig.get_settings('url_body') }}' rel='stylesheet' type='text/css'> {% endif %} {% if soconfig.get_settings('url_menu') and soconfig.get_settings('menu_status') == 'google' %} <link href='{{ soconfig.get_settings('url_menu') }}' rel='stylesheet' type='text/css'> {% endif %} {% if soconfig.get_settings('url_heading') and soconfig.get_settings('heading_status') == 'google' %} <link href='{{ soconfig.get_settings('url_heading') }}' rel='stylesheet' type='text/css'> {% endif %} {% if selector_body %} <style type="text/css"> {% if soconfig.get_settings('body_status') == 'google' %} {{ (selector_body|raw~'{font-family:'~ soconfig.get_settings('family_body')~'}') }} {% else %} {{ selector_body|raw~'{font-family:'~ soconfig.get_settings('normal_body')~'}' }}{% endif %} </style> {% endif %} {% if selector_menu %} <style type="text/css"> {% if soconfig.get_settings('menu_status') == 'google' %} {{ (selector_menu|raw~'{font-family:'~ soconfig.get_settings('family_menu')~'}') }} {% else %} {{ selector_menu|raw~'{font-family:'~ soconfig.get_settings('normal_menu')~'}' }}{% endif %} </style> {% endif %} {% if selector_heading %} <style type="text/css"> {% if soconfig.get_settings('heading_status') == 'google' %} {{ (selector_heading|raw~'{font-family:'~ soconfig.get_settings('family_heading')~'}') }} {% else %} {{ selector_heading|raw~'{font-family:'~ soconfig.get_settings('normal_heading')~'}' }}{% endif %} </style> {% endif %} {# =========== Custom Code Editor ==============#} {% if soconfig.get_settings('cssinput_status') and (soconfig.get_settings('cssinput_content')) is not empty %} <style type="text/css">{{ soconfig.get_settings('cssinput_content') }} </style> {% endif %} {% if soconfig.get_settings('jsinput_status') and (soconfig.get_settings('jsinput_content')) is not empty %} <script type="text/javascript"><!--{{ soconfig.get_settings('jsinput_content') }} //--></script> {% endif %} {# =========== Begin Google Analytics ==============#} {% for link in links %}<link href="{{ link.href }}" rel="{{ link.rel }}" />{% endfor %} {% for analytic in analytics %} {{ analytic }} {% endfor %} {# =========== Begin Cusom Code ==============#} {% if soconfig.get_settings('layoutstyle') == 'boxed' %} <style type="text/css"> body { background-color:{{ soconfig.get_settings('theme_bgcolor') ? soconfig.get_settings('theme_bgcolor') : 'none' }} ; {% if soconfig.get_settings('contentbg') !='' %} background-image: url("image/{{soconfig.get_settings('contentbg') }} "); {% endif %} background-repeat:{{ soconfig.get_settings('content_bg_mode') is not empty ? soconfig.get_settings('content_bg_mode') : 'no-repeat' }} ; background-attachment:{{ soconfig.get_settings('content_attachment') is not empty ? soconfig.get_settings('content_attachment') : 'inherit' }} ; background-position:top center; } </style> {% endif %} </head> {# =========== Add class Body ==============#} {% set layoutbox = url_layoutbox is not empty ? url_layoutbox : soconfig.get_settings('layoutstyle') %} {% set pattern = url_pattern is not empty ? url_pattern : soconfig.get_settings('pattern') %} {% set cls_body = class ~ ' ' %} {% set cls_body = cls_body ~ direction %} {% set cls_body = cls_body ~ ' layout-'~soconfig.get_settings('typelayout')%} {% if layoutbox=='boxed' and pattern !='none' and soconfig.get_settings('contentbg') is empty %} {% set cls_body = cls_body ~ ' pattern-'~pattern%} {% endif %} {% set cls_wrapper = 'wrapper-'~layoutbox%} {% set cls_wrapper = cls_wrapper ~ ' banners-effect-'~soconfig.get_settings('type_banner')%} <body class="{{cls_body}}"> <div id="wrapper" class="{{cls_wrapper}}"> {# =========== Show Preloader ==============#} {% if soconfig.get_settings('preloader')%} {% include theme_directory~'/template/soconfig/preloader.twig' with {preloader: soconfig.get_settings('preloader_animation')} %} {% endif %} {# =========== Show Header==============#} {% if soconfig.get_settings('typeheader') =='1'%} {% include theme_directory~'/template/header/header1.twig' with {typeheader: soconfig.get_settings('typeheader')} %} {% elseif soconfig.get_settings('typeheader') =='2'%} {% include theme_directory~'/template/header/header2.twig' with {typeheader: soconfig.get_settings('typeheader')} %} {% elseif soconfig.get_settings('typeheader') =='3'%} {% include theme_directory~'/template/header/header3.twig' with {typeheader: soconfig.get_settings('typeheader')} %} {% else%} <style> .alert-primary .alert-link {color: #002752;} .alert-link {font-weight: 700;text-decoration: none;} .alert-link:hover{text-decoration: underline;} .alert {color: #004085;background-color: #cce5ff;padding: .75rem 1.25rem;margin-bottom: 1rem;border: 1px solid #b8daff;border-radius: .25rem; } </style> <div class="alert alert-primary"> Go to admin, find Extensions >> <a class="alert-link" href="admin/index.php?route=marketplace/modification" target=”_blank”> Modifications </a> and click 'Refresh' button. To apply the changes characterised by the uploaded modification file </div> {% endif %} <div id="socialLogin"></div>
  6. Перед покупкой эта тема летала на их сайте. Что здесь произошло - не знаю.. Пробовать как то модули по одному отключать и искать какой тормозит?
  7. Подскажите пожалуйста что с сайтом? https://discount-outlet.ru Вроде и модулей лишних нету. Только импрт-экспорт ставил. Гугл пейдж спид вообще его не видит... http://prntscr.com/qb8zch http://prntscr.com/qb8zq4
  8. Если нет подобного модуля, но кто то сможет сделать так как в примере, напишите пожалуйста в ЛС цены и сроки. Хотим с понедельника уже начинать заниматься проектом.
  9. Не то) Магазин будет по автозапчастям. Нужно как в примере...
  10. Добрый день. Подскажите пожалуйста как реализовать карточку товара как вот например на этом сайте?: https://zip4tools.ru/scheme/makita/bcx2500/426c/
  11. Здравствуйте. Есть пакеты изображения моделей по 36 штук в среднем в формате .jpeg Нашёл пока только вот такую програмку https://www.opencart.com/index.php?route=marketplace/extension/info&extension_id=5319&filter_license=0&filter_download_id=31&page=2 но не уверен что она работает с этим форматом и в первую очередь слишком дорого за модуль. Кто делал подобное, есть ли примеры и как реализовывали?
  12. Всё верно. Услуги под номером 25 Потом идёт код {% if category.cat_id == '25' %} <li><a href="https://lisadecor-shop.ru/index.php?route=information/information&information_id=7">Дизайн и оклейка</a></li> <li><a href="https://lisadecor-shop.ru/index.php?route=information/information&information_id=8">Выезд на декор мероприятий</a></li> {% endif %}
  13. 20 - это главная категория, а 25 это последняя под названием "Услуги" она и должна открываться. По этому всё вроде как правильно
  14. В коде выше видно, что я вставил туда две информационные страницы с id=7 и id=8. И самое интересное что если я в раздел "Услуги" сейчас с админки добавлю одну подкатегорию то меню выедет как нужно с этой подкатегорией и двумя информационными страницами. А только удалаю с админки подкатегорию, меню уже не будет выдвигаться. Эти информационные страницы вроде там и есть, но вроде их и нету)))
  15. Сейчас попытаюсь.. Вот, когда наводим мышку на "Каталог" (скрин) то автоматически выезжает меню с подкатегориями. Я хотел так же сделать когда навожу мышку на раздел "Услуги". Раздел "Услуги" это категория. Конечно же, если я закину туда подкатегории то оно будет выдвигаться. Но мне нужно туда закинуть только две информационные страницы которые я в код вставил и привязал к категории (так как Вы сказали).
  16. Здравствуйте ещё раз. Как только удалил с меню категории "Услуги" субкатегрии и оставил там только статистические страницы, то меню перестало выпадать. Реально как то сделать чтобы категория увидела что мы туда впихнули две стат. страницы? Но может я ещё не так код вставил, потому что не особо понимаю где заканчивается цикл. Вот как сейчас: <nav class="nav-container" role="navigation"> <div class="nav-inner"> <!-- ======= Menu Code START ========= --> {% if categories %} <!-- Opencart 3 level Category Menu--> <div id="menu" class="main-menu"> {# <div class="nav-responsive"><span>Меню</span><div class="expandable"></div></div> #} <ul class="nav navbar-nav"> <li class="top_level home"> <a href="{{ action_default }}"><svg width="26px" height="26px"> <use xlink:href="#dmj-hgift"></use></svg></a></li> {% for category in categories %} {% if category.children %} <li class="top_level dropdown"><a href="{{ category.href }}">{{ category.name }}</a> <div class="dropdown-menu megamenu column{{ category.column }}"> <div class="dropdown-inner"> {% for children in category.children|batch(category.children|length / category.column|round(1, 'ceil')) %} <ul class="list-unstyled childs_1"> {% if category.cat_id == '25' %} <li><a href="https://lisadecor-shop.ru/index.php?route=information/information&information_id=7">Дизайн и оклейка</a></li> <li><a href="https://lisadecor-shop.ru/index.php?route=information/information&information_id=8">Выезд на декор мероприятий</a></li> {% endif %} {% for child in children %} <!-- 2 Level Sub Categories START --> {% if child.childs %} <li class="dropdown"><a href="{{ child.href }}">{{ child.name }}</a> <div class="dropdown-menu"> <div class="dropdown-inner"> {% for childs_col in child.childs|batch(child.childs|length / child.column|round(1, 'ceil')) %} <ul class="list-unstyled childs_2"> {% for childs_2 in childs_col %} <li><a href="{{ childs_2.href }}">{{ childs_2.name }}</a></li> {% endfor %} </ul> {% endfor %} </div> </div> </li> {% else %} <li><a href="{{ child.href }}">{{ child.name }}</a></li> {% endif %} <!-- 2 Level Sub Categories END --> {% endfor %} </ul> {% endfor %} </div> </div> </li> {% else %} <li class="top_level"><a href="{{ category.href }}">{{ category.name }}</a></li> {% endif %} {% endfor %} </ul> </div> {% endif %} </div> <!-- =============================================== Mobile menu start ============================================= --> <div id="res-menu" class="main-menu nav-container1"> <div class="nav-responsive"><span>{{ text_menu }}</span><div class="expandable"></div></div> <ul class="main-navigation"> {% for category in categories %} <li class="top_level dropdown"><a href="{{ category.href }}">{{ category.name }}</a> {% if category.children %} {% for children in category.children|batch(category.children|length / category.column|round(1, 'ceil')) %} <ul> {% for child in children %} {% if child.childs %} <li> <a href="{{ child.href }}">{{ child.name }}</a> {% for childs_col in child.childs|batch(child.childs|length / child.column|round(1, 'ceil')) %} <ul class="list-unstyled childs_2"> {% for childs_2 in childs_col %} <li><a href="{{ childs_2.href }}">{{ childs_2.name }}</a></li> {% endfor %} </ul> {% endfor %} </li> {% else %} <li><a href="{{ child.href }}">{{ child.name }}</a></li> {% endif %} {% endfor %} </ul> {% endfor %} {% endif %} </li> {% endfor %} </ul> </div> </nav>
  17. Оказывается этот код нужен для работы Симплы. Без него не работает оформление заказа и корзина.
  18. Ну вот и всё, финита ля комедия... Там ещё полно подобных мелочей, нельзя нажав на крестик товары из корзины удалить и тому подобное. Это всё произошло после перехода на httpS Но в конфигах я всё указал вроде как.. Там же ж больше нигде не нужно
  19. Простите за наглость... просто меню почему то опять перестало открываться. Того кода что дублировался в хедере нет. Изначально всё работало, а сегодня просто весь день не реагирует и всё.. Почему он живёт своей жизнью?..
  20. Здравствуйте. Подскажите пожалуйста что делаю не так, а то не получается. Опенкарт 1.5 на двух языках. Нужно в модуль новостей (news) вывести в самом низу например слово "Привет мир" Делаю запись в языковых файлах information/news.php $_['text_helloworld'] = 'Hello world'; $_['text_helloworld'] = 'Привет мир'; Иду в шаблон в файл information/news.tpl и там прописываю: <?php echo $text_helloworld; ?> Но ничего не отображается... Может где то ещё нужна какая то запись?
  21. Не думал что это так не просто. Получилось, спасибо. Только дублируется:
×
×
  • 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.