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

Virtuozzo

Newbie
  
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Virtuozzo's Achievements

Rookie

Rookie (2/14)

  • Reacting Well Rare
  • First Post
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Устанавливал по инструкции После получаю ошибку Fatal error: The encoded file /var/www/u0825077/data/www/**/admin/model/csvprice_pro/app_setting.php is corrupt. in Unknown on line 0 Подскажите что делать?
  2. Проблема решена. Косяк был в подключаемом common.js строка 53
  3. Добрый вечер! Недавно возникла проблема с поиском при вводе товара, товар нахоидт, показывает, всё хорошо. Но когда нажимаешь "Найти" в адерсную страку после домен.ру/ подставляется > сивол и поиск выдает ошибку. Из файла /catalog/view/theme/тема/template/common/header.tpl var selector = '#search'; var total = 0; var show_image = 'true'; var show_price = 'true'; var search_sub_category = true; var search_description = false; var width = 62; var height = 62; $(selector).find('input[name=\'search\']').autocomplete({ delay: 500, source: function(request, response) { var limit = 5; var search_sub_category = search_sub_category?'&sub_category=true':''; var search_description = search_description?'&description=true':''; $.ajax({ url: 'index.php?route=module/pavautosearch/autocomplete&width='+width+'&height='+height+'&limit='+limit+search_sub_category+search_description+'&filter_name='+encodeURIComponent(request.term), dataType: 'json', success: function(json) { response($.map(json, function(item) { if($('.pavautosearch_result')){ $('.pavautosearch_result').first().html(""); } total = 0; if(item.total){ total = item.total; } return { price: item.price, label: item.name, image: item.image, link: item.link, value: item.product_id } })); } }); }, select: function(event, ui) { return false; }, focus: function(event, ui) { return false; } }) <div id="search"> <!--<div class="button-search"></div>--> <!--<div class="button-search2"></div>--> <input class="search-field" type="text" name="search" placeholder="Поиск по сайту" value="<?php echo $search; ?>" id="mysearch"> <button class="button-search-delete"></button> <button class="button-search2">Найти</button> <script> function DeleteRender(){ if($('.search-field').val()==''){ $('.button-search-delete').css('display', 'none') } else{ $('.button-search-delete').css('display', 'block') } } window.onload = function(){ DeleteRender() } $('.search-field').on('keyup', function(){ DeleteRender() }) $('.button-search-delete').on('click', function(){ $('.search-field').val('') $('.search-field').focus() $('.button-search-delete').css('display', 'none') }) </script> </div> </div> Лишних символов > не нашел. Где еще можно поискать проблему или как решить?
Guest
×
  • 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.