'; } htmls += '
'; if (element.find('.name').length > 0) htmls += '
' + element.find('.name').html() + '
'; if (element.find('.product_box_brand').length > 0) htmls += '
' + element.find('.product_box_brand').html() + '
'; var rating = element.find('div.rating').html(); if (rating != undefined) { htmls += '
' + rating + '
'; } else { if (element.find('div.star-rating').length > 0) { var rating = element.find('div.star-rating').html(); var rattitle = element.find('div.star-rating').attr('title'); htmls += '
' + rating + '
'; } } htmls += '
' + element.find('.description').html() + '
'; //html += '
' + $(element).find('.wishlist').html() + '
'; //html += '
' + $(element).find('.compare').html() + '
'; htmls += '
'; htmls += '
'; var price = element.find('.price').html(); if (price != null) { htmls += '
' + price + '
'; } htmls += '
' + element.find('.cart').html() + '
'; htmls += '
'; //htmls += ''; htmls += ''; element.html(htmls); }); //$('.display').html('Display: List Grid'); Cookies.set('display', 'list'); } else { $('.product-list').attr('class', 'product-grid'); $('.product-grid > ul > li').each(function(index, element) { var html = ''; element = $(this); //alert(colclass); //element.removeClass('large-12 medium-12').addClass(colclass); element.attr('class', colclass); if (centered != '') element.addClass(centered); html += '
'; var element = $(this); var image = element.find('.image').html(); if (image != undefined) { html += '
' + image + '
'; } var rating = element.find('div.rating').html(); if (rating != undefined) { html += '
' + rating + '
'; } if (element.find('.name').length > 0) html += '
' + element.find('.name').html() + '
'; if (element.find('.product_box_brand').length > 0) html += '
' + element.find('.product_box_brand').html() + '
'; if (rating == undefined) { if (element.find('div.star-rating').length > 0) { var rating = element.find('div.star-rating').html(); var rattitle = element.find('div.star-rating').attr('title'); html += '
' + rating + '
'; } } html += '
' + $(element).find('.description').html() + '
'; var price = element.find('.price').html(); if (price != null) { html += '
' + price + '
'; } html += '
' + element.find('.cart').html() + '
'; //html += '
' + $(element).find('.wishlist').html() + '
'; //html += '
' + $(element).find('.compare').html() + '
'; html += '
'; element.html(html); }); //$('.display').html('Display: List Grid'); Cookies.set('display', 'grid'); } } $('a.list-trigger').click(function() { $.display('list'); }); $('a.grid-trigger').click(function() { $.display('grid'); }); var view = 'grid'; view = Cookies.get('display') !== undefined ? Cookies.get('display') : view; if (view) { $.display(view); } else { $.display('grid'); } }); //-->

Shop

Display:  List Grid

1–60 di 1409 risultati

×
×
×
×