Harrells | Q4 Plus Turf Herbicide 2.5 gal (NY Spot treatment) (2024)

Available Sizes

"); for (var i = 0; i < response.length; i++) { $("#linkedItems").append( "

" + //"

" + "

" + //the below make the item a link to the different sized item - asked to be removed for now //"

" + response[i].ItemNmbr + "

" + "

" + response[i].ItemNmbr + "

" + "

" + response[i].SellUofM + "

" + "

" + "

" ) ////get the photo - or the default if it does not exist //var itemNmbrForPhoto = response[i].ItemNmbr; //$.get("../images/product-photos/" + response[i].ItemNmbr + ".jpg" + "?" + Math.random()) // .done(function () { // //image exists. // document.getElementById("linkedItemImage").src = "../images/product-photos/" + itemNmbrForPhoto + ".jpg" + "?" + Math.random(); // }).fail(function () { // //Image doesn't exist // document.getElementById("linkedItemImage").src = "../images/misc/harrellsh.png"; // }) } } }); }; function GetRelatedItems(itemNmbr) { $("#relatedItemsContainer").show(); $("#RelatedItemsSliderContainerBody").empty(); var doLoop = true; //get the related items in question for this item, create the slides for the carousel $.ajax({ type: "Post", url: "../api/ProductDetail", data: JSON.stringify({ RequestType: "RelatedItems", ItemNmbr: itemNmbr, LocnCode: sessionStorage.OfficeLocnCode }), contentType: "application/json; charset=utf-8", dataType: "json", success: function (response) { var itemsToShow = false; var emplContent = "

"; if (response.length < 4) { doLoop = false; } // onerror='this.src='../images/employee-photos/178.png';' var imagePathPrefix = ""; if (!response) { return; } if (!$.isArray(response) && response.lengh == 0) { return; } let firstRecord = response[0]; let relatedItems = Object.keys(firstRecord).filter(function (e) { return e.startsWith("RelatedItem") }) .map(function (e) { return firstRecord[e] }) .filter(function (e) { return e }) relatedItems.forEach(function (relatedItem) { itemsToShow = true; let tempItem = relatedItem.substr(0, relatedItem.indexOf('~') - 1); let tempWebName = relatedItem.substr(relatedItem.indexOf('~') + 2); imagePathPrefix = "../images/Product-Photos/" + tempItem; // shop-item-thumb dimensions to make the images small style='max-width:180px !important;max-height:150px !important' emplContent += `

${tempWebName}

`; }) // image old size "max-width:180px !important;max-height:150px !important"; //if (response.length > 0) { // if (response[0].RelatedItem1 != "") { // itemsToShow = true; // var itemNmbr = response[0].RelatedItem1.substr(0, response[0].RelatedItem1.indexOf('~') - 1); // var webName = response[0].RelatedItem1.substr(response[0].RelatedItem1.indexOf('~') + 2); // imagePathPrefix = "../images/Product-Photos/" + itemNmbr; // emplContent += "

" + // "

" + // "

" + webName + "

"; // } // if (response[0].RelatedItem2 != "") { // itemsToShow = true; // var itemNmbr = response[0].RelatedItem2.substr(0, response[0].RelatedItem2.indexOf('~') - 1); // var webName = response[0].RelatedItem2.substr(response[0].RelatedItem2.indexOf('~') + 2); // imagePathPrefix = "../images/Product-Photos/" + itemNmbr; // emplContent += "

" + // "

" + // "

" + webName + "

" // } // if (response[0].RelatedItem3 != "") { // itemsToShow = true; // var itemNmbr = response[0].RelatedItem3.substr(0, response[0].RelatedItem3.indexOf('~') - 1); // var webName = response[0].RelatedItem3.substr(response[0].RelatedItem3.indexOf('~') + 2); // imagePathPrefix = "../images/Product-Photos/" + itemNmbr; // emplContent += "

" + // "

" + // "

" + webName + "

" // } // if (response[0].RelatedItem4 != "") { // itemsToShow = true; // var itemNmbr = response[0].RelatedItem4.substr(0, response[0].RelatedItem4.indexOf('~') - 1); // var webName = response[0].RelatedItem4.substr(response[0].RelatedItem4.indexOf('~') + 2); // imagePathPrefix = "../images/Product-Photos/" + itemNmbr; // emplContent += "

" + // "

" + // "

" + webName + "

" // } //} $("#RelatedItemsSliderContainerBody").append(emplContent); $("#RelatedItemsSliderContainerBody").append("

"); //reset the control so new data shows $("#relatedItemsCarousel").owlCarousel({ margin: 10, autoplay: true, autoplayTimeout: 2500, autoplayHoverPause: true, responsive: { 0: { items: 1, nav: false, loop: true }, 600: { items: 2, nav: false, loop: true }, 900: { items: 4, nav: false, loop: doLoop } } }); if (itemsToShow) $("#relatedItemsContainer").css('display', 'flex'); else $("#relatedItemsContainer").css('display', 'none'); } }); } function CheckForMetalsButtonDisplay(itemNmbr){ $.ajax({ type: "Post", url: "../api/ProductDetail", data: JSON.stringify({ RequestType: "CheckForMetalsButtonDisplay", ItemNmbr: itemNmbr}), contentType: "application/json; charset=utf-8", dataType: "json", success: function (response) { if (response[0].MetalInOnBase == true) { $("#btnMetals").show() } else { $("#btnMetals").hide() } } }); } function tryToSetImage(imagePathPrefix, elem) { var extension = $(elem).attr("extension"); if (!extension) { nextTrialPath = imagePathPrefix + "." + acceptableExtensions[0] + '?' + Math.random(); $(elem).attr({ "extension": acceptableExtensions[0], "nextextension": 1 });//First index in acceptableExtensions is jpg } else { var currentExtension = acceptableExtensions[Number($(elem).attr("nextextension"))]; if (!currentExtension) { nextTrialPath = $(elem).attr("defaultimage") ? $(elem).attr("defaultimage") : "../images/employee-photos/178.png"; } else { var nextExtension = Number($(elem).attr("nextextension")) + 1; nextTrialPath = imagePathPrefix + "." + currentExtension + '?' + Math.random(); $(elem).attr({ "extension": currentExtension, "nextextension": nextExtension }); } } $(elem).prop("src", nextTrialPath); } function GetProductReviews(itemNmbr) { var totalStarsAllReviews = 0; $("#productsCommentsContainer").empty(); $.ajax({ type: "Post", url: "../api/ProductDetail", data: JSON.stringify({ RequestType: "GetStarRatingsForItemNmbr", ItemNmbr: itemNmbr }), contentType: "application/json; charset=utf-8", dataType: "json", success: function (response) { totalRatingCountAllReviews = response.length; $("#reviewsCounter").text("Reviews (" + totalRatingCountAllReviews + ")") for (var i = 0; i < totalRatingCountAllReviews; i++) { var starNumber = parseInt(response[i].OffsetNumber); totalStarsAllReviews += starNumber; $("#productsCommentsContainer").append("

" + "

" + "

" + "

" + "

" + "

" + response[i].Name + "

" + "

" + formatDateTime(response[i].PostDate) + "

" + "

" + "

" + response[i].Comment + "

" + "

" ) //highlight the stars that match the star rating given for (var j = 1; j < 6; j++) { if (j <= starNumber) $('#star' + j + "-" + response[i].Id).addClass('checked') } } //update the average starts rating for this product by the item name in the main section avgRatingAllReviews = Math.round(totalStarsAllReviews / totalRatingCountAllReviews) var starString = "" for (var k = 1; k < 6; k++) { if (k <= avgRatingAllReviews) starString += "" else starString += "" } $("#totalStarRatingForProduct").html(starString); $("#totalStarRatingForProductDesc").text("(" + totalRatingCountAllReviews + " customer reviews)") } }) } function GoToReviewSection() { //scroll down to reviews section window.location = '#reviewsCounter' //open the tab with the reviews $("#reviewsCounter").trigger('click') } function SaveProductReview() { //validation var continueWithSave = true; var email = $("#productReviewRatingEmail").val(); var name = $("#productReviewRatingName").val(); var comment = $("#productReviewRatingComment").val(); var rating = document.getElementById('productReviewRatingDD').value; if (name == "") { continueWithSave = false $("#errorAlertSubject").text("Failed!"); $("#errorAlertContent").text("Please supply your name to continue"); $("#errorAlert").slideDown() setTimeout(function () { //hide the message after two and a half seconds $("#errorAlert").slideUp() }, 2500) } if (continueWithSave) { if (email == "") { continueWithSave = false; $("#errorAlertSubject").text("Failed!"); $("#errorAlertContent").text("Please supply your email to continue"); $("#errorAlert").slideDown() setTimeout(function () { //hide the message after two and a half seconds $("#errorAlert").slideUp() }, 2500) } if (continueWithSave) { if (rating == 'Your Rating') { continueWithSave = false; $("#errorAlertSubject").text("Failed!"); $("#errorAlertContent").text("Please supply a rating of 1 to 5"); $("#errorAlert").slideDown() setTimeout(function () { //hide the message after two and a half seconds $("#errorAlert").slideUp() }, 2500) } if (continueWithSave) { if (comment == "") { continueWithSave = false; $("#errorAlertSubject").text("Failed!"); $("#errorAlertContent").text("Please supply your comment to continue"); $("#errorAlert").slideDown() setTimeout(function () { //hide the message after two and a half seconds $("#errorAlert").slideUp() }, 2500) } if (continueWithSave) { $.ajax({ type: "Post", url: "../api/ProductDetail", data: JSON.stringify({ RequestType: "SaveProductReview", ItemNmbr: sessionStorage.itemNmbr, Comment: comment, Name: name, CustomerNumber: email, OffsetNumber: rating }), contentType: "application/json; charset=utf-8", dataType: "json", success: function (response) { $("#errorAlertSubject").text("Success!"); $("#errorAlertContent").text("Thank you for your feedback"); $("#errorAlert").slideDown() setTimeout(function () { //hide the message after two and a half seconds $("#errorAlert").slideUp() }, 2500) } }) } } } } } function AddItemToCart() { ShoppingCart = JSON.parse(sessionStorage.getItem("ShoppingCart") || "[]"); var inCart = false; for (var i = 0; i < ShoppingCart.length; i++) { if (ShoppingCart[i].itemNmbr == $(".itemNmbr").text()) { inCart = true; } } if (inCart) { $("#genericPopupMessage").html("Item In Cart! Your item (" + $(".webName")[0].innerText + ") is already in your cart."); $("#genericPopupMessage").slideDown() setTimeout(function () { //hide the message after two and a half seconds $("#genericPopupMessage").slideUp() }, 4000) } else { //get the uom from the uom button that is active uofToUse = "" for (var i = 0; i < $(".uomBtn").length; i++) { if ($(".uomBtn")[i].classList.value.indexOf('btn-dark') > -1) { uofToUse = $(".uomBtn")[i].innerHTML.toString().trim(); } } if (sessionStorage.EOPMode == "true") { //adjust the qty avail for this item since the depleted some by adding some to the cart QtyByItemArray2 = JSON.parse(sessionStorage.QtyByItem); var QtyByItemArrayNew = []; for (var i = 0; i < QtyByItemArray2.length; i++) { if (sessionStorage.itemNmbr == QtyByItemArray2[i].itemNmbr) { QtyByItemArrayNew.push({ itemNmbr: QtyByItemArray2[i].itemNmbr, qtyAvail: parseFloat(QtyByItemArray2[i].qtyAvail) - parseFloat($("#cartQuantityOnDetailPage").val()) }) //set the counter on the screen to the currect number $("#maxQtyAvailableToOrder").text(parseFloat($("#maxQtyAvailableToOrder").text()) - parseFloat($("#cartQuantityOnDetailPage").val())); } else { QtyByItemArrayNew.push({ itemNmbr: QtyByItemArray2[i].itemNmbr, qtyAvail: QtyByItemArray2[i].qtyAvail }) } } //update the ShoppingCart array object in sessionstorage sessionStorage.setItem("QtyByItem", JSON.stringify(QtyByItemArrayNew)) } //get the existing ShoppingCart array object in sessionstorage ShoppingCart = JSON.parse(sessionStorage.getItem("ShoppingCart") || "[]"); var lineId = parseInt(ShoppingCart.length) + 1; var zzItemToUse = (sessionStorage.EOPMode == "true") ? sessionStorage.zzItemNmbr : ''; //add this one to it if ($(".shop-single-item-price").text() == "") { $(".shop-single-item-price").text("0.00"); } ShoppingCart.push({ lineId: lineId, itemNmbr: $(".itemNmbr").text(), qty: $("#cartQuantityOnDetailPage").val(), priceEach: $(".shop-single-item-price").text(), webName: $(".webName")[0].innerText + " (" + uofToUse + ") ", vendor: $(".shop-single-item-vendor").text(), agency: $(".shop-single-item-agency").text(), boClass: $("#boClass").text(), cost: $("#cost").text(), uom: uofToUse, zzItemNmbr: zzItemToUse }) //update the ShoppingCart array object in sessionstorage sessionStorage.setItem("ShoppingCart", JSON.stringify(ShoppingCart)) //add/update order draft AddUpdateOrderDraft('dnc', 'dnc', 'dnc', 'draft'); $("#cartCounter").text(ShoppingCart.length) //let customer know the item was added to cart $("#genericPopupMessage").html("Success! Your item (" + $(".webName")[0].innerText + ") has been added to your cart."); $("#genericPopupMessage").slideDown() setTimeout(function () { //hide the message after two and a half seconds $("#genericPopupMessage").slideUp() }, 4000) } } function GoToPartnerProducts() { if (sessionStorage.EOPMode == "true") { window.location = location.origin + "/Products/ProductEOP?partner=" + sessionStorage.MyHarSelectedCustomer; } else { if (sessionStorage.PartnerSalesPersonId != undefined && sessionStorage.PartnerSalesPersonId != 0) window.location = location.origin + "/Products/ProductPartner?partner=" + sessionStorage.MyHarSelectedCustomer + "~" + sessionStorage.PartnerSalesPersonId; else window.location = location.origin + "/Products/ProductPartner?partner=" + sessionStorage.MyHarSelectedCustomer; } } function GoToItem(itemToGoTo) { sessionStorage.itemNmbr = itemToGoTo; window.location = location.origin + "/products/productdetail?sku=" + itemToGoTo; } function UOMChange(newItemInfo) { itemNumberOfSelectedUOM = newItemInfo.substr(0, newItemInfo.indexOf("~")); sellCost = newItemInfo.substr(newItemInfo.indexOf("~") + 1) //reset all buttons to not selected $(".uomBtn").removeClass('btn-dark').addClass('btn-outline-dark'); //select the button of the new item $("[id='" + itemNumberOfSelectedUOM + "']").removeClass('btn-outline-dark').addClass('btn-dark') //update session storage with the newly selected item sessionStorage.itemNmbr = itemNumberOfSelectedUOM; //change the description of the labels that matter $(".itemNmbr").text(itemNumberOfSelectedUOM); $(".shop-single-item-price").text(sellCost) //sessionStorage.itemNmbr = itemToGoTo; //window.location = location.origin + "/products/productdetail?sku=" + itemToGoTo; } function SubtractFromQuantity() { if (parseInt($("#cartQuantityOnDetailPage").val()) > 1) $("#cartQuantityOnDetailPage").val(parseInt($("#cartQuantityOnDetailPage").val()) - 1); } function AddToQuantity() { //if ($(".maxQtyAvailableToOrderContainer").css('display') != "none") { if (sessionStorage.EOPMode == "true") { if (parseFloat($("#maxQtyAvailableToOrder").text()) <= parseFloat($("#cartQuantityOnDetailPage").val())) { return false } else { $("#cartQuantityOnDetailPage").val(parseInt($("#cartQuantityOnDetailPage").val()) + 1); } } else { $("#cartQuantityOnDetailPage").val(parseInt($("#cartQuantityOnDetailPage").val()) + 1); } } $("#cartQuantityOnDetailPage").on('blur', function () { if (parseFloat($("#cartQuantityOnDetailPage").val()) < 1) { $("#cartQuantityOnDetailPage").val(1); $("#genericPopupMessage").html("Invalid Quantity! The minimum quanty allowed is 1. Your entry has been adjusted."); $("#genericPopupMessage").slideDown() setTimeout(function () { //hide the message after two and a half seconds $("#genericPopupMessage").slideUp() }, 4000) } else { //if the quantity restriction is in effect and the user keys in a number greater than the allowed max reset the input to the max //if ($(".maxQtyAvailableToOrderContainer").css('display') != "none") { if (sessionStorage.EOPMode == "true") { if (parseFloat($("#cartQuantityOnDetailPage").val()) > parseFloat($("#maxQtyAvailableToOrder").text())) { $("#cartQuantityOnDetailPage").val($("#maxQtyAvailableToOrder").text()) } } } } ) $("#cartQuantityOnDetailPage").on('keypress', function (e) { if (e.which == 43 || e.which == 45) { return false; } }) function ToggleMyHarrellsMenu() { if ($('#expandedMenu').attr('style') == undefined || $('#expandedMenu').attr('style').substr(0, 12) == 'display:none') { $('#expandedMenu').attr('style', 'display:block !important'); $("#productDetailMainWrapper").css('margin-top', $("#navSection").height() - 80) } else { $('#expandedMenu').attr('style', 'display:none'); $("#productDetailMainWrapper").css('margin-top', $("#navSection").height() - 80) } } function DisplayFileChoice(url) { //alert($(window).width()) var iOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream; //alert("is Apple product: " + iOS) if ($(window).width() < 500 && iOS == true) { //does not open a seperate window window.location.href = url; } else { var d = new Date(); var n = d.getTime(); var windowName = "pdfWindow" + n; //chrome browser issue with window.open requires window be open and then location set in 2 actions or it does not work - you cant just do window.open and pass in url in one shot var myWindow = window.open("", windowName); //unique window names for multiple windows open at the same time myWindow.location.href = url; } } function DisplaySearchPage(searchTerm) { if (searchTerm == "") { location.href = "/Tools/Search/?term=" + $("#SiteQuickSearchDDInputControl").val() } else location.href = "/Tools/Search/?term=" + decodeURI(searchTerm) } function GetSiteQuickSearchDDMasterList() { selectedSiteQuickSearchDDLIIndex = 0; //if (sessionStorage.SiteQuickSearchDDPagingStart == 0) { // $("#SiteQuickSearchDDULControl").empty(); //} //var criteria = GetItemPricingCriteria(); //criteria.SearchKey = $("#SiteQuickSearchDDInputControl").val().trim().replace("'", "''").replace("`", "''"); //criteria.PagingStart = parseInt(sessionStorage.SiteQuickSearchDDPagingStart); var productHTML = "Products"; var sdsHTML = "SDS"; var labelHTML = "Label"; var employeeHTML = "Employees"; var blogHTML = "Blog Posts"; var pagesHTML = "Pages"; var educationHTML = "Education Pages"; var invoiceHTML = "Invoices"; $.ajax({ type: "Post", url: "/api/Tools", data: JSON.stringify({ RequestType: "GetSiteSearch", SearchTerm: $("#SiteQuickSearchDDInputControl").val().trim().replace("'", "''").replace("`", "''") }), contentType: "application/json; charset=utf-8", dataType: "json", success: function (response) { $("#SiteQuickSearchDDULControl").empty(); for (var i = 0; i < response.length; i++) { //encoding all special characters and doing a string custInforeplace on single quotes if (response[i].SearchResultType == 'p') { productHTML += "

  • " + response[i].ItemNmbr + " - " + response[i].WebName + "
  • "; sdsHTML += "
  • " + response[i].ItemNmbr + " - " + response[i].WebName + "
  • "; labelHTML += "
  • " + response[i].ItemNmbr + " - " + response[i].WebName + "
  • "; } else if (response[i].SearchResultType == 'e') { employeeHTML += "
  • " + response[i].Name + "
  • "; } else if (response[i].SearchResultType == 'b') { blogHTML += "
  • " + response[i].Name + "
  • "; } else if (response[i].SearchResultType == 'pg') { pagesHTML += "
  • " + response[i].Description + "
  • "; } else if (response[i].SearchResultType == 'ed') { educationHTML += "
  • " + response[i].Name + "
  • "; } else if (response[i].SearchResultType == 'iv') { invoiceHTML += "
  • " + response[i].SOPNumber + "
  • "; } } }, complete: function (response) { if (productHTML.length > 100) $("#SiteQuickSearchDDULControl").append(productHTML); if (sdsHTML.length > 80) $("#SiteQuickSearchDDULControl").append(sdsHTML); if (labelHTML.length > 80) $("#SiteQuickSearchDDULControl").append(labelHTML); if (employeeHTML.length > 85) $("#SiteQuickSearchDDULControl").append(employeeHTML); if (blogHTML.length > 85) $("#SiteQuickSearchDDULControl").append(blogHTML); if (educationHTML.length > 90) $("#SiteQuickSearchDDULControl").append(educationHTML); if (pagesHTML.length > 80) $("#SiteQuickSearchDDULControl").append(pagesHTML); if (invoiceHTML.length > 85) $("#SiteQuickSearchDDULControl").append(invoiceHTML); } }); } function SiteQuickSearchDDSelected(selectedLI) { //if the item passed in is not the master number use it instead $.ajax({ type: "Post", url: "/api/MyHarrells", data: JSON.stringify({ RequestType: "GetTheMasterItem", ItemNumber: selectedLI.substring(0, selectedLI.indexOf('~')) }), contentType: "application/json; charset=utf-8", dataType: "json", success: function (response) { if (response[0].ItemNumber != null && response[0].ItemNumber != "") { //item passed in had a master number so use this //saving the selected customer in session for later use sessionStorage.selectedSiteQuickSearchDDNumber = response[0].ItemNumber; sessionStorage.selectedSiteQuickSearchDDName = response[0].ProductDesc; } else { //item passed in did not have a master so it is its own master sessionStorage.selectedSiteQuickSearchDDNumber = selectedLI.substring(0, selectedLI.indexOf('~')); sessionStorage.selectedSiteQuickSearchDDName = selectedLI.substring(selectedLI.indexOf('~') + 1); } blurToLIDropdownToSelectSiteQuickSearchDD = true; //sessionStorage.selectedSiteQuickSearchDDNumber = selectedLI.substring(0, selectedLI.indexOf('~')); //sessionStorage.selectedSiteQuickSearchDDName = selectedLI.substring(selectedLI.indexOf('~') + 1); $("#SiteQuickSearchDDInputControl").val(decodeURI(sessionStorage.selectedSiteQuickSearchDDNumber) + " - " + decodeURI(sessionStorage.selectedSiteQuickSearchDDName)); $("#SiteQuickSearchDDULControl").hide(); blurToLIDropdownToSelectSiteQuickSearchDD = false; //go to the product page location.href = "/Products/ProductDetail?sku=" + decodeURI(sessionStorage.selectedSiteQuickSearchDDNumber) } }) } function addLayoutFooter() { if (DEVICE.ISPHONE) { $(".footerSubHeader").hide(); $(".footerHeader").css({ "text-align": "center", "color": "white", "font-size": "1.50em", "font-weight": "500" }); $(".footerHeader a").css("color", "white"); $(".footerHeader").show(); } $("#footerContainer").show(); }

    Harrells | Q4 Plus Turf Herbicide 2.5 gal (NY Spot treatment) (2024)

    References

    Top Articles
    Latest Posts
    Article information

    Author: Ouida Strosin DO

    Last Updated:

    Views: 6100

    Rating: 4.6 / 5 (76 voted)

    Reviews: 91% of readers found this page helpful

    Author information

    Name: Ouida Strosin DO

    Birthday: 1995-04-27

    Address: Suite 927 930 Kilback Radial, Candidaville, TN 87795

    Phone: +8561498978366

    Job: Legacy Manufacturing Specialist

    Hobby: Singing, Mountain biking, Water sports, Water sports, Taxidermy, Polo, Pet

    Introduction: My name is Ouida Strosin DO, I am a precious, combative, spotless, modern, spotless, beautiful, precious person who loves writing and wants to share my knowledge and understanding with you.