Special Offers
There are no special offer products to list.
'; html += '
' + $(element).find('.wishlist').html() + '
'; html += '
' + $(element).find('.compare').html() + '
'; if (price != null) { html += '
' + price + '
'; } html += '
'; if (image != null) { html += '
' + image + '
'; } html += '
'; html += '
' + $(element).find('.name').html() + '
'; html += '
' + rating + '
'; html += '
' + $(element).find('.description').html() + '
'; html += '
'; html += '
'; $(element).html(html); }); $('.display .grid').removeClass('active') $('.display .list').addClass('active') $.cookie('display', 'list'); } else { $('.product-list').attr('class', 'product-grid'); $('.product-grid > div > div').each(function(index, element) { html = ''; var image = $(element).find('.image').html(); if (image != null) { html += '
' + image + '
'; } html += '
'; var rating = $(element).find('.rating').html(); html += '
' + rating + '
'; html += '
' + $(element).find('.name').html() + '
'; html += '
' + $(element).find('.description').html() + '
'; var price = $(element).find('.price').html(); if (price != null) { html += '
' + price + '
'; } html += '
'; html += '
'; html += '
' + $(element).find('.cart').html() + '
'; html += '
' + $(element).find('.wishlist').html() + '
'; html += '
' + $(element).find('.compare').html() + '
'; html += '
'; $(element).html(html); }); $('.display .list').removeClass('active') $('.display .grid').addClass('active') $.cookie('display', 'grid'); } } view = $.cookie('display'); if (view) { display(view); } else { display('list'); } $(document).ready(function(){ var url = $('.load-next-page').attr('data-page-url'); var page = $('.load-next-page').attr('data-nex-page'); var total_pages = $('.load-next-page').attr('data-total-pages'); if(Number(page) ') }, complete: function() { $('.load-wait').remove() }, success: function(html) { page = Number(page) + 1; $('#product_list').append($(html).find("#product_list").html()) display(view); if(page > total_pages ){ $('.load-next-page').hide()} }, error: function(xhr, ajaxOptions, thrownError) { alert(thrownError + "\r\n" + xhr.statusText + "\r\n" + xhr.responseText); } }); }) }) //-->