Hardware

'; $('.add-block-trans').append('
VIEW OUR GALLERY FOR MORE ROOMSET INSPIRATION!
'); $('.block-trans').prepend('
'); $('.block-trans').append('
'); $('.filter-form form').find('input[type=text]').each(function() { if(!$(this).val()) { $(this).attr('placeholder', 'Product Search'); } }); $('#nm-cart-continue-button').attr('href', newUrl); //$('.nm-shop-results-bar.is-search #nm-shop-search-taxonomy-reset').attr('href', newUrl); //$('.nm-shop-results-bar.is-search #nm-shop-search-taxonomy-reset').attr('data-shop-url', newUrl); //$('.archive.tax-product_cat.term-bargain .nm-shop-products-col').prepend(bargainText); if( !$('.product-price-details').length || !$('.woocommerce_custom_brandcolor').length || !$('.woocommerce_custom_dimension').length ) { console.log('Not Exist'); $('.nm-product-summary-inner-col .price').hide(); } //$('form.checkout.woocommerce-checkout').attr('id', 'woocommerce-checkout'); }); jQuery(function($) { $('.smooth-scroll a[href*=#]:not([href=#])').click(function() { if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') || location.hostname == this.hostname) { var target = $(this.hash); target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); if (target.length) { $('html,body').animate({ scrollTop: target.offset().top - 160 }, 1000); return false; } console.log(target); } }); }(jQuery));