${(function(){ const get_random_six_digits = () => { return Math.random().toString().slice(-6) }; const wholesale_enabled = false; const setting_product_image_display = "100%"; const product_image = data.image; const secondary_image = data.secondImage; const image_width = product_image.width; let image_height = product_image.height; if(setting_product_image_display == '100%'){ image_height = image_width }else if(setting_product_image_display == '133.33%'){ image_height = image_width * 1.3333; }; const product_image_hover_on = true && !!secondary_image.src; const has_save_label = true && ((+data.compare_at_price) > (+data.price)); const is_single_variant = data.variants.length == 1; const min_price_variant_href = (data.min_price_variant && data.min_price_variant.available) ? data.min_price_variant.withinUrl : data.withinUrl; const retail_price_max = data.retail_price_max || data.compare_at_price_max; const THUMBNAILS_MAX_SIZE = 3; const thumbnails = data.thumbVariants.slice(0, THUMBNAILS_MAX_SIZE); const image_wrap_id = 'image_wrap_' + get_random_six_digits(); const image_carousel_id = 'image_carousel_' + get_random_six_digits(); const thumbnails_selector_id = 'thumbnails_selector_' + get_random_six_digits(); const form_id = 'form_' + get_random_six_digits(); const mixed_wholesale = data.mixed_wholesale; return `
${ data.available ? `${ (+data.compare_at_price > +data.price) ? `Save
` : '' }` : "Sold out" }
Mixed Lot
${data.title}
${ data.price_min != data.price_max ? `From
` : `
` }
+${data.remainInvisibleThumbCount}
` })()}
Search
Log in
Create an account
${data.data && data.data.count}
Home
All Products
RJ45 & RJ11 Connectors
Cat8 Connectors
Cat7 Connectors
Cat6a Connectors
Cat6 Connectors
Cat5e Connectors
Telephone Connectors
Other Accessories
Strain Relief Boots
Network Cables
Cat8 Patch Cables
Cat7 Patch Cables
Cat6a Patch Cables
Cat6 Patch Cables
Cat5e Patch Cables
Bulk Ethernet Cables
Tools&Accessories
Network Tool Kits
Crimping Tools
Stripping Tools
Punch down Tools
Network Testers
Fiber Optic Tools
Fiber Patch Cables
OS1 OS2
OM1 OM2
OM3-300
OM4
OM5
MPO Patch Cable
Keystone Jack & Wallplate
Telephone Keystone&Coupler
Wallplate and Kits
CAT5E Keystone&Coupler
CAT6 Keystone&Coupler
CAT6A Keystone&Coupler
CAT7 Keystone&Coupler
CAT7A Keystone&Coupler
CAT8 Keystone&Coupler
Patch Panel & PDU
CAT7 Patch Panel
Cat6a Patch Panel
Cat6 Patch Panel
Cat5e Patch Panel
Blank Patch Panel
Cable Management
Telephone Patch Panel
PDU
SFP Transceivers
1.25G SFP Transcevier Module
10G SFP Transcevier Module
RJ45 Transcevier Module
Fiber Optic Accessories
Fiber Optical Adapter
ODF Rack
Accessories
Outlet
New Arrivals
Collection
About Us
Contact Us
Download
More links
${(function(){ const formatLinks = (links) => { return links.map(link => { link.tag = tags[link.title.toUpperCase()] || {}; link.target_attr = link.target == '_blank' ? 'target="_blank"' : ''; link.href_attr = link.url ? `href="${link.url}"` : ''; if(link.children && link.children.length){ link.children = formatLinks(link.children); } return link; }) }; const tags = "{}"; let linkList = [ { id: 67430117, title: "Home", url: "\/", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 67430119, title: "All Products", url: "\/collections\/all-products", target: "_blank", levels: 2, product0: null || {}, children: [ { title: "RJ45 & RJ11 Connectors", url: "\/collections\/rj45-rj11-connectors", target: "_blank", levels: 1, children: [ { title: "Cat8 Connectors", url: "\/collections\/cat8-connectors", target: "_blank", levels: 0, }, { title: "Cat7 Connectors", url: "\/collections\/cat7-connectors", target: "", levels: 0, }, { title: "Cat6a Connectors", url: "\/collections\/cat6a-connectors", target: "_blank", levels: 0, }, { title: "Cat6 Connectors", url: "\/collections\/cat6a-connectors", target: "_blank", levels: 0, }, { title: "Cat5e Connectors", url: "\/collections\/cat5e-connectors", target: "_blank", levels: 0, }, { title: "Telephone Connectors", url: "\/collections\/telephone-connectors", target: "_blank", levels: 0, }, { title: "Other Accessories", url: "\/collections\/other-accessories", target: "_blank", levels: 0, }, { title: "Strain Relief Boots", url: "\/collections\/strain-relief-boots", target: "_blank", levels: 0, }, ] }, { title: "Network Cables", url: "\/collections\/network-cables", target: "_blank", levels: 1, children: [ { title: "Cat8 Patch Cables", url: "\/collections\/cat8-patch-cables", target: "_blank", levels: 0, }, { title: "Cat7 Patch Cables", url: "\/collections\/cat7-patch-cables", target: "_blank", levels: 0, }, { title: "Cat6a Patch Cables", url: "\/collections\/cat6a-patch-cables", target: "_blank", levels: 0, }, { title: "Cat6 Patch Cables", url: "\/collections\/cat6-patch-cables", target: "_blank", levels: 0, }, { title: "Cat5e Patch Cables", url: "\/collections\/cat5e-patch-cables", target: "_blank", levels: 0, }, { title: "Bulk Ethernet Cables", url: "\/collections\/bulk-ethernet-cables", target: "_blank", levels: 0, }, ] }, { title: "Tools&Accessories", url: "\/collections\/tools-accessories", target: "_blank", levels: 1, children: [ { title: "Network Tool Kits", url: "\/collections\/network-tool-kits", target: "_blank", levels: 0, }, { title: "Crimping Tools", url: "\/collections\/crimping-tools", target: "_blank", levels: 0, }, { title: "Stripping Tools", url: "\/collections\/stripping-tools", target: "_blank", levels: 0, }, { title: "Punch down Tools", url: "\/collections\/punch-down-tools", target: "_blank", levels: 0, }, { title: "Network Testers", url: "\/collections\/network-testers", target: "_blank", levels: 0, }, { title: "Fiber Optic Tools", url: "\/collections\/fiber-optic-tools", target: "_blank", levels: 0, }, ] }, { title: "Fiber Patch Cables", url: "\/collections\/fiber-patch-cables", target: "_blank", levels: 1, children: [ { title: "OS1 OS2", url: "\/collections\/os1-os2", target: "_blank", levels: 0, }, { title: "OM1 OM2", url: "\/collections\/om1-om2", target: "_blank", levels: 0, }, { title: "OM3-300", url: "\/collections\/om3-300", target: "_blank", levels: 0, }, { title: "OM4", url: "\/collections\/om4", target: "_blank", levels: 0, }, { title: "OM5", url: "\/collections\/om5", target: "_blank", levels: 0, }, { title: "MPO Patch Cable", url: "\/collections\/mpo-patch-cable", target: "_blank", levels: 0, }, ] }, { title: "Keystone Jack & Wallplate", url: "\/collections\/keystone-jack-wallplate", target: "_blank", levels: 1, children: [ { title: "Telephone Keystone&Coupler", url: "\/collections\/telephone-keystone-coupler", target: "_blank", levels: 0, }, { title: "Wallplate and Kits", url: "\/collections\/wallplate-and-kits", target: "_blank", levels: 0, }, { title: "CAT5E Keystone&Coupler", url: "\/collections\/cat5e-keystone-coupler", target: "_blank", levels: 0, }, { title: "CAT6 Keystone&Coupler", url: "\/collections\/cat6-keystone-coupler", target: "_blank", levels: 0, }, { title: "CAT6A Keystone&Coupler", url: "\/collections\/cat6a-keystone-coupler", target: "_blank", levels: 0, }, { title: "CAT7 Keystone&Coupler", url: "\/collections\/cat7-keystone-coupler", target: "_blank", levels: 0, }, { title: "CAT7A Keystone&Coupler", url: "\/collections\/cat7a-keystone-coupler", target: "_blank", levels: 0, }, { title: "CAT8 Keystone&Coupler", url: "\/collections\/cat8-keystone-coupler", target: "_blank", levels: 0, }, ] }, { title: "Patch Panel & PDU", url: "\/collections\/patch-panel-pdu", target: "_blank", levels: 1, children: [ { title: "CAT7 Patch Panel", url: "\/collections\/cat7-patch-panel", target: "_blank", levels: 0, }, { title: "Cat6a Patch Panel", url: "\/collections\/cat6a-patch-panel", target: "_blank", levels: 0, }, { title: "Cat6 Patch Panel", url: "\/collections\/cat6-patch-panel", target: "_blank", levels: 0, }, { title: "Cat5e Patch Panel", url: "\/collections\/cat5e-patch-panel", target: "_blank", levels: 0, }, { title: "Blank Patch Panel", url: "\/collections\/blank-patch-panel", target: "_blank", levels: 0, }, { title: "Cable Management ", url: "\/collections\/cable-management", target: "_blank", levels: 0, }, { title: "Telephone Patch Panel", url: "\/collections\/telephone-patch-panel", target: "_blank", levels: 0, }, { title: "PDU", url: "\/collections\/pdu", target: "_blank", levels: 0, }, ] }, { title: "SFP Transceivers", url: "\/collections\/sfp-transceivers", target: "_blank", levels: 1, children: [ { title: "1.25G SFP Transcevier Module", url: "\/collections\/1-25g-sfp-transcevier-module", target: "_blank", levels: 0, }, { title: "10G SFP Transcevier Module", url: "\/collections\/10g-sfp-transcevier-module", target: "_blank", levels: 0, }, { title: "RJ45 Transcevier Module", url: "\/collections\/rj45-transcevier-module", target: "_blank", levels: 0, }, ] }, { title: "Fiber Optic Accessories", url: "\/collections\/fiber-optic-accessories", target: "_blank", levels: 1, children: [ { title: "Fiber Optical Adapter", url: "\/collections\/fiber-optical-adapter", target: "_blank", levels: 0, }, { title: "ODF Rack", url: "\/collections\/odf-rack", target: "_blank", levels: 0, }, ] }, { title: "Accessories", url: "\/collections\/cabling-accessories", target: "_blank", levels: 0, children: [ ] }, { title: "Outlet", url: "\/collections\/outlet", target: "_blank", levels: 0, children: [ ] }, ] }, { id: 67430235, title: "New Arrivals", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Collection", url: "", target: "", levels: 0, children: [ ] }, ] }, { id: 67430239, title: "About Us", url: "\/pages\/about-us", target: "_blank", levels: 0, product0: null || {}, children: [ ] }, { id: 67430241, title: "Contact Us", url: "\/pages\/contact-us", target: "_blank", levels: 0, product0: null || {}, children: [ ] }, { id: 67430243, title: "Download", url: "\/pages\/downloads", target: "_blank", levels: 0, product0: null || {}, children: [ ] }, ].slice(offset); linkList = formatLinks(linkList); const hasChild = linkList.some(link => !!(link.children && link.children.length || link.product0.id)); return `
${link.title}
${link.tag.label}
${second_link.title}
${second_link.tag.label}
${third_links.title}
${third_links.tag.label}
${link.title}
${link.tag.label}
` })()}
Home
All Products
RJ45 & RJ11 Connectors
Cat8 Connectors
Cat7 Connectors
Cat6a Connectors
Cat6 Connectors
Cat5e Connectors
Telephone Connectors
Other Accessories
Strain Relief Boots
Network Cables
Cat8 Patch Cables
Cat7 Patch Cables
Cat6a Patch Cables
Cat6 Patch Cables
Cat5e Patch Cables
Bulk Ethernet Cables
Tools&Accessories
Network Tool Kits
Crimping Tools
Stripping Tools
Punch down Tools
Network Testers
Fiber Optic Tools
Fiber Patch Cables
OS1 OS2
OM1 OM2
OM3-300
OM4
OM5
MPO Patch Cable
Keystone Jack & Wallplate
Telephone Keystone&Coupler
Wallplate and Kits
CAT5E Keystone&Coupler
CAT6 Keystone&Coupler
CAT6A Keystone&Coupler
CAT7 Keystone&Coupler
CAT7A Keystone&Coupler
CAT8 Keystone&Coupler
Patch Panel & PDU
CAT7 Patch Panel
Cat6a Patch Panel
Cat6 Patch Panel
Cat5e Patch Panel
Blank Patch Panel
Cable Management
Telephone Patch Panel
PDU
SFP Transceivers
1.25G SFP Transcevier Module
10G SFP Transcevier Module
RJ45 Transcevier Module
Fiber Optic Accessories
Fiber Optical Adapter
ODF Rack
Accessories
Outlet
New Arrivals
Collection
About Us
Contact Us
Download
More links
${(function(){ const formatLinks = (links) => { return links.map(link => { link.tag = tags[link.title.toUpperCase()] || {}; link.target_attr = link.target == '_blank' ? 'target="_blank"' : ''; link.href_attr = link.url ? `href="${link.url}"` : ''; if(link.children && link.children.length){ link.children = formatLinks(link.children); } return link; }) }; const tags = "{}"; let linkList = [ { id: 67430117, title: "Home", url: "\/", target: "", levels: 0, product0: null || {}, children: [ ] }, { id: 67430119, title: "All Products", url: "\/collections\/all-products", target: "_blank", levels: 2, product0: null || {}, children: [ { title: "RJ45 & RJ11 Connectors", url: "\/collections\/rj45-rj11-connectors", target: "_blank", levels: 1, children: [ { title: "Cat8 Connectors", url: "\/collections\/cat8-connectors", target: "_blank", levels: 0, }, { title: "Cat7 Connectors", url: "\/collections\/cat7-connectors", target: "", levels: 0, }, { title: "Cat6a Connectors", url: "\/collections\/cat6a-connectors", target: "_blank", levels: 0, }, { title: "Cat6 Connectors", url: "\/collections\/cat6a-connectors", target: "_blank", levels: 0, }, { title: "Cat5e Connectors", url: "\/collections\/cat5e-connectors", target: "_blank", levels: 0, }, { title: "Telephone Connectors", url: "\/collections\/telephone-connectors", target: "_blank", levels: 0, }, { title: "Other Accessories", url: "\/collections\/other-accessories", target: "_blank", levels: 0, }, { title: "Strain Relief Boots", url: "\/collections\/strain-relief-boots", target: "_blank", levels: 0, }, ] }, { title: "Network Cables", url: "\/collections\/network-cables", target: "_blank", levels: 1, children: [ { title: "Cat8 Patch Cables", url: "\/collections\/cat8-patch-cables", target: "_blank", levels: 0, }, { title: "Cat7 Patch Cables", url: "\/collections\/cat7-patch-cables", target: "_blank", levels: 0, }, { title: "Cat6a Patch Cables", url: "\/collections\/cat6a-patch-cables", target: "_blank", levels: 0, }, { title: "Cat6 Patch Cables", url: "\/collections\/cat6-patch-cables", target: "_blank", levels: 0, }, { title: "Cat5e Patch Cables", url: "\/collections\/cat5e-patch-cables", target: "_blank", levels: 0, }, { title: "Bulk Ethernet Cables", url: "\/collections\/bulk-ethernet-cables", target: "_blank", levels: 0, }, ] }, { title: "Tools&Accessories", url: "\/collections\/tools-accessories", target: "_blank", levels: 1, children: [ { title: "Network Tool Kits", url: "\/collections\/network-tool-kits", target: "_blank", levels: 0, }, { title: "Crimping Tools", url: "\/collections\/crimping-tools", target: "_blank", levels: 0, }, { title: "Stripping Tools", url: "\/collections\/stripping-tools", target: "_blank", levels: 0, }, { title: "Punch down Tools", url: "\/collections\/punch-down-tools", target: "_blank", levels: 0, }, { title: "Network Testers", url: "\/collections\/network-testers", target: "_blank", levels: 0, }, { title: "Fiber Optic Tools", url: "\/collections\/fiber-optic-tools", target: "_blank", levels: 0, }, ] }, { title: "Fiber Patch Cables", url: "\/collections\/fiber-patch-cables", target: "_blank", levels: 1, children: [ { title: "OS1 OS2", url: "\/collections\/os1-os2", target: "_blank", levels: 0, }, { title: "OM1 OM2", url: "\/collections\/om1-om2", target: "_blank", levels: 0, }, { title: "OM3-300", url: "\/collections\/om3-300", target: "_blank", levels: 0, }, { title: "OM4", url: "\/collections\/om4", target: "_blank", levels: 0, }, { title: "OM5", url: "\/collections\/om5", target: "_blank", levels: 0, }, { title: "MPO Patch Cable", url: "\/collections\/mpo-patch-cable", target: "_blank", levels: 0, }, ] }, { title: "Keystone Jack & Wallplate", url: "\/collections\/keystone-jack-wallplate", target: "_blank", levels: 1, children: [ { title: "Telephone Keystone&Coupler", url: "\/collections\/telephone-keystone-coupler", target: "_blank", levels: 0, }, { title: "Wallplate and Kits", url: "\/collections\/wallplate-and-kits", target: "_blank", levels: 0, }, { title: "CAT5E Keystone&Coupler", url: "\/collections\/cat5e-keystone-coupler", target: "_blank", levels: 0, }, { title: "CAT6 Keystone&Coupler", url: "\/collections\/cat6-keystone-coupler", target: "_blank", levels: 0, }, { title: "CAT6A Keystone&Coupler", url: "\/collections\/cat6a-keystone-coupler", target: "_blank", levels: 0, }, { title: "CAT7 Keystone&Coupler", url: "\/collections\/cat7-keystone-coupler", target: "_blank", levels: 0, }, { title: "CAT7A Keystone&Coupler", url: "\/collections\/cat7a-keystone-coupler", target: "_blank", levels: 0, }, { title: "CAT8 Keystone&Coupler", url: "\/collections\/cat8-keystone-coupler", target: "_blank", levels: 0, }, ] }, { title: "Patch Panel & PDU", url: "\/collections\/patch-panel-pdu", target: "_blank", levels: 1, children: [ { title: "CAT7 Patch Panel", url: "\/collections\/cat7-patch-panel", target: "_blank", levels: 0, }, { title: "Cat6a Patch Panel", url: "\/collections\/cat6a-patch-panel", target: "_blank", levels: 0, }, { title: "Cat6 Patch Panel", url: "\/collections\/cat6-patch-panel", target: "_blank", levels: 0, }, { title: "Cat5e Patch Panel", url: "\/collections\/cat5e-patch-panel", target: "_blank", levels: 0, }, { title: "Blank Patch Panel", url: "\/collections\/blank-patch-panel", target: "_blank", levels: 0, }, { title: "Cable Management ", url: "\/collections\/cable-management", target: "_blank", levels: 0, }, { title: "Telephone Patch Panel", url: "\/collections\/telephone-patch-panel", target: "_blank", levels: 0, }, { title: "PDU", url: "\/collections\/pdu", target: "_blank", levels: 0, }, ] }, { title: "SFP Transceivers", url: "\/collections\/sfp-transceivers", target: "_blank", levels: 1, children: [ { title: "1.25G SFP Transcevier Module", url: "\/collections\/1-25g-sfp-transcevier-module", target: "_blank", levels: 0, }, { title: "10G SFP Transcevier Module", url: "\/collections\/10g-sfp-transcevier-module", target: "_blank", levels: 0, }, { title: "RJ45 Transcevier Module", url: "\/collections\/rj45-transcevier-module", target: "_blank", levels: 0, }, ] }, { title: "Fiber Optic Accessories", url: "\/collections\/fiber-optic-accessories", target: "_blank", levels: 1, children: [ { title: "Fiber Optical Adapter", url: "\/collections\/fiber-optical-adapter", target: "_blank", levels: 0, }, { title: "ODF Rack", url: "\/collections\/odf-rack", target: "_blank", levels: 0, }, ] }, { title: "Accessories", url: "\/collections\/cabling-accessories", target: "_blank", levels: 0, children: [ ] }, { title: "Outlet", url: "\/collections\/outlet", target: "_blank", levels: 0, children: [ ] }, ] }, { id: 67430235, title: "New Arrivals", url: "", target: "", levels: 1, product0: null || {}, children: [ { title: "Collection", url: "", target: "", levels: 0, children: [ ] }, ] }, { id: 67430239, title: "About Us", url: "\/pages\/about-us", target: "_blank", levels: 0, product0: null || {}, children: [ ] }, { id: 67430241, title: "Contact Us", url: "\/pages\/contact-us", target: "_blank", levels: 0, product0: null || {}, children: [ ] }, { id: 67430243, title: "Download", url: "\/pages\/downloads", target: "_blank", levels: 0, product0: null || {}, children: [ ] }, ].slice(offset); linkList = formatLinks(linkList); const hasChild = linkList.some(link => !!(link.children && link.children.length || link.product0.id)); return `
${link.title}
${link.tag.label}
${second_link.title}
${second_link.tag.label}
${third_links.title}
${third_links.tag.label}
${link.title}
${link.tag.label}
` })()}
Log in
Create an account
${data.data && data.data.count}
Search
Home
All Products
RJ45 & RJ11 Connectors
Network Cables
Tools&Accessories
Fiber Patch Cables
Keystone Jack & Wallplate
Patch Panel & PDU
SFP Transceivers
Fiber Optic Accessories
Accessories
Outlet
New Arrivals
Collection
About Us
Contact Us
Download
${(function(){ if (data === undefined || typeof data !== 'string' || data == '') return '
'; const keyword = encodeURIComponent(data); return `
View more
Your search for '${data}' did not yield any results.
` })()}
(function(){ let w = window.innerWidth; function setHeaderCssVar() { const headerEle = document.getElementById('shoplaza-section-header'); if(!headerEle){ return }; document.body.style.setProperty('--window-height', `${window.innerHeight}px`); document.body.style.setProperty('--header-height', `${headerEle.clientHeight}px`); const mdScorllHideEle = headerEle.querySelector('.header__mobile .header__scroll_hide'); if (mdScorllHideEle) { document.body.style.setProperty('--header-scroll-hide-height-md', `${mdScorllHideEle.clientHeight}px`); } const pcScorllHideEle = headerEle.querySelector('.header__desktop .header__scroll_hide'); if (pcScorllHideEle) { document.body.style.setProperty('--header-scroll-hide-height-pc', `${pcScorllHideEle.clientHeight}px`); } } function handlResize() { if(w == window.innerWidth){return}; w = window.innerWidth; setHeaderCssVar(); }; function init(){ setHeaderCssVar(); window.removeEventListener('resize', window._theme_header_listener) window._theme_header_listener = handlResize; window.addEventListener('resize', window._theme_header_listener); } init(); })();
Home
/
PDU
PDU
0 Product
${function(){ const product_total = data.total if(product_total <= 1){ return `${product_total} Product` } return `${product_total} Products` }()}
Sorry, there are no products in this collection.
No products found
Use fewer filters or
clear all
Recently Viewed
View Cart
${function(){ const productData = data.product; let product_change_event = '', mouse_over_event = ' '; mouse_out_event = ''; const product_options = productData.options.filter(Boolean) || []; for (let opt of product_options) { product_change_event = product_change_event + `quick-shop-selected-variant-${opt.name}.rerender(data=event.selectedValues.${opt.name});`; mouse_out_event = mouse_out_event + `quick-shop-selected-variant-${opt.name}.rerender(data=event.selectData.${opt.name});`; mouse_over_event = mouse_over_event + `@${opt.name}Mouseover="quick-shop-selected-variant-${opt.name}.rerender(data=event);"`; } const selectedVariant = productData.variants.find(v => v.available) || productData.variants[0]; const statusLan = ((selectedVariant && !selectedVariant.available) || (!selectedVariant && !productData.available)) ? "Sold out" : "Add to cart"; return `
${statusLan}
` }()}
${function(){ const currentSelectVariant = data.variant; const defaultVariant = (data.product && data.product.variants && data.product.variants[0]); const variantData = currentSelectVariant || defaultVariant || data; const retail_price = variantData.retail_price || 0; return `
Retail
` }()}
${function(){ const wholesale_enabled = false; const qty = data.quantity || 1; const currentSelectVariant = data.variant; const defaultVariant = (data.product && data.product.variants && data.product.variants[0]); const productVariant = null; const variantData = currentSelectVariant || defaultVariant || productVariant; const wholesale_price = variantData.wholesale_price || []; if(wholesale_enabled && wholesale_price.length > 0) { let wholesaleIndex = wholesale_price.findIndex(item => { return item.min_quantity > qty; }); if(wholesaleIndex < 0){ wholesaleIndex = wholesale_price.length - 1; }else if(wholesaleIndex > 0){ wholesaleIndex = wholesaleIndex - 1; } const wholesalePrice = wholesale_price[wholesaleIndex] || ''; return `
` }else { const price = variantData && variantData.price; return price != undefined ? `
` : '
'; } }()}
${function() { let variantImageShowed = false; const currentProduct = data.product; return (currentProduct.options || []).map((option, index) => { const optionName = option.name || ''; const position = `option${index + 1}`; let isThumbImage = false; if (currentProduct.need_variant_image && !variantImageShowed) { const variantNames = ["color","Style"] || []; for (let i = 0, len = variantNames.length; i < len; i++) { const name = variantNames[i].toLowerCase(); if (name === optionName.toLowerCase()) { isThumbImage = true; variantImageShowed = true; } } } const variantType = "button"; const thumbStyle = "image_with_text"; return `
${optionName}:
${option.values.map((value, idx) => { const selected = data.selectedValues[optionName] == value ? 'checked' : ''; let thumbImage = null; if (isThumbImage) { const variants = currentProduct.variants; for (let i = 0, len = variants.length; i < len; i++) { const variant = variants[i]; if (variant[position] == value && thumbImage == null) { thumbImage = variant.image; break; } } } return `
${value}
` }).join('')}
${optionName}
${option.values.map(value => { const selected = data.selectedValues[optionName] == value ? 'selected' : ''; return `
${value}
` }).join('')}
` }).join(''); }()}
${data.originData && data.originData.value || data.value}
View Cart
${function(){ const productData = data.product; let product_change_event = '', mouse_over_event = ' '; mouse_out_event = ''; const product_options = productData.options.filter(Boolean) || []; for (let opt of product_options) { product_change_event = product_change_event + `quick-shop-selected-variant-${opt.name}.rerender(data=event.selectedValues.${opt.name});`; mouse_out_event = mouse_out_event + `quick-shop-selected-variant-${opt.name}.rerender(data=event.selectData.${opt.name});`; mouse_over_event = mouse_over_event + `@${opt.name}Mouseover="quick-shop-selected-variant-${opt.name}.rerender(data=event);"`; } const selectedVariant = productData.variants.find(v => v.available) || productData.variants[0]; const statusLan = ((selectedVariant && !selectedVariant.available) || (!selectedVariant && !productData.available)) ? "Sold out" : "Add to cart"; return `
${statusLan}
` }()}
${function(){ const currentSelectVariant = data.variant; const defaultVariant = (data.product && data.product.variants && data.product.variants[0]); const variantData = currentSelectVariant || defaultVariant || data; const retail_price = variantData.retail_price || 0; return `
Retail
` }()}
${function(){ const wholesale_enabled = false; const qty = data.quantity || 1; const currentSelectVariant = data.variant; const defaultVariant = (data.product && data.product.variants && data.product.variants[0]); const productVariant = null; const variantData = currentSelectVariant || defaultVariant || productVariant; const wholesale_price = variantData.wholesale_price || []; if(wholesale_enabled && wholesale_price.length > 0) { let wholesaleIndex = wholesale_price.findIndex(item => { return item.min_quantity > qty; }); if(wholesaleIndex < 0){ wholesaleIndex = wholesale_price.length - 1; }else if(wholesaleIndex > 0){ wholesaleIndex = wholesaleIndex - 1; } const wholesalePrice = wholesale_price[wholesaleIndex] || ''; return `
` }else { const price = variantData && variantData.price; return price != undefined ? `
` : '
'; } }()}
${function() { let variantImageShowed = false; const currentProduct = data.product; return (currentProduct.options || []).map((option, index) => { const optionName = option.name || ''; const position = `option${index + 1}`; let isThumbImage = false; if (currentProduct.need_variant_image && !variantImageShowed) { const variantNames = ["color","Style"] || []; for (let i = 0, len = variantNames.length; i < len; i++) { const name = variantNames[i].toLowerCase(); if (name === optionName.toLowerCase()) { isThumbImage = true; variantImageShowed = true; } } } const variantType = "button"; const thumbStyle = "image_with_text"; return `
${optionName}:
${option.values.map((value, idx) => { const selected = data.selectedValues[optionName] == value ? 'checked' : ''; let thumbImage = null; if (isThumbImage) { const variants = currentProduct.variants; for (let i = 0, len = variants.length; i < len; i++) { const variant = variants[i]; if (variant[position] == value && thumbImage == null) { thumbImage = variant.image; break; } } } return `
${value}
` }).join('')}
${optionName}
${option.values.map(value => { const selected = data.selectedValues[optionName] == value ? 'selected' : ''; return `
${value}
` }).join('')}
` }).join(''); }()}
${data.originData && data.originData.value || data.value}