Thermo Fisher Scientific | VWR (2024)

"; if(!false){ availabilityStatus += ""; } }else if(item.quantityAvailable == 0 && item.availabilityDisplayText ==''){ availabilityStatus = "

" + availabilityStatus + "

"; }else{ availabilityStatus = "

" + availabilityStatus + "

"; } $("#lowestSKUAvailability_"+jqEscapeId(item.skuId)).html(availabilityStatus); } if(item.availabilityDisplayText == 'Direct from Supplier'){ if ("true" == item.available) { availabilityStatus = "

In Stock at Supplier

"; $("#lowestSKUAvailability_"+jqEscapeId(item.skuId)).html(availabilityStatus); }else{ if (thridPartyAvailabilityParam == "") { thridPartyAvailabilityParam = item.skuId + "~1"; } else { thridPartyAvailabilityParam += "," + item.skuId + "~1"; } } } replaceText = /*availabilityStatus +"-" + */ (contractPriceAllowed ? (item.salePrice) : item.listPrice); // Display the PROMO / Sale price ONLY if the site is Bio express and PROMO is availableif(true){if(item.clearancePriceEnabled == 'true' && item.promoPrice !="" && item.promoPriceUsed == 'true'){ var clearance = ''; if(true){ clearance = "(Limited time offers)";} replaceText = item.salePrice + clearance;} else if(item.promoPrice !="" && item.promoPriceUsed == 'true'){ var sale = ''; if(true){sale = "(Sale)";} replaceText = item.salePrice + sale;}else if (true && item.expertPrice !="" && item.expertPriceUsed == 'true') { replaceText = '

'+item.listPrice+'

New Customer Promotional Price
' + item.salePrice; replaceTextDropDown = item.salePrice; }} else if(item.promoPrice !="" && item.promoPriceUsed == 'true'){ var sale = ''; if(true){sale = "(Sale)";} replaceText = /* availabilityStatus +"-" + */item.salePrice + sale; }else if (true && item.expertPrice !="" && item.expertPriceUsed == 'true') { replaceText = '

'+item.listPrice+'

New Customer Promotional Price
' + item.salePrice; replaceTextDropDown = item.salePrice; } }else{ if(true){ if(item.clearancePriceEnabled == 'true' && item.promoPrice !="" && item.promoPriceUsed == 'true'){ replaceText = item.salePrice + "(Limited time offers)"; } else if(item.promoPrice !="" && item.promoPriceUsed == 'true'){ replaceText = item.salePrice + "(Sale)"; }else if (true && item.expertPrice !="" && item.expertPriceUsed == 'true') { replaceText = '

'+item.listPrice+'

New Customer Promotional Price
' + item.salePrice; replaceTextDropDown = item.salePrice; } } else if(item.promoPrice !="" && item.promoPriceUsed == 'true'){ // replaceText = item.salePrice + "(Sale)"; replaceText = item.salePrice + "(Sale)"; } else if (true && item.expertPrice !="" && item.expertPriceUsed == 'true') { replaceText = '

'+item.listPrice+'

New Customer Promotional Price
' + item.salePrice; replaceTextDropDown = item.salePrice; } }// Display the marketSourceItemvar qtyAvailable = item.quantityAvailable;var discontinuedItemStatus = item.discontinuedItemStatus;if(qtyAvailable <= 0 && discontinuedItemStatus != null && discontinuedItemStatus == 'ES') {$("#qtyBox_" + jqEscapeId(item.skuId)).html("Thermo Fisher Scientific | VWR (11)");// Show the description text for the call image, else user may not understand by just seeing the call image$('#discontd_desc').show();}if(true && item.marketSourceItem !="" && item.marketSourceItem == 'true'){//var existingText = $("#SALEPRICE_"+jqEscapeId(item.skuId)).html();//var newText = existingText.replace((existingText),"Login For Price");var newText = "Login For Price";$("#SALEPRICE_"+jqEscapeId(item.skuId)).html(newText);$("#ORDERSALEPRICE_"+jqEscapeId(item.skuId)).html(newText);$("#DROPDOWNSALEPRICE_"+jqEscapeId(item.skuId)).html(newText);}else if(item.callForPriceIndicator == 'true'){var inquireForPriceText = $("#zeroPricingDiv").text();var orderPriceText = $("#ORDERSALEPRICE_"+jqEscapeId(item.skuId)).html();var salePriceText = $("#SALEPRICE_"+jqEscapeId(item.skuId)).html();var dropDownPriceText = $("#DROPDOWNSALEPRICE_"+jqEscapeId(item.skuId)).html();if (orderPriceText) {$("#ORDERSALEPRICE_"+jqEscapeId(item.skuId)).html(inquireForPriceText + orderPriceText );} else if (salePriceText) {$("#SALEPRICE_"+jqEscapeId(item.skuId)).html(salePriceText.replace(retrieving,inquireForPriceText));} else {$("#DROPDOWNSALEPRICE_"+jqEscapeId(item.skuId)).html(dropDownPriceText.replace(retrieving,inquireForPriceText));}$("#qtyBox_" + jqEscapeId(item.skuId) + " input").prop('disabled',true);$("#qtyBox_" + jqEscapeId(item.skuId) + " button").prop('disabled',true);}else {// Slightly modifying the below logic to display the pricing in top and ordering grid of HYBRIDvar salePriceText = $("#SALEPRICE_"+jqEscapeId(item.skuId)).html();var orderPriceText = $("#ORDERSALEPRICE_"+jqEscapeId(item.skuId)).html();var dropDownPriceText = $("#DROPDOWNSALEPRICE_"+jqEscapeId(item.skuId)).html();if(item.newProduct == 'true') {$("#newproduct_"+catNum).css("display", "inline");}if(orderPriceText){if(true){if(item.clearancePriceEnabled == 'true' && item.promoPrice !="" && item.promoPriceUsed == 'true'){$("#ORDERSALEPRICE_"+jqEscapeId(item.skuId)).html(''+item.listPrice+'
'+item.salePrice+'');$("#clearance_"+catNum).css("display", "block");}else{$("#ORDERSALEPRICE_"+jqEscapeId(item.skuId)).html(replaceText);}}else{$("#ORDERSALEPRICE_"+jqEscapeId(item.skuId)).html(replaceText);}}else if(salePriceText){var newText = salePriceText.replace((retrieving),replaceText);if($("#SALEPRICE_"+jqEscapeId(item.skuId)).get(0).tagName == 'LABEL'){if(true){if(item.clearancePriceEnabled == 'true' && item.promoPrice !="" && item.promoPriceUsed == 'true'){$("#SALEPRICE_"+jqEscapeId(item.skuId)).html(''+item.listPrice+''+salePriceText.replace((retrieving),''+item.salePrice+''));$("#clearance_"+catNum).css("display", "block");}else{$("#SALEPRICE_"+jqEscapeId(item.skuId)).html(newText);}}else{$("#SALEPRICE_"+jqEscapeId(item.skuId)).html(newText);}}else{if(true){if(item.clearancePriceEnabled == 'true' && item.promoPrice !="" && item.promoPriceUsed == 'true'){$("#clearance_"+catNum).css("display", "block");}}$("#SALEPRICE_"+jqEscapeId(item.skuId)).html(newText);}}else if(dropDownPriceText){var newText = dropDownPriceText.replace((retrieving),replaceTextDropDown);$("#DROPDOWNSALEPRICE_"+jqEscapeId(item.skuId)).html(newText);}}//update the break priceif(item.breakPriceMsg != ''){/* This appends the break price message after regular price and will display the message properly if it has one UoM (we are directly displaying the pricing as label for single UoM). * But these prices will not display if it has drop down as the append happens after selelct box. However this will not be an issue as break price is applicable only for EU * countries and EU has one UoM */$("#SALEPRICE_"+jqEscapeId(item.skuId)).closest('.search_ordering').append($('

',{"class":'breakPricingColumn'}).html(item.breakPriceMsg));// Adding colspan as 10, hence it will span across entire row and we will not have more than 10 columns$("#breakPrice_"+jqEscapeId(item.skuId)).html($('

', {colspan:10, "class": 'breakPricingColumn'}).html(item.breakPriceMsg));// Add the hasBreakPricing style class for the SKU row to show the BP message and sku row as single. $("#orderingRow_"+jqEscapeId(item.skuId)).attr({"class": 'hasBreakPricing'});}if(isIndiaSite && false){$("#avantorprocessedproduct_"+jqEscapeId(item.catalogNumber)).attr("style", "display:inline");}if(false && item.promoValidUpTo != null && item.promoValidUpTo!=''){$("#onsalevalid_"+catNum).attr("style", "display:inline");$("#promovalidupto_"+catNum).html(item.promoValidUpTo);$("#onsale_"+catNum).attr("style", "display:inline");} }); if (thridPartyAvailabilityParam != "") { $.getJSON( '/store/services/pricing/json/thirdPartyAvailability.jsp?skuIds=' + thridPartyAvailabilityParam, function(data){ $.each(data, function(index, item){ if (item.availabilityStatus == 1) { availabilityStatus = "

In Stock at Supplier

"; } else { availabilityStatus = "

Backordered

"; } $("#lowestSKUAvailability_"+jqEscapeId(item.skuId)).html(availabilityStatus); }); }); } }); } var ua = window.navigator.userAgent; var ie = isIE(ua); $.each($('div').find('select.uomSelect'),function(index,value){var arr = []; $.each(value, function(index, value){arr.push(value);});arr.sort(function(a,b){var aTxt = $(a).find('span').html();var bTxt = $(b).find('span').html(); if(aTxt == 'In Stock'){ return 1; } if(bTxt == 'In Stock'){ return -1; } if(aTxt == 'Direct from Supplier' && (bTxt == 'Backordered' || bTxt == 'Direct from Supplier')){ return 1; }else{ return -1; }});if(ie){ arr.reverse(); }$(value).empty();$(value).append(arr);value.selectedIndex = '0';});function showArticleNumber(localSkuIds){}function isIE(userAgent) { userAgent = userAgent || navigator.userAgent; return userAgent.indexOf("MSIE ") > -1 || userAgent.indexOf("Trident/") > -1;} function getThumbnailHTML(catnum, thumbnail) { var html = 'Thermo Fisher Scientific | VWR (12)'; return html; } function addComparisonProduct(catnum, thumbnail,thumbUri) { comparisonProducts[comparisonProducts.length] = catnum; comparisonThumbnails[comparisonThumbnails.length] = thumbnail; document.getElementById('compare' + comparisonProducts.indexOf(catnum)).innerHTML = getThumbnailHTML(catnum, thumbnail);redrawComparisonWidget(); var params="add="+catnum+"&thmb="+thumbUri; $.ajax({type:'POST', cache: false, url:'/store/compare', data:params, success:function(data) {}}); } function removeComparisonProduct(catnum, thumbnail) { var idx = comparisonProducts.indexOf(catnum); comparisonProducts.splice(idx, 1); comparisonThumbnails.splice(idx, 1); var params="remove="+catnum; $.ajax({type:'POST', cache: false, url:'/store/compare',data:params, success:function(data) {}}); redrawComparisonWidget(); var buttons = document.getElementsByTagName('input'); for(var i=0; i < buttons.length; i++) { if(buttons[i].id == 'compareButton_' + catnum) { buttons[i].value = 'Add to Compare'; } } }function redrawComparisonWidget() { for(var i=0; i < 4; i++) { document.getElementById('compare' + i).innerHTML = ''; } for(var x=0; x < comparisonThumbnails.length; x++) { //document.getElementById('compare' + x).innerHTML = getThumbnailHTML(comparisonProducts[x], comparisonThumbnails[x]); $("#compare"+ x).html(getThumbnailHTML(comparisonProducts[x], comparisonThumbnails[x])); } //We need to change the below implemenation wrt to Bill's HTMLdocument.getElementById('compareBtn').innerHTML = 'Compare('+comparisonProducts.length+')'; } function toggleComparison(catnum, thumbnail,thumbUri,element) { if(comparisonProducts.indexOf(catnum) > -1) { removeComparisonProduct(catnum, thumbnail); element.value = 'Add to Compare'; } else { if(comparisonProducts.length == 4) { showModal('

You cannot select more than four products for comparison.

'); } else { addComparisonProduct(catnum, thumbnail,thumbUri); element.value = 'Remove from compare'; } } } function clearComparisonProducts() {localStorage.removeItem('backToSearchResultsLink'); $.ajax({type:'GET', cache: false, url:'/store/compare?clear=true', success:function(data) { //Do Nothing }}); var buttons = document.getElementsByTagName('input'); for(var i=0; i < buttons.length; i++) { if(buttons[i].id.substring(0, 13) == 'compareButton') { buttons[i].value = 'Add to Compare'; } } comparisonProducts.length = 0; comparisonThumbnails.length = 0; redrawComparisonWidget(); } function validateComparisonProducts() { if(comparisonProducts.length > 1) {localStorage.setItem('backToSearchResultsLink',window.location.href); window.location='/store/search/productComparison.jsp'; return true; } else { showModal('

You need to select a minimum of two products for comparison.

'); return false; } } function showModal(msg) { $.fancybox.open('

'+msg+'

'); } $(document).ready( function() {redrawComparisonWidget();}); function isNumeric(e) {if(e.which != 8 && e.which != 0 && (e.which < 48 || e.which > 57)) { return false; }} function setBackToSearchPageFromInsights(e){ e.preventDefault(); localStorage.removeItem('backToProductPageLink'); localStorage.setItem('backToSearchResultsFromInsights',window.location.href); } /* $(".search_product_name").click(function(){ universalAnalytics('productClick','ProductLinkClick','HybridView','ProductLinkClick','catalogNumber='+''); }); $(".column-1").click(function(){ universalAnalytics('productClick','ProductImageClick','HybridView','ProductImageClick','catalogNumber='+''); }); */

';$("#showViewCostSavingAlternative_"+response.currentCatalogNumber).html(emptyDiv);}if(response.webOrgEnableAvantorInsightsMostPurchased && response.userEnableAvantorInsightsMostPurchased && response.currentCatalogMostPurchased == 'true'){var mostPurchasedText='

Most Purchased by your Company

';$("#showViewCostSavingAlternative_"+response.currentCatalogNumber).append(mostPurchasedText);}}}});}//Get the cell values based on STIBOif(index == hideIndex){// Add the catalog # and its description explicitly.rowContent.append($('

', {rowspan: rowSpanValue, "class": 'product-head'}).append(catalogNumber).append(description).append('').append('')); $.each( row.rowValues, function( index, rowValue ) {if (columns != null && columns != undefined && columns[index]!= null && columns[index] != undefined) {var columnContent = $('

', {"data-title": columns[index].columnName}).attr({rowspan: rowSpanValue });//Add custom color if its custom catalog, else do nothingcolumnContent = (customColor != '') ? $(columnContent).attr({style: 'color:#' + customColor}) : columnContent;rowContent.append($(columnContent).append( $("

").html(rowValue).text()));}});}//GWE-10034 : passing buyingUomDescription to display in case toggle is ongetSkuCells(rowContent, sku.skuid, sku.uomDisplay, sku.blockingRule,sku.displayPromotion,sku.promoValidUpTo,stockroomText, sku.buyingUomDescription);content.append(rowContent);}});content.append(showViewCostSavingAlternativeEmptyRow);content.append(showViewCostSavingAlternative);content.append(showArticleNumber);// Add break price and discontinued row. These rows will be visible if it has content.content.append(discontinuedRow);content.append(breakPriceRow);});return content;}/** * Method used to uom, price and availability cells. * @param {Object} get the existing cell contents * @param {String} get the skud ID of the product * @param {String} get the UoM text to display. * @param {String} get the blocking rule to impose */function getSkuCells(rowContent, skuId, uomDisplay, blockingRule,displayPromotion,promoValidUpTo,stockroomText,buyingUomDescription){var uom = '';if(true){//GWE-10034 startif(false && buyingUomDescription != null && buyingUomDescription != '' && buyingUomDescription != undefined){uom = $('').html(''+buyingUomDescription);}else{uom = $('').html(''+uomDisplay);}//GWE-10034 end}if(false){rowContent.append($('

').addClass(' search_availability').attr({"data-title":"Availability"}).append($('', {id: 'lowestSKUAvailability_'+skuId, html: ''})).append(stockroomText));} if(true ){showQtyOrBlockingRules(skuId, blockingRule, rowContent,displayPromotion,promoValidUpTo);}//if(true){//rowContent.append($('

').addClass('productGrid product_price').append($('', {id: 'ORDERSALEPRICE_'+skuId, html: ''})).append(uom));//}//if(false){//rowContent.append($('

').addClass('productGrid product_price').append($('', {id: 'ORDERSALEPRICE_'+skuId, html: ''})).append(uom));//}if(true){var sIcon = saleIcon()var validMsg = promoValidMsg(promoValidUpTo);if(false && blockingRule == '' && displayPromotion){rowContent.append($('

').addClass('product_price').attr({"data-title":"Your Price"}).append($('', {id: 'ORDERSALEPRICE_'+skuId, html: ''})).append(uom).append(sIcon).append(validMsg));}else{rowContent.append($('

').addClass('product_price').attr({"data-title":"Your Price"}).append($('', {id: 'ORDERSALEPRICE_'+skuId, html: ''})).append(uom));}}}/** * Method to display Qty text box or blocking rule * @param {String} get the sku id * @param {String} get the blocking rule to impose * @param {Object} get the existing cell contents*/function showQtyOrBlockingRules(skuId, blockingRule, rowContent,displayPromotion,promoValidUpTo){var element = $('

').addClass('input-group input-group-sm input-number-group');var tableCell = ($('

').addClass('')).attr({id:'qtyBox_' + skuId, "data-title":"Quantity"});switch(blockingRule){case 'purchaseHold':element = $('').attr({type:'image', src: '/images/shopping_icons2/icon_call.png', height:'16', width: '16', alt: 'Call', onclick: "javascript:showModal($('#purchaseHold').html())"});tableCell.append(element);break;case 'sellHold':element = $('').attr({type:'image', src: '/images/shopping_icons2/icon_call.png', height:'16', width: '16', alt: 'Call', onclick: "javascript:showModal($('#sellHold').html())"});tableCell.append(element);break;case 'restricted':element = $('').attr({type:'image', src: '/images/shopping_icons2/icon_restricted.png', height:'16', width: '16', alt: 'Restricted Item', onclick: "javascript:showModal($('#restricted').html())"});tableCell.append(element);break; case 'blocked':element = $('').attr({type:'image', src: '/images/shopping_icons2/icon_blocked.png', height:'16', width: '16', alt: 'Blocked', onclick: "javascript:showModal($('#blocked').html())"});tableCell.append(element);break;case 'crossreference':element = $('').attr({type:'image', src: '/images/shopping_icons2/icon_replacement_product.png', height:'16', width: '16', alt: 'Replacement Product', onclick: "javascript:showModal($('#crossreference').html())"});tableCell.append(element);break;default: var elementMinusIcon =$('').attr( {"class":'input-group-btn' });elementMinusIcon.append($('').attr({onclick:'qtyminus(this, event);', type: 'button', value: '-', field: skuId, "class":'input-number-increment btn btn-default btn-number'}));element.append(elementMinusIcon);element.append($('').attr({ type: 'text', maxlength:'4', size: '4', onkeyup:"setQty('" + skuId + "', event)", value:'0', id: 'qty_'+skuId, "class": 'cartquantity form-control input-number', name: skuId,onkeypress: "return isNumeric(event);" }));var elementPlusIcon =$('').attr( {"class":'input-group-btn' });elementPlusIcon.append($('').attr({onclick:'qtyplus(this, event);', type: 'button', value: '+', field: skuId, "class":'input-number-decrement btn btn-default btn-number'}));element.append(elementPlusIcon);tableCell.append(element);addDynamicHiddenElements(skuId);}if(true && blockingRule == '' && displayPromotion){var sIcon = saleIcon();tableCell.append(sIcon);var validMsg = promoValidMsg(promoValidUpTo);tableCell.append(validMsg);}rowContent.append(tableCell);} /** * Method used to set the qty value to hidden element. * The dynamic form elements rendered inside the order table does not populate in form post. Hence adding directly to form as work around. * @param {String} get the skuId * @param {Event} get the Event */function setQty(skuId, event){ skuId = escapeSpecialCharacters(skuId); $('input[name='+skuId+']').val($('#qty_'+skuId).val()); updateCart(event); universalAnalytics('cartquantity', 'QuantityAddsBox', 'HybridView', 'QuantityAddsBox', '')}/** * Method used to add dynamic hidden elements to Order Form. * The dynamic form elements rendered inside the order table does not populate in form post. Hence adding directly to form as work around. * @param {String} get the skuId */ function addDynamicHiddenElements(skuId){$('').attr({type: 'hidden',name: skuId,value: 0}).appendTo('#addToBasket');$('').attr({type: 'hidden',value: skuId,name: '/vwr/search/SearchOrderFormHandler.catalogRefIds'}).appendTo('#addToBasket'); } /** * Method to display the quick view * @param {String} get the catalog number to display the quick view page. */function loadQuickview(catnum,blockedItems) { $.fancybox.showLoading(); $.get('/store/search/productPreview.jsp?catalog_number=' + catnum +'&blockedItems=' + blockedItems, function(data) { $.fancybox(data, { 'width':'auto', 'height':'auto' }); $.fancybox.hideLoading(); } )} function enteredQuantity(){var enteredQty = 0; $("input.cartquantity").each(function(index, element) { if(!isNaN($(element).val())){ enteredQty += +$(element).val(); }}); return enteredQty;} /** * Method to update the cart quantity and this quantity is to remaind the user to make sure to click the add to basket * @param {Event} get the Event */function updateCart(event){var enteredQty = enteredQuantity();var keyCode = undefined;$( "#addToCartButtonQuantity" ).text('Add to Cart ('+ enteredQty +')');if (!event){event = window.event;} keyCode = event.keyCode || event.which; //Change the CSS classif(enteredQty > 0){ //Submit the form if the user presses enter key if(keyCode == 13){// Submit the form addToCartAjax(); } }} /** * Method to display the qunatity and availability container * @param {String} get the catalog number to display the qunatity and availability container */ function showHideQunatityAvailability(selectedCatalog){var selectedSKU = undefined;var skuId = undefined;selectedCatalog = escapeSpecialCharacters(selectedCatalog); selectedSKU = escapeSpecialCharacters($("#unit_"+selectedCatalog+ " option:selected" ).val());$("#unit_"+selectedCatalog+" option").each(function(){skuId = escapeSpecialCharacters($(this).val());//Hide all quantity and avail containers$("#lowestSKUAvailability_"+skuId).attr('class','hide');$("#qtyBox_"+skuId).attr('class','hide');$("#blockedmsg_"+skuId).attr('class','hide');//Clear the Qty text feld$('input[name='+skuId+']').val(0).trigger('change');});//show right container$("#lowestSKUAvailability_"+selectedSKU).attr('class','');$("#qtyBox_"+selectedSKU).attr('class','');$("#blockedmsg_"+selectedSKU).attr('class','');} function saleIcon(){var promoElement = $('

');var promoElementSpan = $('').addClass('sale tag');var promoElementSvg = $('

').addClass('icon');var promoElementUse = $('

').attr('xlink:href', '#tag-icon');promoElementSvg.append(promoElementUse);promoElementSpan.append(promoElementSvg);promoElementSpan.append('On Sale');promoElement.append(promoElementSpan);return promoElement;}function promoValidMsg(promoValidUpTo){var promoValidElement = $('

').addClass('font-size-8');promoValidElement.text('Valid until ').append(promoValidUpTo);return promoValidElement;} function setBackToSearchPageFromInsights(e){e.preventDefault();localStorage.removeItem('backToProductPageLink');localStorage.setItem('backToSearchResultsFromInsights',window.location.href);} //Auto expand the ordering tables$(document).ready(function(){expandOrdertables();});

Thermo Fisher Scientific | VWR (2024)
Top Articles
Latest Posts
Article information

Author: Fr. Dewey Fisher

Last Updated:

Views: 6454

Rating: 4.1 / 5 (62 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Fr. Dewey Fisher

Birthday: 1993-03-26

Address: 917 Hyun Views, Rogahnmouth, KY 91013-8827

Phone: +5938540192553

Job: Administration Developer

Hobby: Embroidery, Horseback riding, Juggling, Urban exploration, Skiing, Cycling, Handball

Introduction: My name is Fr. Dewey Fisher, I am a powerful, open, faithful, combative, spotless, faithful, fair person who loves writing and wants to share my knowledge and understanding with you.