"; window.print(); document.body.innerHTML = oldPage; location.reload(); $(".waio__nt-overlay").hide(); }); // Netterm end //Basic functions, and autocall when page reload. WholesaleAllInOne.couponCodeForm(); WholesaleAIO.removeAllEvents(waioSelectors.checkout); WholesaleAIO.registerEvent(waioSelectors.checkout,"click", executeCheckout); WholesaleAllInOne.disable_checkout(); WholesaleAllInOne.order_control(); // waioSelectors.checkout // onChange functions $(document).on('change', waioSelectors.qtyInputFieldClass, function() { $("button[name*=update],input[name*=update]").click(); $(waioSelectors.checkout).attr("disabled","disabled"); setTimeout(function(){ WholesaleAllInOne.cartDiscount(); },500); }); $(document).on('click', waioSelectors.qtyPlusMinusClass, function() { setTimeout(function(){ WholesaleAllInOne.cartDiscount(); },1000); }); // END onChange functions }; var waioLoadScript=function(c,b){var a=document.createElement("script");a.type="text/javascript";a.readyState?a.onreadystatechange=function(){if("loaded"==a.readyState||"complete"==a.readyState)a.onreadystatechange=null,b()}:a.onload=function(){b()};a.src=c;document.getElementsByTagName("head")[0].appendChild(a)}; "undefined"===typeof jQuery||1.7>parseFloat(jQuery.fn.jquery)?waioLoadScript("//ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js",function(){WholesaleAIO.init(jQuery.noConflict(!0))}):WholesaleAIO.init(jQuery);