FREE SHIPPING W/ PROMO CODE Details
FREE SHIPPING W/ PROMO CODE Details
0) { var x = window.confirm("Are you sure you want to delete SMGF2571?") if (x) { window.location = "/kc_new/inc/calculate.html?action=remove&file=1510777944217839907&uindex=3"; } else { $("#cart-input-3").val(1) } }*/ }); }); function internationalShipping(carttotalprice) { }; jQuery(document).ready(function() { internationalShipping(); }); function SelectShippingMethod() { var ID = "shiptocountry"; var e = document.getElementById("shiptocountry"); var shipcountry = e.options[e.selectedIndex].value; if ($("#cart-input-1").val().length === 0 ){$("#cart-input-1").blur(function(){$("#cart-input-1").val(1);})} if ($("#cart-input-1").val()==0 && $("#cart-input-1").val().length > 0) { var x=window.confirm("Are you sure you want to delete CS54VPN?") if (x){ window.location = "/kc_new/inc/calculate.html?action=remove&file=1510777944217839907&uindex=1"; }else{$("#cart-input-1").val(1)} } if ($("#cart-input-2").val().length === 0 ){$("#cart-input-2").blur(function(){$("#cart-input-2").val(1);})} if ($("#cart-input-2").val()==0 && $("#cart-input-2").val().length > 0) { var x=window.confirm("Are you sure you want to delete SMGC22M2BL?") if (x){ window.location = "/kc_new/inc/calculate.html?action=remove&file=1510777944217839907&uindex=2"; }else{$("#cart-input-2").val(1)} } if ($("#cart-input-3").val().length === 0 ){$("#cart-input-3").blur(function(){$("#cart-input-3").val(1);})} if ($("#cart-input-3").val()==0 && $("#cart-input-3").val().length > 0) { var x=window.confirm("Are you sure you want to delete SMGF2571?") if (x){ window.location = "/kc_new/inc/calculate.html?action=remove&file=1510777944217839907&uindex=3"; }else{$("#cart-input-3").val(1)} } if(ID) { var getCfg = { func: "json", kart: "1510777944217839907", shiptocountry: shipcountry, method: "shipping" }; getCfg["cart_input_1"] = $("#cart-input-1").val();getCfg["cart_input_2"] = $("#cart-input-2").val();getCfg["cart_input_3"] = $("#cart-input-3").val(); /* , cart_input_1: $("#cart-input-1").val(), cart_input_2: $("#cart-input-2").val(), cart_input_3: $("#cart-input-3").val() */ $("#loadingsymbol").html('Loading'); $.getJSON("/kc_new/inc/calculate.html", getCfg, function(data){ $.each(data.totals, function(i,item){ $('.' + item.tag + '').highlight({color: [191, 224, 238],wait:2000}); $('.' + item.tag + '').html(item.replace); if ( i == 30 ) return false; }); $.each(data.items, function(i,item){ $('#cart-price-' + item.sku + '').highlight({color: [191, 224, 238],wait:2000}); $('#cart-price-' + item.sku + '').html(item.price); $('#cart-stock-' + item.sku + '').html(item.stock); if(item.sku=='CR7012N'){ $('.cart-qty-' + item.sku + '').val(item.qty); } if(item.sku=='MCKASSAILANTGWP'){ $('.cart-qty-' + item.sku + '').val(item.qty); } if(item.sku=='REM19829GWP'){ $('.cart-qty-' + item.sku + '').val(item.qty); } if(item.sku=='BMDELUXEGWP'){ $('.cart-qty-' + item.sku + '').val(item.qty); } if(item.sku=='SP179PORGWP'){ $('.cart-qty-' + item.sku + '').val(item.qty); } if ( i == 30 ) return false; }); $("#loadingsymbol").empty(); }); } else { $(".shippingprice").html('Error');// no results } internationalShipping(); return false; }; function SelectUSShippingMethod(qtyUpdated){ var ID = "shiptozip"; var zipEl = $('[name=shiptozip]'); if ( zipEl.length > 0 ) { var zipVal = zipEl.val(); var getlink = "f"; if ( zipVal !== "" && zipVal.length >= 5 && (!zipVal.match(/\D/) || zipVal.match(/\d\d\d\d\d-\d\d\d\d/)) ) { //var shipzip = $('#shiptozipfield').val(); $.ajaxSetup({cache: false}); //console.log("SelectUSShippingMethod -", data); var totalEl = $(".carttotalprice"); var total = parseFloat("336.93"); //console.log("TOTAL PRE CALC -", total); //var subTotal = 336.93; var subTotal = onload_subtotal; var getRandomIntInclusive = function (min, max) { min = Math.ceil(min); max = Math.floor(max); return Math.floor(Math.random() * (max - min + 1)) + min; }; var oversized = "R"; var mfs = "t"; var shipping_url = "https://shipping.knifecenter.com/rates/allRates?"; shipping_url += "zip=" + zipVal; shipping_url += "&grandtotal=" + subTotal; shipping_url += "&weight=1.15"; shipping_url += "&country=US"; if ( mfs == "t" ) shipping_url += "&size=" + oversized + ":" + getRandomIntInclusive(1, 300); else shipping_url += "&size=" + oversized; shipping_url += "&loc=cart"; //if ( subTotal >= 95 ) shipping_url += "&freeshipping=true"; //console.log("shipping_url", shipping_url) $("#loadingsymbol").html('Loading'); $.get(shipping_url, function (shippingdata) { $("#loadingsymbol").empty(); //console.log("shippingdata", shippingdata); if ( shippingdata ) { if ( shippingdata.results.length > 0 ) { if ( shippingdata.results[0].rate ) { var shippingRate = parseFloat(shippingdata.results[0].rate).toFixed(2); $(".cartshippingprice").text("$" + shippingRate); var newTotal = parseFloat(total) + parseFloat(shippingdata.results[0].rate); /*console.log("shippingdata", { shippingRate: shippingRate, total: parseFloat(total).toFixed(2), newTotal: newTotal })*/ totalEl.text("$" + newTotal.toFixed(2)); } } } }) ; /*carttotalprice = data.totals[0].replace.slice(1); if ( getlink == "t") internationalShipping(carttotalprice); $.each(data.totals, function (i, item) { $('.' + item.tag + '').highlight({color: [191, 224, 238], wait: 2000}); $('.' + item.tag + '').html(item.replace); if (i == 30) return false; }); $.each(data.items, function (i, item) { $('#cart-price-' + item.sku + '').highlight({color: [191, 224, 238], wait: 2000}); $('#cart-price-' + item.sku + '').html(item.price); $('#cart-points-' + item.sku + '').html(parseFloat(item.points).toFixed(0)); $('#cart-stock-' + item.sku + '').html(item.stock); if (item.sku == 'CR7012N') { $('.cart-qty-' + item.sku + '').val(item.qty); } if (item.sku == 'MCKASSAILANTGWP') { $('.cart-qty-' + item.sku + '').val(item.qty); } if (item.sku == 'REM19829GWP') { $('.cart-qty-' + item.sku + '').val(item.qty); } if (item.sku == 'BMDELUXEGWP') { $('.cart-qty-' + item.sku + '').val(item.qty); } if (item.sku == 'REM19829GWP') { $('.cart-qty-' + item.sku + '').val(item.qty); } if (item.sku == 'SP179PORGWP') { $('.cart-qty-' + item.sku + '').val(item.qty); } if (i == 30) return false; if (qtyUpdated) window.location = window.location.href; }); rewardsline();*/ if ( getlink == "t") internationalShipping(); } } return false; } function getLineItemValue(el) { var classes = el.prop("class"); classes = classes.split(" "); for(var i in classes) { //console.log("class", {class: classes[i]}) if ( classes[i].match(/cart-qty-/) ) { var sku = classes[i].split("-")[2]; //console.log("SKU", {sku: sku}); if ( sku == "BRSBB" && el.val() > 3 ) { a H****///?////@//////////*////////////////?///?/////////?///?/@////////////////////////"@//?/:@/@////*@//@/?/.@/@/// @//@//////////////////?/////@/?///?//@//?//////@///"@///@//////@/////*/?/?////@///////////@////////@//////@//@//?////@/?//////////@//?/@/@//@/@////"@/// @//?/?///////?///@/?/?/?/5@///@///8@///1@///0@///////@/@/?///@//////?///?//////////?//@//*///////?/@//@/?///@////////////////////////@//////@/?///@/////@//////?//?/?///?///?////////////?//?//@////@//////////?/?///////////@/?//?////?//////.@/////*/////@//?/////@/?/////?////////@/////////@/@/?/?/@/////////?/?///?/////?/?///?///@////@///?/ @//?//@///?////////@/@/////////@/////@/@/?//@//@/?///?//////@/@///?///?///*@///@/@////@///@///9@///////@/?//?//@/@///?///////?///@//////?///@//////@///?///?///@///@///"@/////@///@////?/@/?/@//@/@///@//////@//?/?///?///?////@////////?///@/?/?/?/?///*///@// /"row-f/only-s/ositio/ /nput-g/ </--> /m acti/store.?/chMobi@/ /n type/leted-@/="fabu/ /-searc/ aria-@/ /ton> ?/input /older=/search/mobile/n-only/ch-box/ @/ss="dr?/"menu"/rror-s/labell?/ /e="pre/="menu9@/har-er@/ href=/ore ch?/ @/> / -->&@/heet" /ef="/k/er/car@/cart-d/ class/ntaine//div> /dropdo/andleb/
{{t?/ng>) / /"col-d/ /-descr/{path_/script3@/ ?/m-pric/ ${/ice}} /> /s="ite/{quant@/ /fix"></

Re/ /{{#if / /t-row"/lass="/g

/ / {{#if/ucts)}?/ class/ /y-cart/ty

@/> / {{/if/iv cla@/ls"> /art-ro/*@/*/?/${{com/tal}}</ &@/ /"text//ttps://r.com//wn/car//scrip@/ type=/src="//der/ca/t-cont/t> -->/text/c/wn-men@/; } / { col/tant; /import?/s: non/ a.mi/ { col?/tant; /import/lor: w?/ </et" ty/="http?/nter.c/to-car/.css">?/to-car/ id="i/abinde?/g" ari/dalLab?/rue" c/ade"> / /a clas@/e-only/e" dat/X @/-knife?/k main/=""> /tion g/ class/roduct//countE@/ /-line / /scount/ class/nt}}/de

/ ?/ /ngeReq/div cl@/ulate-/ E/ield b@/shippi?/ / @/ /rror a@/Zip Co/div> ?/ /"new-l/ipcode/ /ps://s/com/gr/x-smal/n"> /lating/*//"total/class=/otal:</discou/}} /tal-pr/iscoun@/ng dis/ {{els/ass="t/culate@/sub_to/ /iv> /s="new?/v clas/ {?/leForF/tal)}}?/ss="ba/ /r-righ @/ ?/ /ess pr4@/gress-/ @/ &@/ine"> /Eligib@/sub_to/{{#if / $@/fo ali/ext">T/ed ite?/is pur?/lify f/.S Shi/ {/ </n free@/is pur/r FREE/ping!</if}} / {{el/ class?/d an a/hippin?/tal}} ?/ard U./ //div> / /ss="in/ href=&@/t.html/{total/CartVe@/ @/${{com/tal}}<@/> @/}} /ls-box5@/="new-/ewCart/rIslog?/nfo{{/?/c_new// @/serIsl?/t {{el?/rt {{//v> /gedIn)/ss="ne0@/checko/ew/sto@/ml"> / C&@/)
</ /ne">C/a> ?/IsUs)}/"new-l/ </ /ion">Q/ </{inter?//p> //div> /div> /nly --/only -/l four/#unles/nterna@/nless}/wsers /le="ba/ite; b/
</ /slogge"@/ class/ss="ch/margin/f="/kc/t_new.?/ Che?/*// {/br> @/line">/eft: 1"@/s="mod/ing @/ner to/of div?/ /new-li/dden-i/ </c="htt/enter."@/o150.p/ <?/div> ?/ {{#i/ /"new-l/en-ie-/ / /lass="/s?

@/

G/338.67/ / </ @/ src="?/fecent/neybac/ / / / Custo/produc?/ /f (cou/div cl/ </e phon/

({@/temsIn/> @/ce">${@/b_tota@/iv> /ntExis?/ /ne pho/

{{?/shippi/

/ /line">/ss="al/ersZip@/ Ch/
/ /new-li/ing"> /ass="m@/point-/ode in/lculat?/y)

/ ?/ {{#i?/ZipCod/ / /angeRe?/
/field ?/ shipp@/ / ?/="text?/sktop"/Code}}/ >@/ / /ne"> /="erro/id Zip/ /info">/p> /tExist/ </ce">${?/ sub_t/ount}}/}} ?/tal-pr?/otalWi/al shi/ {{/if?/ /line">/="info?/#unles?/eeShip/ 5@/-left-/ <@/-val">@/ {{//
/ /e}} /"info /dition/Differ?/*//{/if}}/ / /iv cla?/nation/
Sub//kc_ne/ class/items}@/biage}/