Не отвечает...
Вот в его файле common.js вот так представлен //Product list
но чот я так и не поладил с ним
// Product List
$('#list-view').click(function() {
$('#content .product-grid > .clearfix').remove();
//$('#content .product-layout').attr('class', 'product-layout product-list col-xs-12');
$('#content .product-grid, #content .product-price').attr('class', 'product-layout product-list col-xs-12');
$('.product-thumb h4 .product_status, .product-thumb h4 .product_sticker').remove();
localStorage.setItem('display', 'list');
});
// Product Grid
$('#grid-view').click(function() {
// What a shame bootstrap does not take into account dynamically loaded columns
cols = $('#column-right, #column-left').length;
if (cols == 2) {
$('#content .product-list, #content .product-price').attr('class', 'product-layout product-grid col-lg-6 col-md-6 col-sm-12 col-xs-12');
} else if (cols == 1) {
$('#content .product-list, #content .product-price').attr('class', 'product-layout product-grid col-lg-4 col-md-6 col-sm-6 col-xs-12');
} else {
$('#content .product-list, #content .product-price').attr('class', 'product-layout product-grid col-lg-3 col-md-3 col-sm-6 col-xs-12');
}
$('.product-thumb h4 .product_status, .product-thumb h4 .product_sticker').remove();
$('.product-thumb h4').attr('style', false);
$('.product-thumb p, .product-thumb .attribute, .product-thumb .option').attr('style', false);
max_height_div('.product-thumb h4');
max_height_div('.product-thumb .description');
max_height_div('.product-thumb .attribute');
max_height_div('.product-thumb .option');
if($('.attribute_alt').size()) {
max_height_div('.product-thumb .description, .product-thumb .attribute');
}
localStorage.setItem('display', 'grid');
});
$('#price-view').click(function() {
$('#content .row > .product-list, #content .row > .product-grid').attr('class', 'product-layout product-price col-xs-12');
$('.product-price .caption').each(function() {
$(this).wrap('<div></div>');
});
$('.product-thumb h4 .product_status, .product-thumb h4 .product_sticker').remove();
$('.product-price .product_status').each(function() {
var name = $(this).parent().parent().parent().find('h4');
$(this).clone().appendTo(name);
});
$('.product-price .product_sticker').each(function() {
var name = $(this).parent().parent().parent().find('h4');
$(this).clone().appendTo(name);
});
localStorage.setItem('display', 'price');
});
if (localStorage.getItem('display') == 'list') {
$('#list-view').trigger('click');
} else if (localStorage.getItem('display') == 'price') {
$('#price-view').trigger('click');
} else {
$('#grid-view').trigger('click');
}