Грузила Крашенные - купить различных весов
';
}
var image = $(element).find('.image').html();
if (image != null) {
html += '
' + image + '
';
}
html += '
';
html += '
';
html += '
' + $(element).find('.name').html() + '
';
html += '
';
var price = $(element).find('.price').html();
if (price != null) {
html += '
' + price + '
';
}
html += '
' + $(element).find('.cart').html() + '
';
html += '
';
var rating = $(element).find('.rating').html();
if (rating != null) {
html += '
' + rating + '
';
}
html += '
' + $(element).find('.description').html() + '
';
html += '
';
html += '
';
$(element).html(html);
});
$(".owl-addimagecat").owlCarousel({ navigation : true, pagination : false, singleItem : true });
$('.display').html('
');
//$.totalStorage('display', 'list');
} else {
$('.product-list').attr('class', 'product-grid');
$('.product-grid > div').each(function(index, element) {
html = '';
html += '
';
var image = $(element).find('.image').html();
if (image != null) {
html += '
' + image + '
';
}
/*
html += '
';
var savemoney = $(element).find('.savemoney').html();
if (savemoney != null) {
html += '
' + savemoney + '
';
}
*/
html += '
' + $(element).find('.name').html() + '
';
/*
html += '
' + $(element).find('.description').html() + '
';
*/
var price = $(element).find('.price').html();
if (price != null) {
html += '
' + price + '
';
}
var typeunit = $(element).find('.typeunit').html();
if(typeunit != null) {
html += '
' + typeunit + '
';
}
html += '
' + $(element).find('.cart').html() + '
';
/*
html += '
';
html += '
';
html += '
';
var rating = $(element).find('.rating').html();
if (rating != null) {
html += '
' + rating + '
';
}
*/
$(element).html(html);
});
$(".owl-addimagecat").owlCarousel({ navigation : true,
pagination : false,
items : 3,
itemsDesktop : false,
itemsDesktopSmall: false,
itemsTablet :false,
itemsMobile: false, });
$('.item').hover(function(){
var $gallery = $(this);
$('.owl_modul div a',$gallery).hover(function(){
$('.owl_modul div',$gallery).removeClass('active');
$(this).parent().addClass('active');
$('.image img',$gallery).attr('src', $(this).attr('data-image'));});
$('.owl_modul div:first',$gallery).addClass('active');
if ( $('.owl_modul',$gallery).parents('.item').length ) { $gallery.addClass('itemwd')};
});
$('.display').html('
');
//$.totalStorage('display', 'grid');
}
}
display('grid');
$(window).load(function(){
var end = 0;
for(var i=0; i<=end; ++i) {
$(".eqheight_" + i).equalheight({
responsive: !0
})
}
});
//-->