THE DEAL : EMERSON/KERSHAW CQC - $19.95 Details
THE DEAL : EMERSON/KERSHAW CQC - $19.95 Details
Advanced Search Options
= 5) { zip.val(zip.val().substring(0, 5)); if (copyshipping == "same") { calculateShipping({ addr1: addr1.val(), city: city.val(), state: state.val(), zip: zip.val(), country: country.val() }) } } } else { if (country.val() !== "Iglobal") { calculateShipping({ addr1: addr1.val(), city: city.val(), state: state.val(), zip: zip.val(), country: country.val() }) } } } }, 800); var show_hide_iglobal = function(action) { if (action == "show") { $('#iglobalredirect2').html(''); $('#iglobalredirect2a').show(); $('#iglobalexclude').show(); $('#iglobalexclude2').show(); $('#iglobalredirect').html(''); $('#iglobalredirecta').show(); $("#delaymsg2").html(''); } else if (action == "hide") { $('#iglobalredirect2').html('Click the button below to continue your checkout with our partner, iGlobal:'); $('#iglobalredirect2a').hide(); $('#iglobalexclude').hide(); $('#iglobalexclude2').hide(); $('#zcountry').val(inverseCountryCodes[$('#country option:selected').text().toUpperCase().trim()]); $('#iglobalredirect').html('
'); $('#iglobalredirect').promise().done(function() { $('#igsubmitbutton3').bind('click', function() { $("#step1form").attr('action', "/kc_new/iglobal_submit3.html").submit(); }); }); $('#iglobalredirecta').hide(); $("#delaymsg2").html('
Please use the checkout button below to continue your checkout with our partner, iGlobal.
'); $('#igsubmitbutton1').click(function() { $("#igsubmitnow").submit(); }); } }; // ----------------- /* $("#shiptostatefield, #shiptocountry").change(checkShippingZipLength); $("#shiptozipfield").on("keyup", checkShippingZipLength); // ----------------- $("#billtostatefield, #country").change(checkBillingZipLength); $("#billtozipfield").on("keyup", checkBillingZipLength); */ $("#shiptostatefield, #shiptocountry").change(checkShippingZipLength); $("#shiptozipfield, #shiptocityfield").on("keyup", checkShippingZipLength); // ----------------- $("#billtostatefield, #country").change(checkBillingZipLength); $("#billtozipfield, #billtocityfield").on("keyup", checkBillingZipLength); // ----------------- // some browsers don't handle autoselect well, so on blur also $("[data-form-billing]").find("input").on("keyup blur", function() { //console.log("billing change keyup") var copyshipping = $("[name=copyshipping]:checked").val(); if (copyshipping == "same") { copyBillingToShipping(); } }); $("[name=copyshipping]").change(function(e) { shippingFormView($(this).val()); copyBillingToShipping(); }); // iglobal check country selected to show/hide elements $("#country, #shiptocountry").change(function() { var copyshipping = $("[name=copyshipping]:checked").val(); if (copyshipping == "same" || copyshipping == "") { if ($("#country").val() == "Iglobal") show_hide_iglobal("hide"); else show_hide_iglobal("show"); } else if (copyshipping == "different") { if ($("#shiptocountry").val() == "Iglobal") show_hide_iglobal("hide"); else show_hide_iglobal("show"); } }); /** * Submit form action handler */ $("#btnSubmit").on("click", function(e) { e.preventDefault; if (!_CALCULATE_SHIPPING_RUNNING) { // diacritics check ======================== var fields = [ "billtofirstfield", "billtolastfield", "billtocompanyfield", "billtoaddressfield", "billtoaddress2field", "billtocityfield", "billtozipfield", "phonefield", "emailfield", "shiptofirstfield", "shiptolastfield", "shiptocompanyfield", "shiptoaddressfield", "shiptoaddress2field", "shiptocityfield", "shiptozipfield" ]; // loop through fields for (var i = 0, o = fields.length; i < o; i++) { var field = $("#" + fields[i]); if (field) { // set up an event listener on keyup field.on("keyup", function(e) { $(this).val(removeDiacritics($(this).val())); }); } } // ========================================= $("#txt_formErrorMessage").hide(); SelectShippingMethod(); //if ( $("#billtostatefield").val() !== "" || $("#shiptostatefield").val() == "" ) formHasErrors = true; if (!formHasErrors) return true; else { $("#txt_formErrorMessage").show(); return false; } } else return false; }); $("[name=bankName]").change(function() { var val = $(this).val(); //console.log("bankName change", {bankName: val}); if (val == "creditcard") $(".creditcardtable").show(); else $(".creditcardtable").hide(); }) // initializations -------------------------------------------- shippingFormView(initialCopyShippingVal); checkBillingZipLength(); // -- initializations ----------------------------------------- }) function SelectShippingMethod() { var shippingContainer = $("[data-form-shipping]"), billingContainer = $("[data-form-billing]"); shippingContainer.find("span.error").remove(); billingContainer.find("span.error").remove(); var copyshipping = $("[name=copyshipping]:checked").val(); var countryEl = $("#country"), countryVal = countryEl.val(), ship_countryEl = $("#shiptocountry"), ship_countryVal = ship_countryEl.val(), stateEl = $("#billtostatefield"), stateVal = stateEl.val(), ship_stateEl = $("#shiptostatefield"), ship_stateVal = ship_stateEl.val(), zipEl = $("#billtozipfield"), zipVal = zipEl.val(), ship_zipEl = $("#shiptozipfield"), ship_zipVal = ship_zipEl.val(), stateCtlGrp = stateEl.closest(".control-group"), zipCtlGrp = zipEl.closest(".control-group"), ship_stateCtlGrp = ship_stateEl.closest(".control-group"), ship_zipCtlGrp = ship_zipEl.closest(".control-group"); var txt_billToStateErr = $("#txt_billToStateErr"), txt_billToZipErr = $("#txt_billToZipErr"); var txt_shipToStateErr = $("#txt_shipToStateErr"), txt_shipToZipErr = $("#txt_shipToZipErr"); formHasErrors = false; //console.log("SelectShippingMethod", {copyshipping: copyshipping, ship_countryVal: ship_countryVal, ship_stateVal: ship_stateVal}); //======================================================= var bill_fields = [ "billtofirstfield", "billtolastfield", "billtoaddressfield", "billtocityfield", "billtozipfield" ]; var ship_fields = [ "shiptofirstfield", "shiptolastfield", "shiptoaddressfield", "shiptocityfield", "shiptozipfield" ]; var req_fields = bill_fields; if (copyshipping == "different") Array.prototype.push.apply(bill_fields, ship_fields); //console.log("req_fields", {req_fields: req_fields}) var showError = function(el, msgTxt) { if (!msgTxt) msgTxt = "Required"; var msg = $(""); msg.addClass("error block"); msg.text(msgTxt); el.after(msg); formHasErrors = true; }; _.each(req_fields, function(item) { var el = $("#" + item); if (el.val() == "") showError(el); }); if ((countryVal == "United States" || countryVal == "Canada") && stateVal == "") { showError(stateEl, "Required for US or Canada"); formHasErrors = true; } if (copyshipping == "different") { if ((ship_countryVal == "United States" || ship_countryVal == "Canada") && ship_stateVal == "") { showError(ship_stateEl, "Required for US or Canada"); formHasErrors = true; } } if (formHasErrors) { $("html, body").animate({scrollTop: 0}, "fast"); } }

Comments/Suggestions on our new checkout process? Let us Know.
Copyright © 1995-2017 by Howard Korn and KnifeCenter Inc. All rights reserved.

Order securely online or call us toll free at 800.338.6799
gin-left:5px; qxT+xT+dth : 980px) { #free-shipping-banner { display:none !important; } }
Advanced Search Options
More Options:
Blade Length: