S2K Commerce - Shopping Cart
Actions ${title} Loading...S2K Commerce - Products Dropdown
Actions ${title} Loading...S2K Commerce - Order Entry
Actions ${title} Loading...
Home
> Tools & Instruments
> Tubing Tools
> NIBCO Wrot Copper Fittings
"+data.itemNumber;
}
else {
skuItemNumber.value = "";
skuItemNumDiv.innerHTML = "";
}
var itemDescriptionDiv = document.getElementById("itemDescription");
var itemDescription = "";
if (data.errCode != 'N') {
itemDescription = "0){
qtyOne = data.customizationSetting[0].quantityOne;
}
newLastCartBoxDiv.className = "addToCart";
var detailRow = document.createElement("div");
detailRow.className = "detailRow quantity";
var detailField = document.createElement("div");
detailField.className = "detailField";
if (qtyOne == 'N') {
var label = document.createElement("div");
label.innerHTML = "Quantity:";
label.className = "label";
detailField.appendChild(label);
}
var quantityDiv = document.createElement("div");
quantityDiv.id = "quantityDiv";
quantityDiv.className = "field itemQuantity";
if (dijit.byId("itemDetailQty"))
dijit.byId("itemDetailQty").destroy();
var quantityInput = dojo.doc.createElement('input');
if (qtyOne == 'N') {
dojo.attr(quantityInput, {
id: "itemDetailQty",
name: itemNumber+idUoM,
type: "text",
maxlength: "7",
dojoType: "dijit.form.ValidationTextBox",
regExp:"^\\d+$",
promptMessage: "Enter Quantity",
invalidMessage: "Please use numbers only",
trim: "true"
});
} else {
dojo.attr(quantityInput, {
id: "itemDetailQty",
name: itemNumber+idUoM,
type: "hidden",
value: "1"
});
}
quantityDiv.appendChild(quantityInput);
detailField.appendChild(quantityDiv);
detailRow.appendChild(detailField);
newLastCartBoxDiv.appendChild(detailRow);
var addToCartButtonDiv = document.createElement("div");
addToCartButtonDiv.className = "addToCartButton";
if (dijit.byId("addToCartButton"))
dijit.byId("addToCartButton").destroy();
var addToCartButton = dojo.doc.createElement('button');
dojo.attr(addToCartButton, {
id: "addToCartButton",
value: "Add To Cart",
type: "button",
dojoType: "dijit.form.Button",
onclick:"return ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_submitToCart_Button('itemDetailQty','"+data.minimum+"','"+data.multiple+"','"+addslashes(itemNumber)+"')"
});
var spanIcon = document.createElement("span");
spanIcon.className = "bIcon";
var spanText = document.createElement("span");
spanText.className = "bText";
spanText.innerHTML = "Add To Cart";
addToCartButton.appendChild(spanIcon);
addToCartButton.appendChild(spanText);
addToCartButtonDiv.appendChild(addToCartButton);
newLastCartBoxDiv.appendChild(addToCartButtonDiv);
}
cartBoxDiv.replaceChild(newLastCartBoxDiv, lastCartBoxDiv);
if (data.errCode != '')
cartBoxDiv.style.width = "100%";
dojo.parser.parse("cartBox");
};
var ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_createSKUPriceBreakDisplay = function(data){
var priceBreaksDiv = document.getElementById("priceBreaks");
priceBreaksDiv.innerHTML = "";
if (data.uomList != undefined && data.uomList.length>0){
for (var i=0; i0){
var priceBreakDiv = dojo.doc.createElement('div');
var pbClass = "hidePriceBreak";
if (data.uomList.length==1)
pbClass = "";
dojo.attr(priceBreakDiv, {
class: "vaiComponent shadow "+pbClass,
id: "priceBreak_"+i
});
var titleDiv = dojo.doc.createElement('div');
dojo.attr(titleDiv, {
dojoType: "dijit.TitlePane",
title: "Price Break for UM:"+data.uomList[i].uom
});
var gridContainerDiv = dojo.doc.createElement('div');
dojo.attr(gridContainerDiv, {
class: "gridContainer",
});
var loadMaskDiv = dojo.doc.createElement('div');
dojo.attr(loadMaskDiv, {
class: "loadMask",
});
var loadIconDiv = dojo.doc.createElement('div');
dojo.attr(loadIconDiv, {
class: "loadMask",
});
var ajaxLoaderImg = dojo.doc.createElement('img');
dojo.attr(ajaxLoaderImg, {
src: "/images/items/".concat('ajax-loader.gif'),
border: "0"
});
var table = dojo.doc.createElement('table');
dojo.attr(table, {
class: "rowGroup",
});
var headerRow = dojo.doc.createElement('tr');
dojo.attr(headerRow, {
class: "headerRow",
});
var headerQtyCell = dojo.doc.createElement('td');
dojo.attr(headerQtyCell, {
class: "headerCell right",
});
headerQtyCell.innerHTML = "Quantity";
var headerPriceCell = dojo.doc.createElement('td');
dojo.attr(headerPriceCell, {
class: "headerCell right",
});
headerPriceCell.innerHTML = "Price";
headerRow.appendChild(headerQtyCell);
headerRow.appendChild(headerPriceCell);
table.appendChild(headerRow);
for (var j=0; j0){
if (data.customizationSetting[0].quantityOne == 'Y')
isQtyOneItem = true;
if (data.customizationSetting[0].personalization == 'Y' || data.customizationSetting[0].sizing == 'Y') {
isCustomizable = true;
itemCustomization.style.display = "block";
displayTemplate.style.display = "block";
if (data.customizationSetting[0].personalization == 'Y'){
ptValues = data.ptValues;
ptList = {
"identifier":"id",
"label":"label",
"items":ptValues
};
var userSelect = false;
if (data.customizationSetting[0].classRequired == "Y")
userSelect = true;
ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_buildPersonalizationTemplate(userSelect);
}
if (data.customizationSetting[0].sizing == 'Y'){
stValues = data.stValues;
stList = {
"identifier":"id",
"label":"label",
"items":stValues
};
ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_buildSizingTemplate();
}
}
}
document.getElementById("QtyOneItem").value = isQtyOneItem;
document.getElementById("Customizable").value = isCustomizable;
}
var ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_createSKUImageDisplay = function(data){
var fullImage = "noImage.jpg";
var fullImageText = '';
var thumbImage = "noImage.jpg";
var thumbImageAltText = '';
ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_detailFullSizeImageLoadSource = "image";
if (data.fullImage != '')
fullImage = data.fullImage;
if (data.thumbImage != '')
thumbImage = data.thumbImage;
if (data.fullImageAltText != '')
fullImageText = data.fullImageAltText;
else
fullImageText = data.itemNumber;
if (data.thumbImageAltText != '')
thumbImageAltText = data.thumbImageAltText;
else
thumbImageAltText = data.itemNumber;
ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_zoomCleanup();
dojo.destroy("ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_FullImage");
var overlayNode = dojo.byId("loadOverlay_full");
dojo.style( overlayNode, {
display: 'block',
opacity: 1
});
var imgEle = dojo.doc.createElement('img');
dojo.attr(imgEle, {
src: "/images/items/".concat(fullImage),
alt: fullImageText,
imgType: "fullImage",
itemprop: "image",
id: "ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_FullImage",
style: {width: "auto", height: "auto"},
onload: "ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_itemDetail_loadedImage(this,'full')",
onerror: "this.src='/images/items/noImage.jpg';ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_itemDetail_loadedImage(this,'full')"
});
ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_detailFullSizeImage = "/images/items/".concat(fullImage);
dojo.place(imgEle, "ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_FullImageContainer", "first");
dojo.destroy("ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_ThumbImageContainer");
if (data.images != undefined && data.images.length>0){
var imageDiv = dojo.doc.createElement('div');
dojo.attr(imageDiv, {
id: "ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_ThumbImageContainer",
class: "imageThumbs"
});
var imageUI = dojo.doc.createElement('ul');
dojo.attr(imageUI, {
id: "imageUI",
});
var imageLI0 = dojo.doc.createElement('li');
dojo.attr(imageLI0, {
id: "thumbImage_0",
class: "selected"
});
var overlayDiv0 = dojo.doc.createElement('div');
dojo.attr(overlayDiv0, {
id: "loadOverlay_0",
class: "altImageLoadOverlay"
});
var a0 = dojo.doc.createElement('a');
dojo.attr(a0, {
id: "a0",
href: "javascript:ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_showImage('0','')"
});
var selectOverlayDiv0 = dojo.doc.createElement('div');
dojo.attr(selectOverlayDiv0, {
class: "selectOverlay"
});
var imgEle0 = dojo.doc.createElement('img');
dojo.attr(imgEle0, {
src: "/images/items/".concat(thumbImage),
alt: thumbImageAltText,
fullImage: "/images/items/".concat(fullImage),
fullAltTxt: fullImageText,
imgType: "thumbImage",
onload: "ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_itemDetail_loadedImage(this,'0')",
onerror: "this.src='/images/items/noImage.jpg';ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_itemDetail_loadedImage(this,'0')"
});
dojo.place(imageDiv, "itemImage");
dojo.place(imageUI,"ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_ThumbImageContainer","first");
dojo.place(imageLI0, "imageUI", "first");
dojo.place(overlayDiv0,"thumbImage_0");
dojo.place(a0, "thumbImage_0", "first");
dojo.place(selectOverlayDiv0,"a0");
dojo.place(imgEle0, "a0", "first");
var youtubePath = "http://www.youtube.com/watch?v=";
var vimeoPath = "http://vimeo.com/";
var videoId = "";
for (var i=0; i-1) {
videoId = image.fullFileName.substring(youtubePath.length);
var a = dojo.doc.createElement('a');
dojo.attr(a, {
id: "a_"+(i+1),
href: "javascript:ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_showVideo('"+(i+1)+"','youtube','')"
});
dojo.place(a, "thumbImage_"+(i+1), "first");
dojo.place(selectOverlayDiv,"a_"+(i+1));
var youtubeFrame = dojo.doc.createElement('img');
dojo.attr(youtubeFrame, {
src: "//img.youtube.com/vi/"+videoId+"/default.jpg",
alt: image.thumbFileAltText,
imgType: "thumbImage",
videoID: videoId,
onload: "ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_itemDetail_loadedImage(this,'"+(i+1)+"')",
onerror: "ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_itemDetail_loadedImage(this,'"+(i+1)+"')"
});
dojo.place(youtubeFrame, "a_"+(i+1), "first");
} else if(image.fullFileName.indexOf(vimeoPath)>-1) {
videoId = image.fullFileName.substring(vimeoPath.length);
var a = dojo.doc.createElement('a');
dojo.attr(a, {
id: "a_"+(i+1),
href: "javascript:ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_showVideo('"+(i+1)+"','vimeo','')"
});
dojo.place(a, "thumbImage_"+(i+1), "first");
dojo.place(selectOverlayDiv,"a_"+(i+1));
var imgEle = dojo.doc.createElement('img');
dojo.attr(imgEle, {
alt: image.thumbFileAltText,
id: "vimeo-"+videoId,
videoID: videoId,
imgType: "thumbImage",
onload: "ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_itemDetail_loadedImage(this,'"+(i+1)+"')",
onerror: "this.src='/images/items/noImage.jpg';ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_itemDetail_loadedImage(this,'"+(i+1)+"')"
});
dojo.place(imgEle, "a_"+(i+1), "first");
window['showThumbStyle_'+(i+1)]=function(vimeoData){
dojo.byId("vimeo-"+vimeoData[0].id).src=vimeoData[0].thumbnail_medium;
};
require(["dojo/ready", "dojo/query", "dojo/dom-construct"],
function(ready, query, domConstruct){
var buildImage = function(){
var url = "http://vimeo.com/api/v2/video/"+videoId+".json?callback=showThumbStyle_"+(i+1);
var head = query("head");
var script = domConstruct.create("script",{type:"text/javascript",src:url},head[0]);
};
ready(buildImage);
});
} else {
var a = dojo.doc.createElement('a');
dojo.attr(a, {
id: "a_"+(i+1),
href: "javascript:ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_showImage('"+(i+1)+"','')"
});
dojo.place(a, "thumbImage_"+(i+1), "first");
dojo.place(selectOverlayDiv,"a_"+(i+1));
var imgEle = dojo.doc.createElement('img');
dojo.attr(imgEle, {
src: "/images/items/".concat(image.thumbFileName),
alt: image.thumbFileAltText,
fullImage: "/images/items/".concat(image.fullFileName),
fullAltTxt: image.fullFileAltText,
imgType: "thumbImage",
onload: "ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_itemDetail_loadedImage(this,'"+(i+1)+"')",
onerror: "this.src='/images/items/noImage.jpg';ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_itemDetail_loadedImage(this,'"+(i+1)+"')"
});
dojo.place(imgEle, "a_"+(i+1), "first");
}
}
}
};
var ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_createSKUTabs = function(data){
if (data.extDescription != '')
{
if (!dijit.byId("OverViewTab"))
{
var overview = new dijit.layout.ContentPane({
id:"OverViewTab",
title:"Overview",
content:""+data.extDescription+""
});
dijit.byId("TabContainer").addChild(overview,0);
dijit.byId("TabContainer").selectChild(overview);
}
else
{
dijit.byId("OverViewTab").set("content",""+data.extDescription+"");
dijit.byId("TabContainer").selectChild(dijit.byId("OverViewTab"));
}
}
else
{
if (dijit.byId("OverViewTab"))
{
dijit.byId("TabContainer").removeChild(dijit.byId("OverViewTab"));
dijit.byId("OverViewTab").destroy();
}
}
};
dojo.addOnLoad(function(){
placeComponents();
});
"+data.description+"
"; itemDescription += ""+data.subDescription+"
";
}
else {
itemDescription = "NIBCO Wrot Copper Fittings
"; itemDescription += "9600 RS Couplings 3/4\" O.D.
";
}
itemDescriptionDiv.innerHTML = itemDescription;
};
var umList;
var umListValues;
var ns_Z7_EL9QHKG10GPM20IJGE61AK10S5_createSKUUnitOfMeasureDisplay = function(data,itemNumber){
var uomDiv = document.getElementById("umContainer");
if (dijit.byId(itemNumber+"UMDrop"))
dijit.byId(itemNumber+"UMDrop").destroy();
var UMDrop = document.getElementById(itemNumber+"UMDrop");
if (UMDrop)
dojo.destroy(UMDrop);
UMDrop = dojo.doc.createElement('input');
dojo.attr(UMDrop, {
id: itemNumber+"UMDrop",
name: itemNumber+"UMDrop",
type: "hidden",
value: "0"
});
if (data.errCode != 'A' && data.errCode != 'N') {
if (data.uomList != undefined && data.uomList.length>0){
if (data.uomList.length>1){
for (var i=0; iNIBCO Wrot Copper Fittings
9600 RS Couplings 3/4" O.D.
Type
Coupling with Rolled Tube Stop
Connection Type
C x C - Wrot
Tube/Pipe Size
3/4"
Body Material
Copper
Length
3/32 x 3/32
Item #:
64726
Standard Pack: 100
Must order in multiples of: 100
Tubing Tools
Type
Coupling with Rolled Tube Stop
Connection Type
C x C - Wrot
Tube/Pipe Size
3/4"
Body Material
Copper
Length
3/32 x 3/32