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

ZerG1

Users
  
  • Posts

    113
  • Joined

  • Last visited

Everything posted by ZerG1

  1. Много ненужных настроек и непонятно для чего функций
  2. Мне нужно решение без дополнительных модулей. Правки нужно внести в файле catalog/controller/startup/startup.php Но как это сделать правильно?
  3. Вопрос следующий. Добавил в сеопро контроллер для добавления языка в урл по названию папки с языком. По этой инструкции https://nikita-sp.com.ua/2015/03/module-seo-url-dlya-magazina-opencart.html Как мне сделать так чтоб гугл бот видел страницу на версии 2.3? index.php там отличаеться от 2.1
  4. Приветствую! Может быть кто-нибудь сталкивался или знает как решить проблему. При включенном ЧПУ ссылки на новости(записи блога) получаются вида: http://site/news-title предворительно добавил в seo_pro.php запись для нормальных ссылок $this->request->get['route'] = 'information/information'; } elseif (isset($this->request->get['news_id'])) { case 'news_id': а нужно http://site/news/news-title Как редактировать и что нужно править чтоб так получилось?
  5. Как можно вставить ссылку в попап http://prntscr.com/mu51qu Ссылка указываеться в админке http://prntscr.com/mu52es Вывод ссылки <?php echo $gallery['link']; ?> Модуль Gallery RB
  6. Здравствуйте! Как можно реализовать показ IP клиента который оставил отзыв, к примеру тут http://prntscr.com/mn5xtj
  7. <nav class="mainNav"> <ul class="{% if (fm_custom_class_parent is defined) %} {{ fm_custom_class_parent }}{% endif %}"> {% for category in categories %} {% if (category['category_id'] == category_id) %} <li class="selected"><a href="{{ category['href'] }}">{% if (fm_main_icon_display) %} {{ "<i class='fa "~ fm_main_icon ~" '></i>" }}{% endif %} {{ category['name'] }}</a> {% if (category['children']) %} <ul class="{% if (fm_custom_class_child is defined) %} {{ fm_custom_class_child }}{% endif %}"> {% for child in category['children'] %} {% if (child['category_id'] == child_id) %} <li class="selected" class="1stlevel"><a href="{{ child['href'] }}">{% if (fm_child_icon_display) %} {{ "<i class='fa "~ fm_child_icon ~" '></i>" }}{% endif %} {{ child['name'] }}</a> {% if (child['children_2']) %} <ul class="{% if (fm_custom_class_child is defined) %} {{ fm_custom_class_child }}{% endif %}"> {% for child_2 in child['children_2'] %} {% if (child_2['category_id'] == child_2_id) %} <li class="selected" class="nd2level"><a href="{{ child_2['href'] }}">{% if (fm_child_icon_display) %} {{ "<i class='fa "~ fm_child_icon ~" '></i>" }}{% endif %} {{ child_2['name'] }}</a> {% if (child_2['children_3']) %} <ul class="{% if (fm_custom_class_child is defined) %} {{ fm_custom_class_child }}{% endif %}"> {% for child_3 in child_2['children_3'] %} {% if (child_3['category_id'] == child_3_id) %} <li class="selected" class="rd3level"><a href="{{ child_3['href'] }}">{% if (fm_child_icon_display) %} {{ "<i class='fa "~ fm_child_icon ~" '></i>" }}{% endif %} {{ child_3['name'] }}</a> {% if (child_3['children_4']) %} <ul class="{% if (fm_custom_class_child is defined) %} {{ fm_custom_class_child }}{% endif %}"> {% for child_4 in child_3['children_4'] %} {% if (child_4['category_id'] == child_4_id) %} <li class="selected" class="th4level"><a href="{{ child_4['href'] }}">{% if (fm_child_icon_display) %} {{ "<i class='fa "~ fm_child_icon ~" '></i>" }}{% endif %} {{ child_4['name'] }}</a> {% if (child_4['children_5']) %} <ul class="{% if (fm_custom_class_child is defined) %} {{ fm_custom_class_child }}{% endif %}"> {% for child_5 in child_4['children_5'] %} {% if (child_5['category_id'] == child_5_id) %} <li class="selected" class="th5level"><a href="{{ child_5['href'] }}">{% if (fm_child_icon_display) %} {{ "<i class='fa "~ fm_child_icon ~" '></i>" }}{% endif %} {{ child_5['name'] }}</a></li> {% else %} <li class="th5level"><a href="{{ child_5['href'] }}">{% if (fm_child_icon_display) %} {{ "<i class='fa "~ fm_child_icon ~" '></i>" }}{% endif %} {{ child_5['name'] }}</a></li> {% endif %} {% endfor %} </ul> {% endif %} </li> {% else %} <li class="th4level"><a href="{{ child_4['href'] }}">{% if (fm_child_icon_display) %} {{ "<i class='fa "~ fm_child_icon ~" '></i>" }}{% endif %} {{ child_4['name'] }}</a> {% if (child_4['children_5']) %} <ul class="{% if (fm_custom_class_child is defined) %} {{ fm_custom_class_child }}{% endif %}"> {% for child_5 in child_4['children_5'] %} {% if (child_5['category_id'] == child_5_id) %} <li class="selected" class="th5level"><a href="{{ child_5['href'] }}">{% if (fm_child_icon_display) %} {{ "<i class='fa "~ fm_child_icon ~" '></i>" }}{% endif %} {{ child_5['name'] }}</a></li> {% else %} <li class="th5level"><a href="{{ child_5['href'] }}">{% if (fm_child_icon_display) %} {{ "<i class='fa "~ fm_child_icon ~" '></i>" }}{% endif %} {{ child_5['name'] }}</a></li> {% endif %} {% endfor %} </ul> {% endif %} </li> {% endif %} {% endfor %} </ul> {% endif %} </li> {% else %} <li class="rd3level"><a href="{{ child_3['href'] }}">{% if (fm_child_icon_display) %} {{ "<i class='fa "~ fm_child_icon ~" '></i>" }}{% endif %} {{ child_3['name'] }}</a> {% if (child_3['children_4']) %} <ul class="{% if (fm_custom_class_child is defined) %} {{ fm_custom_class_child }}{% endif %}"> {% for child_4 in child_3['children_4'] %} <li class="th4level"><a href="{{ child_4['href'] }}">{% if (fm_child_icon_display) %} {{ "<i class='fa "~ fm_child_icon ~" '></i>" }}{% endif %} {{ child_4['name'] }}</a> {% if (child_4['children_5']) %} <ul class="{% if (fm_custom_class_child is defined) %} {{ fm_custom_class_child }}{% endif %}"> {% for child_5 in child_4['children_5'] %} <li class="th5level"><a href="{{ child_5['href'] }}">{% if (fm_child_icon_display) %} {{ "<i class='fa "~ fm_child_icon ~" '></i>" }}{% endif %} {{ child_5['name'] }}</a></li> {% endfor %} </ul> {% endif %} </li> {% endfor %} </ul> {% endif %} </li> {% endif %} {% endfor %} </ul> {% endif %} </li> {% else %} <li class="nd2level"><a href="{{ child_2['href'] }}">{% if (fm_child_icon_display) %} {{ "<i class='fa "~ fm_child_icon ~" '></i>" }}{% endif %} {{ child_2['name'] }}</a> {% if (child_2['children_3']) %} <ul class="{% if (fm_custom_class_child is defined) %} {{ fm_custom_class_child }}{% endif %}"> {% for child_3 in child_2['children_3'] %} <li class="rd3level"><a href="{{ child_3['href'] }}">{% if (fm_child_icon_display) %} {{ "<i class='fa "~ fm_child_icon ~" '></i>" }}{% endif %} {{ child_3['name'] }}</a> {% if (child_3['children_4']) %} <ul class="{% if (fm_custom_class_child is defined) %} {{ fm_custom_class_child }}{% endif %}"> {% for child_4 in child_3['children_4'] %} <li class="th4level"><a href="{{ child_4['href'] }}">{% if (fm_child_icon_display) %} {{ "<i class='fa "~ fm_child_icon ~" '></i>" }}{% endif %} {{ child_4['name'] }}</a> {% if (child_4['children_5']) %} <ul class="{% if (fm_custom_class_child is defined) %} {{ fm_custom_class_child }}{% endif %}"> {% for child_5 in child_4['children_5'] %} <li class="th5level"><a href="{{ child_5['href'] }}">{% if (fm_child_icon_display) %} {{ "<i class='fa "~ fm_child_icon ~" '></i>" }}{% endif %} {{ child_5['name'] }}</a></li> {% endfor %} </ul> {% endif %} </li> {% endfor %} </ul> {% endif %} </li> {% endfor %} </ul> {% endif %} </li> {% endif %} {% endfor %} </ul> {% endif %} </li> {% else %} <li class="1stlevel"><a href="{{ child['href'] }}">{% if (fm_child_icon_display) %} {{ "<i class='fa "~ fm_child_icon ~" '></i>" }}{% endif %} {{ child['name'] }}</a> {% if (child['children_2']) %} <ul class="{% if (fm_custom_class_child is defined) %} {{ fm_custom_class_child }}{% endif %}"> {% for child_2 in child['children_2'] %} <li class="nd2level"><a href="{{ child_2['href'] }}">{% if (fm_child_icon_display) %} {{ "<i class='fa "~ fm_child_icon ~" '></i>" }}{% endif %} {{ child_2['name'] }}</a> {% if (child_2['children_3']) %} <ul class="{% if (fm_custom_class_child is defined) %} {{ fm_custom_class_child }}{% endif %}"> {% for child_3 in child_2['children_3'] %} <li class="rd3level"><a href="{{ child_3['href'] }}">{% if (fm_child_icon_display) %} {{ "<i class='fa "~ fm_child_icon ~" '></i>" }}{% endif %} {{ child_3['name'] }}</a> {% if (child_3['children_4']) %} <ul class="{% if (fm_custom_class_child is defined) %} {{ fm_custom_class_child }}{% endif %}"> {% for child_4 in child_3['children_4'] %} <li class="th4level"><a href="{{ child_4['href'] }}">{% if (fm_child_icon_display) %} {{ "<i class='fa "~ fm_child_icon ~" '></i>" }}{% endif %} {{ child_4['name'] }}</a> {% if (child_4['children_5']) %} <ul class="{% if (fm_custom_class_child is defined) %} {{ fm_custom_class_child }}{% endif %}"> {% for child_5 in child_4['children_5'] %} <li class="th5level"><a href="{{ child_5['href'] }}">{% if (fm_child_icon_display) %} {{ "<i class='fa "~ fm_child_icon ~" '></i>" }}{% endif %} {{ child_5['name'] }}</a></li> {% endfor %} </ul> {% endif %} </li> {% endfor %} </ul> {% endif %} </li> {% endfor %} </ul> {% endif %} </li> {% endfor %} </ul> {% endif %} </li> {% endif %} {% endfor %} </ul> {% endif %} </li> {% else %} <li><a href="{{ category['href'] }}">{% if (fm_main_icon_display) %} {{ "<i class='fa "~ fm_main_icon ~" '></i>" }}{% endif %} {{ category['name'] }}</a> {% if (category['children']) %} <ul class="{% if (fm_custom_class_child is defined) %} {{ fm_custom_class_child }}{% endif %}"> {% for child in category['children'] %} <li class="1stlevel"><a href="{{ child['href'] }}">{% if (fm_child_icon_display) %} {{ "<i class='fa "~ fm_child_icon ~" '></i>" }}{% endif %} {{ child['name'] }}</a> {% if (child['children_2']) %} <ul class="{% if (fm_custom_class_child is defined) %} {{ fm_custom_class_child }}{% endif %}"> {% for child_2 in child['children_2'] %} <li class="nd2level"><a href="{{ child_2['href'] }}">{% if (fm_child_icon_display) %} {{ "<i class='fa "~ fm_child_icon ~" '></i>" }}{% endif %} {{ child_2['name'] }}</a> {% if (child_2['children_3']) %} <ul class="{% if (fm_custom_class_child is defined) %} {{ fm_custom_class_child }}{% endif %}"> {% for child_3 in child_2['children_3'] %} <li class="rd3level"><a href="{{ child_3['href'] }}">{% if (fm_child_icon_display) %} {{ "<i class='fa "~ fm_child_icon ~" '></i>" }}{% endif %} {{ child_3['name'] }}</a> {% if (child_3['children_4']) %} <ul class="{% if (fm_custom_class_child is defined) %} {{ fm_custom_class_child }}{% endif %}"> {% for child_4 in child_3['children_4'] %} <li class="th4level"><a href="{{ child_4['href'] }}">{% if (fm_child_icon_display) %} {{ "<i class='fa "~ fm_child_icon ~" '></i>" }}{% endif %} {{ child_4['name'] }}</a> {% if (child_4['children_5']) %} <ul class="{% if (fm_custom_class_child is defined) %} {{ fm_custom_class_child }}{% endif %}"> {% for child_5 in child_4['children_5'] %} <li class="th5level"><a href="{{ child_5['href'] }}">{% if (fm_child_icon_display) %} {{ "<i class='fa "~ fm_child_icon ~" '></i>" }}{% endif %} {{ child_5['name'] }}</a></li> {% endfor %} </ul> {% endif %} </li> {% endfor %} </ul> {% endif %} </li> {% endfor %} </ul> {% endif %} </li> {% endfor %} </ul> {% endif %} </li> {% endfor %} </ul> {% endif %} </li> {% endif %} {% endfor %} </ul> </nav>
  8. Есть модуль категорий (стандартный) слева, но допилял туда 5 уровней вложености. Вопрос следующий. Как мне выделить конкретные категории жирным? К примеру добавить в админку категорий галочку, если стоит галочка добавляеться клас к категории или типа того. Пробовал сделать это через галочку главного меню, но не работает, или я просто криворукий) http://prntscr.com/mkkupl допустим эти нужно выделить.
  9. Добавил в языковой файл html и все заработало)
  10. Здравствуйте! Проблема с корзиной в том что после добавления она меняет свой вид. Например вот так она выглядит изначально http://prntscr.com/mk3rux , а вот так когда добавляю любой товар http://prntscr.com/mk3sab . После обновления страницы она принимает нормальное положение) Ковырял common.js и контроллер, но не нашел ничего(( Сайт: https://magento.online-media.biz/filtr-zhirovoy-dlya-vytyazhki-57_1 Буду благодарен за любую полезню инфу, как сделать так чтоб отображение не менялось, а только цена и +1 к количеству. Версия 3.0.0.2
  11. Вставил другую форму и она работает без проблем)
  12. Как добавить категорий 3-4 уровня вложености http://prntscr.com/m5uw0k чтоб они открывались Код вывода: <div class="module category-style"> <h3 class="modtitle">{{ heading_title }}</h3> <div class="mod-content box-category"> <ul class="accordion" id="accordion-category"> {% for i,category in categories %} <li class="panel"> {% if category.category_id == category_id %} <a href="{{ category.href }} " class="active">{{ category.name }} </a> {% else %} <a href="{{ category.href }} ">{{ category.name }} </a> {% endif %} {% if category.children %} <span class="head"><a class="pull-right accordion-toggle{% if category.category_id != category_id %} {{ ' collapsed' }} {% endif %} " data-toggle="collapse" data-parent="#accordion-category" href="#category{{ i }} "></a></span> <div id="category{{ i }}" class="panel-collapse collapse {% if category.category_id == category_id %} {{ 'in' }} {% endif %} " style="clear:both"> <ul> {% for child in category.children %} <li> {% if child.category_id == child_id %} <a href="{{ child.href }} " class="active">{{ child.name }} </a> {% else %} <a href="{{ child.href }} ">{{ child.name }} </a> {% endif %} </li> {% endfor %} </ul> </div> {% endif %} </li> {% endfor %} </ul> </div> </div>
  13. Как изменить показ товаров по умолчанию? http://prntscr.com/m5qsgp Мне нужно отобразить по умолчанию 100 товаров, где это найти?
  14. На почту приходит только текст который вводил в текстовое поле
  15. catalog/view/theme/тема/template/product/category.twig Там поищи h3
  16. Добавил еще одну строчку в форму по анологии коментария <input name="phone" value="{{ entry_phone }}" rows="10" id="input-phone" placeholder="{{ entry_phone }} *" class="form-control" /> {% if error_phone %} <div class="text-danger">{{ error_phone }} </div> {% endif %} В контроллер добавил так $mail->setText('Telephone: ' . $this->request->post['phone'] . $mail->newline . 'Comment: ' . $this->request->post['enquiry']); Но не могу понять почему не передает данные в сообщении на емейл Подскажите что то) плз
×
×
  • 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.