You have no items in your shopping cart.
Start Over
Get Expert Advice or a Fast Quote
*
*
*
By clicking Send, you agree to our Privacy Policy & Terms of Service
GL Sciences: Trusted by Scientists Since 1968
About InertSustain PFP Packed Guard Column, 3 µm, 50 x 4.6 mm, 1/Ea

`); function clearFilterOption(){ removeQueryParam("option"); //clear filters $(".od_pgfilter__options li").removeClass("active"); $(".od_pgfilter__options li").removeClass("disabled"); } function bindEvents() { //reset filter $(".od-pgfilter__startover").click(function() { var isMobile = odIsMobile(); if(!isMobile) { //simple ptoduct redirect to grouped product location.href = "/inertsustain-pfp"; return; } clearFilterOption(); loadSuggestedProducts(false); }); //Event click on specification value boxes $(".od_pgfilter__box li").unbind(); $(".od_pgfilter__box li").click(function() { var selectedValue = $(this).data("optionid"); var isMobile = odIsMobile(); var productType = "SimpleProduct"; var parentSeName = "inertsustain-pfp"; // //Redirect to parent product if click on available option (class empty) // //to-do: improve it redirects to parent and then redirect to child // if(!isMobile && productType == "SimpleProduct" && !($(this).hasClass("disabled") || $(this).hasClass("active")) ){ // //Redirect to product page if exists one option // addSpecOptionToUrl(selectedValue); // loadSuggestedProducts(false); // alert("LOAD SUGGESTION"); // return; // /*if(!validateIfExistsOnlyOneProduct()) //redirect to product page // { // //Redirect to Grouped Product // var queryOpt = getQueryOptions(); //?option=101,102 // queryOpt += queryOpt == "" ? `?option=${selectedValue}` : `,${selectedValue}`; // var parentUrl = "/inertsustain-pfp" + queryOpt; // location.href = parentUrl; // return; // } // else // { // return; // }*/ // } //when click on a disabled item if($(this).hasClass("disabled")){ //console.log(`OD DEBUG. Click on DISABLE option.`); selectedSpecifications = []; removeQueryParam("option"); //redirect to parent grouped page if(!isMobile && productType == "SimpleProduct"){ var queryString = "?option=" + selectedValue; var parentUrl = "/inertsustain-pfp" + queryString; location.href = parentUrl; return; } } // Add active class to the clicked item (optional) if($(this).hasClass("active")){ //console.log(`OD DEBUG. Click on ACTIVE option.`); //redirect to parent product if(!isMobile && productType == "SimpleProduct" && parentSeName != ""){ var selectedSpecs = getSelectedSpecsOrDefault(); //OLD: selectedSpecifications selectedSpecs = selectedSpecs.filter(item => item !== selectedValue); var queryString = "?option=" + encodeURIComponent(selectedSpecs.join(",")); queryString += "&uncheck=1"; var parentUrl = "/inertsustain-pfp" + queryString; location.href = parentUrl; return; } $(this).removeClass("active"); } else { //console.log(`OD DEBUG. CHECK ITEM AS ACTIVE: ${selectedValue}`); $(this).addClass("active"); } // Perform any action (e.g., filter items, update UI) var currentOptions = addSpecOptionToUrl(selectedValue); //clear all filetr options if(currentOptions.length == 0) clearFilterOption(); reloadFacetFilters(); loadSuggestedProducts(false); }); } //add option to url and prevent no enter duplicated spec ?opt=1,2,3 function addSpecOptionToUrl(selectedValue){ //params var url = new URL(window.location.href); var params = new URLSearchParams(url.search); // Get the current option values as an array var currentOptions = params.get("option") ? params.get("option").split(",") : []; // Toggle selection (add if not present, remove if present) if (currentOptions.includes(selectedValue.toString())) { currentOptions = currentOptions.filter(item => item !== selectedValue.toString()); // Remove } else { currentOptions.push(selectedValue.toString()); // Add } // Update the URL param without duplicates if (currentOptions.length > 0) { params.set("option", currentOptions.join(",")); // Set new values } else { params.delete("option"); // Remove if empty } // Update URL without reloading the page window.history.pushState({}, "", `${window.location.pathname}?${params.toString()}`); return currentOptions; } function buildGroupedProductResultLinkHtml(itemCount) { var htmlLink = ""; if (gup("option") == null || (gup("option") != null && gup("option") != 1463)) { htmlLink = `