Showing all 29 results

'; console.log(brandImg, jQuery('#brand_display').length); if(jQuery('#brand_display').length > 0) { jQuery('#brand_display').html(brandImg); } else { jQuery('#content .category-toolbar').prepend(brandHtml); } jQuery('p.woocommerce-result-count').html(countHtml); jQuery('.lmp_load_more_button.br_lmp_button_settings').remove(); jQuery('ul.products.columns-4.grid').html(response); }); }); jQuery('#product_type_selector').on('change', function(){ jQuery('#brand_display').remove(); jQuery.ajax({ method: "POST", url: "/wp-content/themes/cartfolio/get_filtered_products.php", data: { type: this.value, term: 726, location: '/product-category/nail-gel-polishes/nail-lacquer/nl-nc/' } }).done(function( response ) { let count = (jQuery(response).length + 1)/2; let countHtml = count > 1 ? 'Showing '+ count +' results' : 'Showing '+ count +' result'; jQuery('p.woocommerce-result-count').html(countHtml); jQuery('.lmp_load_more_button.br_lmp_button_settings').remove(); jQuery('ul.products.columns-4.grid').html(response); }); }); jQuery('#product_colour_selector').on('change', function(){ jQuery('#brand_display').remove(); jQuery.ajax({ method: "POST", url: "/wp-content/themes/cartfolio/get_filtered_products.php", data: { colour: this.value, term: 726, location: '/product-category/nail-gel-polishes/nail-lacquer/nl-nc/' } }).done(function( response ) { let count = (jQuery(response).length + 1)/2; let countHtml = count > 1 ? 'Showing '+ count +' results' : 'Showing '+ count +' result'; jQuery('p.woocommerce-result-count').html(countHtml); jQuery('.lmp_load_more_button.br_lmp_button_settings').remove(); jQuery('ul.products.columns-4.grid').html(response); }); }); jQuery('#product_size_selector').on('change', function(){ jQuery('#brand_display').remove(); jQuery.ajax({ method: "POST", url: "/wp-content/themes/cartfolio/get_filtered_products.php", data: { size: this.value, term: 726, location: '/product-category/nail-gel-polishes/nail-lacquer/nl-nc/' } }).done(function( response ) { let count = (jQuery(response).length + 1)/2; let countHtml = count > 1 ? 'Showing '+ count +' results' : 'Showing '+ count +' result'; jQuery('p.woocommerce-result-count').html(countHtml); jQuery('.lmp_load_more_button.br_lmp_button_settings').remove(); jQuery('ul.products.columns-4.grid').html(response); }); }); jQuery('#product_colorfinish_selector').on('change', function(){ jQuery('#brand_display').remove(); jQuery.ajax({ method: "POST", url: "/wp-content/themes/cartfolio/get_filtered_products.php", data: { colorfinish: this.value, term: 726, location: '/product-category/nail-gel-polishes/nail-lacquer/nl-nc/' } }).done(function( response ) { let count = (jQuery(response).length + 1)/2; let countHtml = count > 1 ? 'Showing '+ count +' results' : 'Showing '+ count +' result'; jQuery('p.woocommerce-result-count').html(countHtml); jQuery('.lmp_load_more_button.br_lmp_button_settings').remove(); jQuery('ul.products.columns-4.grid').html(response); }); });