Перейти до вмісту
Пошук в
  • Детальніше...
Шукати результати, які ...
Шукати результати в ...

DarkEinstein

Користувачі
  
  • Публікації

    424
  • З нами

  • Відвідування

Усі публікації користувача DarkEinstein

  1. Вы правы, уже стало учебным. Занимаюсь в свободное время, заодно с помощью подсказок немного развиваюсь сам)
  2. Каждый раз после создания категории, товара или изменения каких либо кодов в админке с браузеров Хром и Опера, нажимайте ctrl+F5
  3. О, да, это оно)) А чего у меня сердечко не движется влево? Делаю маргин на 100%, оно проезжает пол пути от центра и останавливается. Вправо например могу двигать сколько угодно. Я туда ещё текст возле сердечка "Add to favorites" хочу вписать, пока тоже не знаю как, но это уже потом.
  4. Как то я раньше через инспектора в браузере видел что можно эти значки любые ставить. А сейчас не пойму как я тогда на это попал. Сейчас у меня стоит fa fa-heart, обычное, белое, как на скрине указано стрелкой. А мне нужно чтобы оно было как на скрине указано в рамке. Оно не белое, а просто очертание с надписью. Оно наверное тоже fa fa-heart, но как то может быть по другому. Вот эти я видел в инспекторе названия вариантов иконок. Но как попадал на них - не помню...
  5. Я ксс не трогал, просто из продукт.твиг, у меня на 120-ой линии были две кнопки, и я как есть перенес их себе на 288-ю в таком виде: <div class="btn-group"> <button type="button" data-toggle="tooltip" class="btn btn-danger" title="{{ button_wishlist }}" onclick="wishlist.add('{{ product_id }}');"><i class="fa fa-heart"></i></button> <button type="button" data-toggle="tooltip" class="btn btn-danger" title="{{ button_compare }}" onclick="compare.add('{{ product_id }}');"><i class="fa fa-exchange"></i></button> </div> Буду пробовать в ксс тогда прописать Ваш транспарент. Так как пока не вижу как решить по другому. Спасибо за отзыв.
  6. Не могу объяснить, посмотрите скрин пожалуйста. Я всего лишь перенёс две кнопки "Закладки" и "Сравнение" ниже и у меня какой то Catalog number: режет картинку товара пополам. Думал задать картинкам товара з-индекс 10000 но что то не реагирует.
  7. У меня с типом опции "Ввод количества (С разделением на товары в корзине)" На сайте ничего не отображается. Работает только Тип: Список Переключатель Флажок И на сайте вообще ужасно отображается. Как у Вас так красиво как на Вашем скрине список с вводом количества получился?
  8. Здесь буду знать, спасибо) Осталось опции сделать.
  9. ох ё-маё как растянул тему. Код что в окошко со скроллом нельзя никак поместить здесь?
  10. Я что то накрутил такое в product.twig что у меня теперь не отображаются на сайте опции товара которые я выставил в админке (Скрин). Я уже вернул обратно старый файл product.twig, почистил кеш, обновил модификаторы. Но опций так и нет. По моему они как то подключены ещё к модификатору, но не факт, так как я его включаю и отключаю сейчас, а опции не появляются Если модификатор не имеет отношение к выводу опции в карточке товара, или если даже имеет, то как его обойти и напрямую прописать в файл продукта вывод опций? На всякий случай кину код своего продукт.твиг ниже: {{ header }} <div id="product-product" class="container"> <ul class="breadcrumb"> {% for breadcrumb in breadcrumbs %} <li><a href="{{ breadcrumb.href }}">{{ breadcrumb.text }}</a></li> {% endfor %} </ul> <div class="row">{{ column_left }} {% if column_left and column_right %} {% set class = 'col-sm-6' %} {% elseif column_left or column_right %} {% set class = 'col-sm-9' %} {% else %} {% set class = 'col-sm-12' %} {% endif %} <div id="content" class="{{ class }}">{{ content_top }} <div class="row"> {% if column_left or column_right %} {% set class = 'col-sm-6' %} {% else %} {% set class = 'col-sm-8' %} {% endif %} <div class="{{ class }}"> {% if thumb or images %} <ul class="thumbnails"> {% if thumb %} <li><a href="{{ popup }}" title="{{ heading_title }}"><img src="{{ thumb }}" title="{{ heading_title }}" alt="{{ heading_title }}" /></a></li> {% endif %} {% if images %} {% for image in images %} <li class="image-additional"><a href="{{ image.popup }}" title="{{ heading_title }}"> <img src="{{ image.thumb }}" title="{{ heading_title }}" alt="{{ heading_title }}" /></a></li> {% endfor %} {% endif %} </ul> {% endif %} <ul class="nav nav-tabs"> <!-- <li class="active"><a href="#tab-description" data-toggle="tab"><i class="fa fa-file-text-o"></i> {{ tab_description }}</a></li>--> {% if attribute_groups %} <li><a href="#tab-specification" data-toggle="tab"><i class="fa fa-cogs"></i> {{ tab_attribute }}</a></li> {% endif %} <!-- {% if review_status %} <li><a href="#tab-review" data-toggle="tab"><i class="fa fa-comment-o"></i> {{ tab_review }}</a></li> {% endif %} --> </ul> <div class="tab-content"> <div class="tab-pane active" id="tab-description">{{ description }}</div> {% if attribute_groups %} <div class="tab-pane" id="tab-specification"> <table class="table table-bordered"> {% for attribute_group in attribute_groups %} <thead> <tr> <td colspan="2"><strong>{{ attribute_group.name }}</strong></td> </tr> </thead> <tbody> {% for attribute in attribute_group.attribute %} <tr> <td>{{ attribute.name }}</td> <td>{{ attribute.text }}</td> </tr> {% endfor %} </tbody> {% endfor %} </table> </div> {% endif %} {% if review_status %} <div class="tab-pane" id="tab-review"> <form class="form-horizontal" id="form-review"> <div id="review"></div> <h2>{{ text_write }}</h2> {% if review_guest %} <div class="form-group required"> <div class="col-sm-12"> <label class="control-label" for="input-name">{{ entry_name }}</label> <input type="text" name="name" value="{{ customer_name }}" id="input-name" class="form-control" /> </div> </div> <div class="form-group required"> <div class="col-sm-12"> <label class="control-label" for="input-review">{{ entry_review }}</label> <textarea name="text" rows="5" id="input-review" class="form-control"></textarea> <div class="help-block">{{ text_note }}</div> </div> </div> <div class="form-group required"> <div class="col-sm-12"> <label class="control-label">{{ entry_rating }}</label> &nbsp;&nbsp;&nbsp; {{ entry_bad }}&nbsp; <input type="radio" name="rating" value="1" /> &nbsp; <input type="radio" name="rating" value="2" /> &nbsp; <input type="radio" name="rating" value="3" /> &nbsp; <input type="radio" name="rating" value="4" /> &nbsp; <input type="radio" name="rating" value="5" /> &nbsp;{{ entry_good }}</div> </div> {{ captcha }} <div class="buttons clearfix"> <div class="pull-right"> <button type="button" id="button-review" data-loading-text="{{ text_loading }}" class="btn btn-primary">{{ button_continue }}</button> </div> </div> {% else %} {{ text_login }} {% endif %} </form> </div> {% endif %} </div> </div> {% if column_left or column_right %} {% set class = 'col-sm-6' %} {% else %} {% set class = 'col-sm-4' %} {% endif %} <div class="{{ class }}"> <div class="btn-group"> <button type="button" data-toggle="tooltip" class="btn btn-danger" title="{{ button_wishlist }}" onclick="wishlist.add('{{ product_id }}');"><i class="fa fa-heart"></i></button> <button type="button" data-toggle="tooltip" class="btn btn-danger" title="{{ button_compare }}" onclick="compare.add('{{ product_id }}');"><i class="fa fa-exchange"></i></button> </div> <h1>{{ heading_title }}</h1> <ul class="list-group"> {% if manufacturer %} <li class="list-group-item"><span>{{ text_manufacturer }}</span> <a href="{{ manufacturers }}">{{ manufacturer }}</a></li> {% endif %} <li class="list-group-item"><span>{{ text_model }}</span> {{ model }}</li> {% if reward %} <li class="list-group-item"><span>{{ text_reward }}</span> {{ reward }}</li> {% endif %} <!--<li class="list-group-item"><span>Avaibility:</span> {{ sku }}</li>--> </ul> {% if price %} <ul class="list-unstyled"> {% if not special %} <li> <h2><!--<span class="{{ live_options['module_live_options_price_container'] }}">{{ price }}</span>-->{{ upc }} - {{ ean }}</h2> </li> {% else %} <li><span style="text-decoration: line-through;">{{ price }}</span></li> <li> <h2>{{ special }}</h2> </li> {% endif %} {% if tax %} <li>{{ text_tax }} {{ tax }}</li> {% endif %} {% if points %} <li>{{ text_points }} {{ points }}</li> {% endif %} {% if discounts %} <li> <hr> </li> {% for discount in discounts %} <li>{{ discount.quantity }}{{ text_discount }}{{ discount.price }}</li> {% endfor %} {% endif %} </ul> {% endif %} <div id="product"> {% if options %} <hr> <h3>{{ text_option }}</h3> {% for option in options %} {% if option.type == 'select' %} <div class="form-group{% if option.required %} required {% endif %}"> <label class="control-label" for="input-option{{ option.product_option_id }}">{{ option.name }}</label> <select name="option[{{ option.product_option_id }}]" id="input-option{{ option.product_option_id }}" class="form-control"> <option value="">{{ text_select }}</option> {% for option_value in option.product_option_value %} <option value="{{ option_value.product_option_value_id }}">{{ option_value.name }} {% if option_value.price %} ({{ option_value.price_prefix }}{{ option_value.price }}) {% endif %} </option> {% endfor %} </select> </div> {% endif %} {% if option.type == 'radio' %} <div class="form-group{% if option.required %} required {% endif %}"> <label class="control-label">{{ option.name }}</label> <div id="input-option{{ option.product_option_id }}"> {% for option_value in option.product_option_value %} <div class="radio"> <label> <input type="radio" name="option[{{ option.product_option_id }}]" value="{{ option_value.product_option_value_id }}" /> {% if option_value.image %} <img src="{{ option_value.image }}" alt="{{ option_value.name }} {% if option_value.price %} {{ option_value.price_prefix }} {{ option_value.price }} {% endif %}" class="img-thumbnail" /> {% endif %} {{ option_value.name }} {% if option_value.price %} ({{ option_value.price_prefix }}{{ option_value.price }}) {% endif %} </label> </div> {% endfor %} </div> </div> {% endif %} {% if option.type == 'checkbox' %} <div class="form-group{% if option.required %} required {% endif %}"> <label class="control-label">{{ option.name }}</label> <div id="input-option{{ option.product_option_id }}"> {% for option_value in option.product_option_value %} <div class="checkbox"> <label> <input type="checkbox" name="option[{{ option.product_option_id }}][]" value="{{ option_value.product_option_value_id }}" /> {% if option_value.image %} <img src="{{ option_value.image }}" alt="{{ option_value.name }} {% if option_value.price %} {{ option_value.price_prefix }} {{ option_value.price }} {% endif %}" class="img-thumbnail" /> {% endif %} {{ option_value.name }} {% if option_value.price %} ({{ option_value.price_prefix }}{{ option_value.price }}) {% endif %} </label> </div> {% endfor %} </div> </div> {% endif %} {% if option.type == 'text' %} <div class="form-group{% if option.required %} required {% endif %}"> <label class="control-label" for="input-option{{ option.product_option_id }}">{{ option.name }}</label> <input type="text" name="option[{{ option.product_option_id }}]" value="{{ option.value }}" placeholder="{{ option.name }}" id="input-option{{ option.product_option_id }}" class="form-control" /> </div> {% endif %} {% if option.type == 'textarea' %} <div class="form-group{% if option.required %} required {% endif %}"> <label class="control-label" for="input-option{{ option.product_option_id }}">{{ option.name }}</label> <textarea name="option[{{ option.product_option_id }}]" rows="5" placeholder="{{ option.name }}" id="input-option{{ option.product_option_id }}" class="form-control">{{ option.value }}</textarea> </div> {% endif %} {% if option.type == 'file' %} <div class="form-group{% if option.required %} required {% endif %}"> <label class="control-label">{{ option.name }}</label> <button type="button" id="button-upload{{ option.product_option_id }}" data-loading-text="{{ text_loading }}" class="btn btn-default btn-block"><i class="fa fa-upload"></i> {{ button_upload }}</button> <input type="hidden" name="option[{{ option.product_option_id }}]" value="" id="input-option{{ option.product_option_id }}" /> </div> {% endif %} {% if option.type == 'date' %} <div class="form-group{% if option.required %} required {% endif %}"> <label class="control-label" for="input-option{{ option.product_option_id }}">{{ option.name }}</label> <div class="input-group date"> <input type="text" name="option[{{ option.product_option_id }}]" value="{{ option.value }}" data-date-format="YYYY-MM-DD" id="input-option{{ option.product_option_id }}" class="form-control" /> <span class="input-group-btn"> <button class="btn btn-default" type="button"><i class="fa fa-calendar"></i></button> </span></div> </div> {% endif %} {% if option.type == 'datetime' %} <div class="form-group{% if option.required %} required {% endif %}"> <label class="control-label" for="input-option{{ option.product_option_id }}">{{ option.name }}</label> <div class="input-group datetime"> <input type="text" name="option[{{ option.product_option_id }}]" value="{{ option.value }}" data-date-format="YYYY-MM-DD HH:mm" id="input-option{{ option.product_option_id }}" class="form-control" /> <span class="input-group-btn"> <button type="button" class="btn btn-default"><i class="fa fa-calendar"></i></button> </span></div> </div> {% endif %} {% if option.type == 'time' %} <div class="form-group{% if option.required %} required {% endif %}"> <label class="control-label" for="input-option{{ option.product_option_id }}">{{ option.name }}</label> <div class="input-group time"> <input type="text" name="option[{{ option.product_option_id }}]" value="{{ option.value }}" data-date-format="HH:mm" id="input-option{{ option.product_option_id }}" class="form-control" /> <span class="input-group-btn"> <button type="button" class="btn btn-default"><i class="fa fa-calendar"></i></button> </span></div> </div> {% endif %} {% endfor %} {% endif %} {% if recurrings %} <hr> <h3>{{ text_payment_recurring }}</h3> <div class="form-group required"> <select name="recurring_id" class="form-control"> <option value="">{{ text_select }}</option> {% for recurring in recurrings %} <option value="{{ recurring.recurring_id }}">{{ recurring.name }}</option> {% endfor %} </select> <div class="help-block" id="recurring-description"></div> </div> {% endif %} <div class="form-group"> <!--<label class="control-label" for="input-quantity">{{ entry_qty }}</label> <input type="text" name="quantity" value="{{ minimum }}" size="2" id="input-quantity" class="form-control" />--> <input type="hidden" name="product_id" value="{{ product_id }}" /> <br /> <button type="button" style="float: left;" id="button-cart" data-loading-text="{{ text_loading }}" class="btn btn-success btn-lg btn-block">Add to cart</button>{{ formcreator_id35 }} </div> {% if minimum > 1 %} <div class="alert alert-info"><i class="fa fa-info-circle"></i> {{ text_minimum }}</div> {% endif %}</div> {% if review_status %} <!-- <div class="rating"> <p>{% for i in 1..5 %} {% if rating < i %}<span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span>{% else %}<span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span>{% endif %} {% endfor %} <a href="" onclick="$('a[href=\'#tab-review\']').trigger('click'); return false;">{{ reviews }}</a> / <a href="" onclick="$('a[href=\'#tab-review\']').trigger('click'); return false;">{{ text_write }}</a></p> <!-- <hr> <!-- AddThis Button BEGIN --><!-- <div class="addthis_toolbox addthis_default_style" data-url="{{ share }}"><a class="addthis_button_facebook_like" fb:like:layout="button_count"></a> <a class="addthis_button_tweet"></a> <a class="addthis_button_pinterest_pinit"></a> <a class="addthis_counter addthis_pill_style"></a></div> <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-515eeaf54693130e"></script> <!-- AddThis Button END --> </div> {% endif %} </div> </div> {% if products %} <h3>{{ text_related }}</h3> <div class="row"> {% set i = 0 %} {% for product in products %} {% if column_left and column_right %} {% set class = 'col-xs-8 col-sm-6' %} {% elseif column_left or column_right %} {% set class = 'col-xs-6 col-md-4' %} {% else %} {% set class = 'col-xs-6 col-sm-3' %} {% endif %} <div class="{{ class }}"> <div class="product-thumb transition"> <div class="image"><a href="{{ product.href }}"><img src="{{ product.thumb }}" alt="{{ product.name }}" title="{{ product.name }}" class="img-responsive" /></a></div> <div class="caption"> <h4><a href="{{ product.href }}">{{ product.name }}</a></h4> <p>{{ product.description }}</p> {% if product.rating %} <div class="rating"> {% for j in 1..5 %} {% if product.rating < j %} <span class="fa fa-stack"><i class="fa fa-star-o fa-stack-1x"></i></span> {% else %} <span class="fa fa-stack"><i class="fa fa-star fa-stack-1x"></i><i class="fa fa-star-o fa-stack-1x"></i></span> {% endif %} {% endfor %} </div> {% endif %} {% if product.price %} <p class="price"> {% if not product.special %} {{ product.price }} {% else %} <span class="price-new">{{ product.special }}</span> <span class="price-old">{{ product.price }}</span> {% endif %} {% if product.tax %} <span class="price-tax">{{ text_tax }} {{ product.tax }}</span> {% endif %} </p> {% endif %} </div> <div class="button-group"> <button type="button" onclick="cart.add('{{ product.product_id }}', '{{ product.minimum }}');"><span class="hidden-xs hidden-sm hidden-md">{{ button_cart }}</span> <i class="fa fa-shopping-cart"></i></button> <button type="button" data-toggle="tooltip" title="{{ button_wishlist }}" onclick="wishlist.add('{{ product.product_id }}');"><i class="fa fa-heart"></i></button> <button type="button" data-toggle="tooltip" title="{{ button_compare }}" onclick="compare.add('{{ product.product_id }}');"><i class="fa fa-exchange"></i></button> </div> </div> </div> {% if column_left and column_right and (i + 1) % 2 == 0 %} <div class="clearfix visible-md visible-sm"></div> {% elseif column_left or column_right and (i + 1) % 3 == 0 %} <div class="clearfix visible-md"></div> {% elseif (i + 1) % 4 == 0 %} <div class="clearfix visible-md"></div> {% endif %} {% set i = i + 1 %} {% endfor %} </div> {% endif %} {% if tags %} <p>{{ text_tags }} {% for i in 0..tags|length %} {% if i < (tags|length - 1) %} <a href="{{ tags[i].href }}">{{ tags[i].tag }}</a>, {% else %} <a href="{{ tags[i].href }}">{{ tags[i].tag }}</a> {% endif %} {% endfor %} </p> {% endif %} {{ content_bottom }}</div> {{ column_right }}</div> </div> <script type="text/javascript"><!-- $('select[name=\'recurring_id\'], input[name="quantity"]').change(function(){ $.ajax({ url: 'index.php?route=product/product/getRecurringDescription', type: 'post', data: $('input[name=\'product_id\'], input[name=\'quantity\'], select[name=\'recurring_id\']'), dataType: 'json', beforeSend: function() { $('#recurring-description').html(''); }, success: function(json) { $('.alert-dismissible, .text-danger').remove(); if (json['success']) { $('#recurring-description').html(json['success']); } } }); }); //--></script> <script type="text/javascript"><!-- $('#button-cart').on('click', function() { $.ajax({ url: 'index.php?route=checkout/cart/add', type: 'post', data: $('#product input[type=\'text\'], #product input[type=\'hidden\'], #product input[type=\'radio\']:checked, #product input[type=\'checkbox\']:checked, #product select, #product textarea'), dataType: 'json', beforeSend: function() { $('#button-cart').button('loading'); }, complete: function() { $('#button-cart').button('reset'); }, success: function(json) { $('.alert-dismissible, .text-danger').remove(); $('.form-group').removeClass('has-error'); if (json['error']) { if (json['error']['option']) { for (i in json['error']['option']) { var element = $('#input-option' + i.replace('_', '-')); if (element.parent().hasClass('input-group')) { element.parent().after('<div class="text-danger">' + json['error']['option'][i] + '</div>'); } else { element.after('<div class="text-danger">' + json['error']['option'][i] + '</div>'); } } } if (json['error']['recurring']) { $('select[name=\'recurring_id\']').after('<div class="text-danger">' + json['error']['recurring'] + '</div>'); } // Highlight any found errors $('.text-danger').parent().addClass('has-error'); } if (json['success']) { setTimeout(function () { $('#cart > a').html('<i class="fa fa-shopping-cart"></i>' + '<span id="cart-total">' + json.total + '</span>'); updateCartCounter(); }, 100); $('.breadcrumb').after('<div class="alert alert-success alert-dismissible">' + json['success'] + '<button type="button" class="close" data-dismiss="alert">&times;</button></div>'); $('#cart > button').html('<span id="cart-total"><i class="fa fa-shopping-cart"></i> ' + json['total'] + '</span>'); $('html, body').animate({ scrollTop: 0 }, 'slow'); $('#cart > ul').load('index.php?route=common/cart/info ul li'); } }, error: function(xhr, ajaxOptions, thrownError) { alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); } }); }); //--></script> <script type="text/javascript"><!-- $('.date').datetimepicker({ language: '{{ datepicker }}', pickTime: false }); $('.datetime').datetimepicker({ language: '{{ datepicker }}', pickDate: true, pickTime: true }); $('.time').datetimepicker({ language: '{{ datepicker }}', pickDate: false }); $('button[id^=\'button-upload\']').on('click', function() { var node = this; $('#form-upload').remove(); $('body').prepend('<form enctype="multipart/form-data" id="form-upload" style="display: none;"><input type="file" name="file" /></form>'); $('#form-upload input[name=\'file\']').trigger('click'); if (typeof timer != 'undefined') { clearInterval(timer); } timer = setInterval(function() { if ($('#form-upload input[name=\'file\']').val() != '') { clearInterval(timer); $.ajax({ url: 'index.php?route=tool/upload', type: 'post', dataType: 'json', data: new FormData($('#form-upload')[0]), cache: false, contentType: false, processData: false, beforeSend: function() { $(node).button('loading'); }, complete: function() { $(node).button('reset'); }, success: function(json) { $('.text-danger').remove(); if (json['error']) { $(node).parent().find('input').after('<div class="text-danger">' + json['error'] + '</div>'); } if (json['success']) { alert(json['success']); $(node).parent().find('input').val(json['code']); } }, error: function(xhr, ajaxOptions, thrownError) { alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); } }); } }, 500); }); //--></script> <script type="text/javascript"><!-- $('#review').delegate('.pagination a', 'click', function(e) { e.preventDefault(); $('#review').fadeOut('slow'); $('#review').load(this.href); $('#review').fadeIn('slow'); }); $('#review').load('index.php?route=product/product/review&product_id={{ product_id }}'); $('#button-review').on('click', function() { $.ajax({ url: 'index.php?route=product/product/write&product_id={{ product_id }}', type: 'post', dataType: 'json', data: $("#form-review").serialize(), beforeSend: function() { $('#button-review').button('loading'); }, complete: function() { $('#button-review').button('reset'); }, success: function(json) { $('.alert-dismissible').remove(); if (json['error']) { $('#review').after('<div class="alert alert-danger alert-dismissible"><i class="fa fa-exclamation-circle"></i> ' + json['error'] + '</div>'); } if (json['success']) { $('#review').after('<div class="alert alert-success alert-dismissible"><i class="fa fa-check-circle"></i> ' + json['success'] + '</div>'); $('input[name=\'name\']').val(''); $('textarea[name=\'text\']').val(''); $('input[name=\'rating\']:checked').prop('checked', false); } } }); }); $(document).ready(function() { $('.thumbnails').magnificPopup({ type:'image', delegate: 'a', gallery: { enabled: true } }); }); //--></script> {{ footer }}
  11. А через админку в .ocmod.zip не проще? А если он разархивирован то целой папкой в корень и кидать. Зачем каждый файл отдельно не пойму? Потом же в админке опять закинуть но .ocmod.xml
  12. Точно! Вернул старый файл. Я там цвет текста был задал, потому что не мог его в ксс найти. По этому он тогда и выкидывал ошибку Unexpected character "#" Как то три недели работало пока не обновил модификаторы))
  13. Фух, да, перезалил хедер и потом ещё обновил модификаторы. После этого заработало. Зачем система выдавала так много ошибок если всё дело было в хедере? Напугала только)) Спасибо в очередной раз за помощь!)
  14. Здесь: 'Unexpected character "#" in "default/template/common/header.twig" at line 55. 55-я линия: {% if logged %} А в: /home/icg1s0fncdjp/public_html/max/system/library/template/Twig/Lexer.php:284 284-я линия: throw new Twig_Error_Syntax(sprintf(' throw new Twig_Error_Syntax(sprintf('Unexpected character "%s".', $this->code[$this->cursor]), $this->lineno, $this->filename); "%s".', $this->code[$this->cursor]), $this->lineno, $this->filename);
  15. Здравствуйте. Обновыл модификаторы и вылетела ошибка 500. Уже 4 часа ищу решение по форуму. Перепробовал всё, и кеш чистить и логи удалять и лоадер.пхп перезаливать, что только находил гугл, всё делаю но сайт не включается. Файл лога показывает вообще для меня новый раздел в котором я абсолютно ничего не соображаю: [08-Aug-2019 19:03:20 UTC] PHP Fatal error: Uncaught exception 'Twig_Error_Syntax' with message 'Unexpected character "#" in "default/template/common/header.twig" at line 55.' in /home/icg1s0fncdjp/public_html/max/system/library/template/Twig/Lexer.php:284 Stack trace: #0 /home/icg1s0fncdjp/public_html/max/system/library/template/Twig/Lexer.php(216): Twig_Lexer->lexExpression() #1 /home/icg1s0fncdjp/public_html/max/system/library/template/Twig/Lexer.php(115): Twig_Lexer->lexVar() #2 /home/icg1s0fncdjp/public_html/max/system/library/template/Twig/Environment.php(581): Twig_Lexer->tokenize('<!DOCTYPE html>...', 'default/templat...') #3 /home/icg1s0fncdjp/public_html/max/system/library/template/Twig/Environment.php(671): Twig_Environment->tokenize('<!DOCTYPE html>...', 'default/templat...') #4 /home/icg1s0fncdjp/public_html/max/system/library/template/Twig/Environment.php(396): Twig_Environment->compileSource('<!DOCTYPE html>...', 'default/templat...') #5 /home/icg1s0fncdjp/public_html/storage/modification/system/library/template/twig.php(64): Twig_Enviro in /home/icg1s0fncdjp/public_html/max/system/library/template/Twig/Lexer.php on line 284 Enviropment.php в каждой из ошибочных строк указывает на какой то Tokenize. О файле Lexer я вообще не знал. Короче реально тёмный лес. Файл бекапа двухнедельной давности, а я уже внёс не мало изменений. Не хочется опять всё переделывать...
  16. Добрый день. Посмотрите пожалуйста скрин. Я создал в админке Фильтр ---> Средства и назначил эти средства определённым товарам. Этот фильтр классно отобразился в левой колонке. Теперь пользователь може отметить галочками что ему нужно и профильтровать. Вопрос: Можно ли точно так же сделать с производителями (manufacturer)? У меня пока получилось их вывести обычной колонкой. Но я бы хотел чтобы пользователь смог отмечать галочками тех производителей которые ему интересны. Так как со средствами.
  17. Нету, только product/search.twig есть но он не такой. Кстати я сравнил код который я написал в начале с оригинальным из чистого движка опенкарт 3 и они идентичны. Так почему Вы говорите что я какую то кнопку потерял?)
  18. Целый файл может быть в кеше? Я знаю как найти картинку в кеше, а за файл без понятя где искать..)
  19. Здравствуйте друзья! Я кажется что то удалил из поиска и теперь он не работает не нажатием на enter не нажатием на лупу http://max.ahhnursery.com/ Файл search.twig у меня такой: <div id="search" class="input-group"> <input type="text" name="search" value="{{ search }}" placeholder="{{ text_search }}" class="form-control" /> <span class="input-group-btn"> <button type="button" class="btn btn-default"><i class="fa fa-search"></i></button> </span> </div> Вроде как всё нормально. Чуть покрутил ксс, но это вроде как не должно было подействовать на сам поиск.
  20. В видео объяснил как должно быть) https://yadi.sk/i/9h4z6Ik8whPM5g
  21. Изначально мышкой щёлкаем на базу данных. Потом нажимаем импорт. У Вас же написана ошибка #1046 - База данных не выбрана
  22. Помогло. Там было 25000 единиц товара. Боялся начинать чистить. Но в итоге отлично. Благодарю!)
×
×
  • Створити...

Important Information

На нашому сайті використовуються файли cookie і відбувається обробка деяких персональних даних користувачів, щоб поліпшити користувальницький інтерфейс. Щоб дізнатися для чого і які персональні дані ми обробляємо перейдіть за посиланням . Якщо Ви натиснете «Я даю згоду», це означає, що Ви розумієте і приймаєте всі умови, зазначені в цьому Повідомленні про конфіденційність.