FREE SHIPPING WITH PROMO CODE
FREE SHIPPING WITH PROMO CODE
Advanced Search Options
0) { var x=window.confirm("Are you sure you want to delete MWKCUTLECFTT?") if (x){ window.location = "/kc_new/inc/calculate.html?action=remove&file=14807080485122719&uindex=19"; } else{ $("#cart-input-19").val(1) } } //BRSBB $("#cart-input-20").blur(function(){ if ($("#cart-input-20").val().length === 0 ){$("#cart-input-20").val(1);} }); if ($("#cart-input-20").val()==0 && $("#cart-input-20").val().length > 0) { var x=window.confirm("Are you sure you want to delete SRCSLIMAMG?") if (x){ window.location = "/kc_new/inc/calculate.html?action=remove&file=14807080485122719&uindex=20"; } else{ $("#cart-input-20").val(1) } } //BRSBB $("#cart-input-21").blur(function(){ if ($("#cart-input-21").val().length === 0 ){$("#cart-input-21").val(1);} }); if ($("#cart-input-21").val()==0 && $("#cart-input-21").val().length > 0) { var x=window.confirm("Are you sure you want to delete SCDMTF3ODS30V?") if (x){ window.location = "/kc_new/inc/calculate.html?action=remove&file=14807080485122719&uindex=21"; } else{ $("#cart-input-21").val(1) } } //BRSBB $("#cart-input-22").blur(function(){ if ($("#cart-input-22").val().length === 0 ){$("#cart-input-22").val(1);} }); if ($("#cart-input-22").val()==0 && $("#cart-input-22").val().length > 0) { var x=window.confirm("Are you sure you want to delete AVHM35CF?") if (x){ window.location = "/kc_new/inc/calculate.html?action=remove&file=14807080485122719&uindex=22"; } else{ $("#cart-input-22").val(1) } } //BRSBB $("#cart-input-23").blur(function(){ if ($("#cart-input-23").val().length === 0 ){$("#cart-input-23").val(1);} }); if ($("#cart-input-23").val()==0 && $("#cart-input-23").val().length > 0) { var x=window.confirm("Are you sure you want to delete AVHM44CF?") if (x){ window.location = "/kc_new/inc/calculate.html?action=remove&file=14807080485122719&uindex=23"; } else{ $("#cart-input-23").val(1) } } //BRSBB $("#cart-input-24").blur(function(){ if ($("#cart-input-24").val().length === 0 ){$("#cart-input-24").val(1);} }); if ($("#cart-input-24").val()==0 && $("#cart-input-24").val().length > 0) { var x=window.confirm("Are you sure you want to delete MLCHADES?") if (x){ window.location = "/kc_new/inc/calculate.html?action=remove&file=14807080485122719&uindex=24"; } else{ $("#cart-input-24").val(1) } } //BRSBB $("#cart-input-25").blur(function(){ if ($("#cart-input-25").val().length === 0 ){$("#cart-input-25").val(1);} }); if ($("#cart-input-25").val()==0 && $("#cart-input-25").val().length > 0) { var x=window.confirm("Are you sure you want to delete ADKAD15BKC?") if (x){ window.location = "/kc_new/inc/calculate.html?action=remove&file=14807080485122719&uindex=25"; } else{ $("#cart-input-25").val(1) } } //BRSBB $("#cart-input-26").blur(function(){ if ($("#cart-input-26").val().length === 0 ){$("#cart-input-26").val(1);} }); if ($("#cart-input-26").val()==0 && $("#cart-input-26").val().length > 0) { var x=window.confirm("Are you sure you want to delete ADKAD15BK?") if (x){ window.location = "/kc_new/inc/calculate.html?action=remove&file=14807080485122719&uindex=26"; } else{ $("#cart-input-26").val(1) } } //BRSBB $("#cart-input-27").blur(function(){ if ($("#cart-input-27").val().length === 0 ){$("#cart-input-27").val(1);} }); if ($("#cart-input-27").val()==0 && $("#cart-input-27").val().length > 0) { var x=window.confirm("Are you sure you want to delete AVHM38G10?") if (x){ window.location = "/kc_new/inc/calculate.html?action=remove&file=14807080485122719&uindex=27"; } else{ $("#cart-input-27").val(1) } } //BRSBB $("#cart-input-28").blur(function(){ if ($("#cart-input-28").val().length === 0 ){$("#cart-input-28").val(1);} }); if ($("#cart-input-28").val()==0 && $("#cart-input-28").val().length > 0) { var x=window.confirm("Are you sure you want to delete MWKDREDDGRNPD?") if (x){ window.location = "/kc_new/inc/calculate.html?action=remove&file=14807080485122719&uindex=28"; } else{ $("#cart-input-28").val(1) } } //BRSBB $("#cart-input-29").blur(function(){ if ($("#cart-input-29").val().length === 0 ){$("#cart-input-29").val(1);} }); if ($("#cart-input-29").val()==0 && $("#cart-input-29").val().length > 0) { var x=window.confirm("Are you sure you want to delete RHKK30230SSP00BLKWF?") if (x){ window.location = "/kc_new/inc/calculate.html?action=remove&file=14807080485122719&uindex=29"; } else{ $("#cart-input-29").val(1) } } //BRSBB $("#cart-input-30").blur(function(){ if ($("#cart-input-30").val().length === 0 ){$("#cart-input-30").val(1);} }); if ($("#cart-input-30").val()==0 && $("#cart-input-30").val().length > 0) { var x=window.confirm("Are you sure you want to delete TDSCKWKNBSW?") if (x){ window.location = "/kc_new/inc/calculate.html?action=remove&file=14807080485122719&uindex=30"; } else{ $("#cart-input-30").val(1) } } //BRSBB $("#cart-input-31").blur(function(){ if ($("#cart-input-31").val().length === 0 ){$("#cart-input-31").val(1);} }); if ($("#cart-input-31").val()==0 && $("#cart-input-31").val().length > 0) { var x=window.confirm("Are you sure you want to delete TDSCFM222?") if (x){ window.location = "/kc_new/inc/calculate.html?action=remove&file=14807080485122719&uindex=31"; } else{ $("#cart-input-31").val(1) } } //BRSBB $("#cart-input-32").blur(function(){ if ($("#cart-input-32").val().length === 0 ){$("#cart-input-32").val(1);} }); if ($("#cart-input-32").val()==0 && $("#cart-input-32").val().length > 0) { var x=window.confirm("Are you sure you want to delete TDG60CFLS?") if (x){ window.location = "/kc_new/inc/calculate.html?action=remove&file=14807080485122719&uindex=32"; } else{ $("#cart-input-32").val(1) } } //BRSBB $("#cart-input-33").blur(function(){ if ($("#cart-input-33").val().length === 0 ){$("#cart-input-33").val(1);} }); if ($("#cart-input-33").val()==0 && $("#cart-input-33").val().length > 0) { var x=window.confirm("Are you sure you want to delete ADVRONINTTLSCF?") if (x){ window.location = "/kc_new/inc/calculate.html?action=remove&file=14807080485122719&uindex=33"; } else{ $("#cart-input-33").val(1) } } //BRSBB $("#cart-input-34").blur(function(){ if ($("#cart-input-34").val().length === 0 ){$("#cart-input-34").val(1);} }); if ($("#cart-input-34").val()==0 && $("#cart-input-34").val().length > 0) { var x=window.confirm("Are you sure you want to delete ADVHUMBRZTUM?") if (x){ window.location = "/kc_new/inc/calculate.html?action=remove&file=14807080485122719&uindex=34"; } else{ $("#cart-input-34").val(1) } } //BRSBB $("#cart-input-35").blur(function(){ if ($("#cart-input-35").val().length === 0 ){$("#cart-input-35").val(1);} }); if ($("#cart-input-35").val()==0 && $("#cart-input-35").val().length > 0) { var x=window.confirm("Are you sure you want to delete ADVMEGABUTBW?") if (x){ window.location = "/kc_new/inc/calculate.html?action=remove&file=14807080485122719&uindex=35"; } else{ $("#cart-input-35").val(1) } } //BRSBB $("#cart-input-36").blur(function(){ if ($("#cart-input-36").val().length === 0 ){$("#cart-input-36").val(1);} }); if ($("#cart-input-36").val()==0 && $("#cart-input-36").val().length > 0) { var x=window.confirm("Are you sure you want to delete ADVCBBZHW?") if (x){ window.location = "/kc_new/inc/calculate.html?action=remove&file=14807080485122719&uindex=36"; } else{ $("#cart-input-36").val(1) } } if(ID) { $("#loadingsymbol").html('Loading'); $.ajaxSetup({ cache: false }); $.getJSON("/kc_new/inc/calculate.html", { func: "json", kart: "14807080485122719", method: "shipping", shiptozip: shipzip, shiptocountry: "United States" , cart_input_1: getLineItemValue($("#cart-input-1")) , cart_input_2: getLineItemValue($("#cart-input-2")) , cart_input_3: getLineItemValue($("#cart-input-3")) , cart_input_4: getLineItemValue($("#cart-input-4")) , cart_input_5: getLineItemValue($("#cart-input-5")) , cart_input_6: getLineItemValue($("#cart-input-6")) , cart_input_7: getLineItemValue($("#cart-input-7")) , cart_input_8: getLineItemValue($("#cart-input-8")) , cart_input_9: getLineItemValue($("#cart-input-9")) , cart_input_10: getLineItemValue($("#cart-input-10")) , cart_input_11: getLineItemValue($("#cart-input-11")) , cart_input_12: getLineItemValue($("#cart-input-12")) , cart_input_13: getLineItemValue($("#cart-input-13")) , cart_input_14: getLineItemValue($("#cart-input-14")) , cart_input_15: getLineItemValue($("#cart-input-15")) , cart_input_16: getLineItemValue($("#cart-input-16")) , cart_input_17: getLineItemValue($("#cart-input-17")) , cart_input_18: getLineItemValue($("#cart-input-18")) , cart_input_19: getLineItemValue($("#cart-input-19")) , cart_input_20: getLineItemValue($("#cart-input-20")) , cart_input_21: getLineItemValue($("#cart-input-21")) , cart_input_22: getLineItemValue($("#cart-input-22")) , cart_input_23: getLineItemValue($("#cart-input-23")) , cart_input_24: getLineItemValue($("#cart-input-24")) , cart_input_25: getLineItemValue($("#cart-input-25")) , cart_input_26: getLineItemValue($("#cart-input-26")) , cart_input_27: getLineItemValue($("#cart-input-27")) , cart_input_28: getLineItemValue($("#cart-input-28")) , cart_input_29: getLineItemValue($("#cart-input-29")) , cart_input_30: getLineItemValue($("#cart-input-30")) , cart_input_31: getLineItemValue($("#cart-input-31")) , cart_input_32: getLineItemValue($("#cart-input-32")) , cart_input_33: getLineItemValue($("#cart-input-33")) , cart_input_34: getLineItemValue($("#cart-input-34")) , cart_input_35: getLineItemValue($("#cart-input-35")) , cart_input_36: getLineItemValue($("#cart-input-36")) }, function(data){ carttotalprice = data.totals[0].replace.slice(1); 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; }); rewardsline(); $("#loadingsymbol").empty(); } ); } 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 ) { el.val(3); return 3; } if ( sku == "BRSAB30" && el.val() > 5 ) { el.val(5); return 5; } if ( ( sku == "BRSPABPUR" || sku == "BRSPABBLU" || sku == "BRSPABBRZ" ) && el.val() > 2 ) { el.val(2); return 2; } else return el.val(); } } } function SelectAll(id) { document.getElementById(id).focus(); document.getElementById(id).select(); } function rewardsline(){ var ctotalpoints=0; $("span[id^=cart-points]").each(function() { ctotalpoints = ctotalpoints + Number($(this).text()); }); $("#linetotalpoints").html(""+parseInt(ctotalpoints).toFixed(0)+" points"); jQuery.get( "/kc_new/cartpoints.html?accountid=&totalpoints="+ctotalpoints+"&z=z&logged=f",function( data ) { //$("#mytotalcartpoints").html(data); $("#mysidebarpoints").html(data); }); } div>