ПРОФКОСМЕТИКА
Выберите подкатегорию
- Beauty Style (0)
- Glavzdrav (7)
- Genosys (20)
- Mastelli (2)
';
html += ' ' + $(element).find('.wishlist').html() + '
';
html += ' ' + $(element).find('.compare').html() + '
';
html += '';
html += '';
var image = $(element).find('.image').html();
if (image != null) {
html += '
' + image + '
';
}
var price = $(element).find('.price').html();
if (price != null) {
html += '
' + price + '
';
}
html += '
' + $(element).find('.name').html() + '
';
html += '
' + $(element).find('.description').html() + '
';
var rating = $(element).find('.rating').html();
if (rating != null) {
html += '
' + rating + '
';
}
html += '
';
$(element).html(html);
});
$('.display').html('Список Таблица');
$.cookie('display', 'list');
} else {
$('.product-list:not(.filter-grid)').attr('class', 'product-grid');
$('.product-grid:not(.filter-grid) > div').each(function(index, element) {
html = '';
var image = $(element).find('.image').html();
if (image != null) {
html += '' + image + '
';
}
html += '' + $(element).find('.name').html() + '
';
html += '' + $(element).find('.description').html() + '
';
var price = $(element).find('.price').html();
if (price != null) {
html += '' + price + '
';
}
var rating = $(element).find('.rating').html();
if (rating != null) {
html += '' + rating + '
';
}
html += '' + $(element).find('.cart').html() + '
';
html += '' + $(element).find('.wishlist').html() + '
';
html += '' + $(element).find('.compare').html() + '
';
$(element).html(html);
});
$('.display').html(' СписокТаблица');
$.cookie('display', 'grid');
}
if (typeof(init_quickview) === 'function') {
init_quickview();
}
}
view = $.cookie('display');
if (view) {
display(view);
} else {
display('grid');
}
$(document).ready(function(){
function grid_470(){
if( $(window).width()