Первый нашел. Проблема осталась. Если поменять на другой модуль, картинки есть, но они выстраиваются в ряд и ничего не двигается. Вообще ничего не понимаю в jquery и скриптах. Подскажите, а как исправить вторую. Что в нем может быть не так?
Uncaught TypeError: Cannot set property '_renderItem' of undefined ----- search_suggestion.js:47
}).data( "uiAutocomplete" )._renderItem = function( ul, item ) {
var product_img = item.img ? '<img src="' + item.img + '">' : '';
var product_price = item.special ? '<span class="price-old">' + item.price + '</span><span class="price-new">' + item.special + '</span>' : item.price;
var description = item.description ? '<div class="description">' + item.description + '</div>' : '';
var attributes = item.attributes ? '<div class="attributes">' + item.attributes + '</div>' : '';
return $( "<li></li>" )
.data( "item.uiAutocomplete", item )
.append( '<a class="product-list"><div class="image">' + product_img + '</div><div class="name">' + item.label + '</div><div class="price">' + product_price + '</div>' + description + attributes + '</a>' )
.appendTo( ul );