'; } } if(!$("#showContractPrice").val()){ if(item.promoPrice !="" && item.promoPriceUsed=="true"){ $("#CATNUM"+jqEscapeId(item.skuId.replace(' ','_'))).html(item.promoCatNumber); if(true){ $("#L"+jqEscapeId(item.skuId.replace(' ','_'))).html('
'+item.listPrice+'
'+bestPrice + clearanceFontStart + item.promoPrice + clearanceFontEnd); $("#PM"+jqEscapeId(item.skuId.replace(' ','_'))).html(function() { return $('').html(item.promoMessage).text()}); }else{ $("#L"+jqEscapeId(item.skuId.replace(' ','_'))).html(item.promoPrice); $("#PM"+jqEscapeId(item.skuId.replace(' ','_'))).html(function() { return $('').html(item.promoMessage).text()}); } }else if (false && item.expertPrice !="" && item.expertPriceUsed == 'true'){ document.getElementById("expertPrice_tooltip").style.display = "inline"; $("#L"+jqEscapeId(item.skuId.replace(' ','_'))).html(''+item.listPrice+'
Limited Time Discount Price:'+item.expertPrice); } else{ $("#L"+jqEscapeId(item.skuId.replace(' ','_'))).html(item.listPrice); } }else{ // Logged in user for sure, so there is no need for additional checks here. if(item.promoPrice !="" && item.promoPriceUsed=="true"){ $("#CATNUM"+jqEscapeId(item.skuId.replace(' ','_'))).html(item.promoCatNumber); $("#SA"+jqEscapeId(item.skuId.replace(' ','_'))).html('
'+ item.listPrice + '
'+bestPrice + clearanceFontStart + item.promoPrice + clearanceFontEnd); $("#PM"+jqEscapeId(item.skuId.replace(' ','_'))).html(function() { return $('').html(item.promoMessage).text()}); } else { $("#SA"+jqEscapeId(item.skuId.replace(' ','_'))).html(item.salePrice); } //Fill the List price column irrespectively $("#L"+jqEscapeId(item.skuId.replace(' ','_'))).html(item.listPrice); } /* checking CSM alternatives for each product */ if(item.contractPriceFail == "false"){ } } }); }); function callCostSavingEventNotificationIcon(skuId){ $.getJSON( '/store/services/pricing/json/costSavingEventNotification.jsp?originalSkuId='+skuId+'&type=displayedSuggestionIcon', function(data){ }); }