${(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}
` })()}
CNHUBMALL
CNHUBMALL
Log in
Create an account
${data.data && data.data.count}
ALL CATEGORIES
Men's clothing
Jeans
T-shirt
Casual Pants
Shirt
Polo Shirt
Down Jacket
Cotton-padded Coat
Genuine Leather Coat
Jacket
Sweater
Suit Set
Woolen Coat
Plus-size Men's Clothing
Trench Coat
Knitted Sweater
Vest
Wool Sweater
Sweatpants / Sports Pants
Tang Suit / Zhongshan Suit
Women's Clothing
Fashion Suit
Dress
Skirt
T-shirt
Shirt
Casual Pants
Jeans
Short Coat
Hoodie
Suit
Trench Coat
Knitted Sweater
Chiffon Blouse
Shorts
Vest
Cheongsam / Hanfu
Formal Dress
Wedding Dress
Sweater
Down Jacket
Fur
Genuine Leather Coat
Leggings
Mobile Communication
Gaming Phone
Camera Phone
Full-Screen Mobile Phone
Elderly Mobile Phone
Student Mobile Phone
AI Mobile Phone
Digital Accessories
Memory Card
Tripod/Head
Handheld Stabilizer
Filter
Kitchenware
Waterware And Wineware
Cooking Cookware
Wok
Dish Set
Kitchen Storage
Cookware Set
Tea Set
Coffee Utensils
Complete Computer
Netobook
Desktop Computer
Tablet Computer
Gaming Laptop
Server
All-in-one Computer
Children's Clothing
Suit
Hoodie
Trousers
Sweater
sportswear
Underwear
Bra
Pajamas / Loungewear
Electric Bicycle
Environmental Electrical Appliances
Cold Fan
Electric Fan
Home Telephone
Dehumidifier
Tea Bar Machine
Water Dispenser
Water Purifier
Humidifier
Air Purifier
Heater
Photovoltaic power generation
Photovoltaic Industry Chain Breakdown
Construction of photovoltaic power plants
High-efficiency residential solar panels
Roof-mounted photovoltaic system
Solar photovoltaic modules
Solar photovoltaic panels
More links
${(function(){ var linkList =[true].slice(offset); var hasChild = linkList.some(v => v); if(!hasChild){ return `
ALL CATEGORIES
` } return `
ALL CATEGORIES
Men's clothing
Jeans
T-shirt
Casual Pants
Shirt
Polo Shirt
Down Jacket
Cotton-padded Coat
Genuine Leather Coat
Jacket
Sweater
Suit Set
Woolen Coat
Plus-size Men's Clothing
Trench Coat
Knitted Sweater
Vest
Wool Sweater
Sweatpants / Sports Pants
Tang Suit / Zhongshan Suit
Women's Clothing
Fashion Suit
Dress
Skirt
T-shirt
Shirt
Casual Pants
Jeans
Short Coat
Hoodie
Suit
Trench Coat
Knitted Sweater
Chiffon Blouse
Shorts
Vest
Cheongsam / Hanfu
Formal Dress
Wedding Dress
Sweater
Down Jacket
Fur
Genuine Leather Coat
Leggings
Mobile Communication
Gaming Phone
Camera Phone
Full-Screen Mobile Phone
Elderly Mobile Phone
Student Mobile Phone
AI Mobile Phone
Digital Accessories
Memory Card
Tripod/Head
Handheld Stabilizer
Filter
Kitchenware
Waterware And Wineware
Cooking Cookware
Wok
Dish Set
Kitchen Storage
Cookware Set
Tea Set
Coffee Utensils
Complete Computer
Netobook
Desktop Computer
Tablet Computer
Gaming Laptop
Server
All-in-one Computer
Children's Clothing
Suit
Hoodie
Trousers
Sweater
sportswear
Underwear
Bra
Pajamas / Loungewear
Electric Bicycle
Environmental Electrical Appliances
Cold Fan
Electric Fan
Home Telephone
Dehumidifier
Tea Bar Machine
Water Dispenser
Water Purifier
Humidifier
Air Purifier
Heater
Photovoltaic power generation
Photovoltaic Industry Chain Breakdown
Construction of photovoltaic power plants
High-efficiency residential solar panels
Roof-mounted photovoltaic system
Solar photovoltaic modules
Solar photovoltaic panels
` })()}
ALL CATEGORIES
Men's clothing
Jeans
T-shirt
Casual Pants
Shirt
Polo Shirt
Down Jacket
Cotton-padded Coat
Genuine Leather Coat
Jacket
Sweater
Suit Set
Woolen Coat
Plus-size Men's Clothing
Trench Coat
Knitted Sweater
Vest
Wool Sweater
Sweatpants / Sports Pants
Tang Suit / Zhongshan Suit
Women's Clothing
Fashion Suit
Dress
Skirt
T-shirt
Shirt
Casual Pants
Jeans
Short Coat
Hoodie
Suit
Trench Coat
Knitted Sweater
Chiffon Blouse
Shorts
Vest
Cheongsam / Hanfu
Formal Dress
Wedding Dress
Sweater
Down Jacket
Fur
Genuine Leather Coat
Leggings
Mobile Communication
Gaming Phone
Camera Phone
Full-Screen Mobile Phone
Elderly Mobile Phone
Student Mobile Phone
AI Mobile Phone
Digital Accessories
Memory Card
Tripod/Head
Handheld Stabilizer
Filter
Kitchenware
Waterware And Wineware
Cooking Cookware
Wok
Dish Set
Kitchen Storage
Cookware Set
Tea Set
Coffee Utensils
Complete Computer
Netobook
Desktop Computer
Tablet Computer
Gaming Laptop
Server
All-in-one Computer
Children's Clothing
Suit
Hoodie
Trousers
Sweater
sportswear
Underwear
Bra
Pajamas / Loungewear
Electric Bicycle
Environmental Electrical Appliances
Cold Fan
Electric Fan
Home Telephone
Dehumidifier
Tea Bar Machine
Water Dispenser
Water Purifier
Humidifier
Air Purifier
Heater
Photovoltaic power generation
Photovoltaic Industry Chain Breakdown
Construction of photovoltaic power plants
High-efficiency residential solar panels
Roof-mounted photovoltaic system
Solar photovoltaic modules
Solar photovoltaic panels
More links
${(function(){ var linkList =[true].slice(offset); var hasChild = linkList.some(v => v); if(!hasChild){ return `
ALL CATEGORIES
` } return `
ALL CATEGORIES
Men's clothing
Jeans
T-shirt
Casual Pants
Shirt
Polo Shirt
Down Jacket
Cotton-padded Coat
Genuine Leather Coat
Jacket
Sweater
Suit Set
Woolen Coat
Plus-size Men's Clothing
Trench Coat
Knitted Sweater
Vest
Wool Sweater
Sweatpants / Sports Pants
Tang Suit / Zhongshan Suit
Women's Clothing
Fashion Suit
Dress
Skirt
T-shirt
Shirt
Casual Pants
Jeans
Short Coat
Hoodie
Suit
Trench Coat
Knitted Sweater
Chiffon Blouse
Shorts
Vest
Cheongsam / Hanfu
Formal Dress
Wedding Dress
Sweater
Down Jacket
Fur
Genuine Leather Coat
Leggings
Mobile Communication
Gaming Phone
Camera Phone
Full-Screen Mobile Phone
Elderly Mobile Phone
Student Mobile Phone
AI Mobile Phone
Digital Accessories
Memory Card
Tripod/Head
Handheld Stabilizer
Filter
Kitchenware
Waterware And Wineware
Cooking Cookware
Wok
Dish Set
Kitchen Storage
Cookware Set
Tea Set
Coffee Utensils
Complete Computer
Netobook
Desktop Computer
Tablet Computer
Gaming Laptop
Server
All-in-one Computer
Children's Clothing
Suit
Hoodie
Trousers
Sweater
sportswear
Underwear
Bra
Pajamas / Loungewear
Electric Bicycle
Environmental Electrical Appliances
Cold Fan
Electric Fan
Home Telephone
Dehumidifier
Tea Bar Machine
Water Dispenser
Water Purifier
Humidifier
Air Purifier
Heater
Photovoltaic power generation
Photovoltaic Industry Chain Breakdown
Construction of photovoltaic power plants
High-efficiency residential solar panels
Roof-mounted photovoltaic system
Solar photovoltaic modules
Solar photovoltaic panels
` })()}
CNHUBMALL
CNHUBMALL
Log in
Create an account
${data.data && data.data.count}
${(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.
` })()}
ALL CATEGORIES
ALL CATEGORIES
Men's clothing
Men's clothing
Jeans
T-shirt
Casual Pants
Shirt
Polo Shirt
Down Jacket
Cotton-padded Coat
Genuine Leather Coat
Jacket
Sweater
Suit Set
Woolen Coat
Plus-size Men's Clothing
Trench Coat
Knitted Sweater
Vest
Wool Sweater
Sweatpants / Sports Pants
Tang Suit / Zhongshan Suit
Women's Clothing
Women's Clothing
Fashion Suit
Dress
Skirt
T-shirt
Shirt
Casual Pants
Jeans
Short Coat
Hoodie
Suit
Trench Coat
Knitted Sweater
Chiffon Blouse
Shorts
Vest
Cheongsam / Hanfu
Formal Dress
Wedding Dress
Sweater
Down Jacket
Fur
Genuine Leather Coat
Leggings
Mobile Communication
Mobile Communication
Gaming Phone
Camera Phone
Full-Screen Mobile Phone
Elderly Mobile Phone
Student Mobile Phone
AI Mobile Phone
Digital Accessories
Digital Accessories
Memory Card
Tripod/Head
Handheld Stabilizer
Filter
Kitchenware
Kitchenware
Waterware And Wineware
Cooking Cookware
Wok
Dish Set
Kitchen Storage
Cookware Set
Tea Set
Coffee Utensils
Complete Computer
Complete Computer
Netobook
Desktop Computer
Tablet Computer
Gaming Laptop
Server
All-in-one Computer
Children's Clothing
Children's Clothing
Suit
Hoodie
Trousers
Sweater
sportswear
Underwear
Underwear
Bra
Pajamas / Loungewear
Electric Bicycle
Environmental Electrical Appliances
Environmental Electrical Appliances
Cold Fan
Electric Fan
Home Telephone
Dehumidifier
Tea Bar Machine
Water Dispenser
Water Purifier
Humidifier
Air Purifier
Heater
Photovoltaic power generation
Photovoltaic power generation
Photovoltaic Industry Chain Breakdown
Construction of photovoltaic power plants
High-efficiency residential solar panels
Roof-mounted photovoltaic system
Solar photovoltaic modules
Solar photovoltaic panels
Log in
Create an account
(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(); })();
6/9
${data.index + 1}/${data.total}
${Array(data.total).fill(0).map((num, index) => `
`).join('')}
5 network port machine vision industrial computer I5 industrial computer 4U touch workstation POE port industrial server
$680.00
-
$5,200.00
${function() { const variantData = data.variant || {"id":"81d1a7c4-cd3d-4188-9375-312101b35165","product_id":"5b89a580-9d61-4a6f-b9a9-7855eaf4c56f","title":"I3-1115g4\/8g operational memory 128g solid state","weight_unit":"kg","inventory_quantity":0,"sku":"-I3-1115g4\/8g operational memory 128g solid state-A001558399","barcode":"","position":1,"option1":"I3-1115g4\/8g operational memory 128g solid state","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/851daa7907aae04cedd016aa9c00c8df.jpeg","path":"851daa7907aae04cedd016aa9c00c8df.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":3600,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"3600","retail_price":"0","available":true,"url":"\/products\/5-network-port-machine-vision-industrial-computer-i5-industrial-computer-4u-touch-workstation-poe-port-industrial-server?variant=81d1a7c4-cd3d-4188-9375-312101b35165","available_quantity":999999999,"options":[{"name":"Version","value":"I3-1115g4\/8g operational memory 128g solid state"}],"off_ratio":"0","flashsale_info":{"variant_id":"81d1a7c4-cd3d-4188-9375-312101b35165","product_id":"","quantity":0,"discount_id":"","limit_time":0,"limit_buy":0,"user_limit_buy":0,"discount_sales":0,"discount_sales_rate":"","discount_stock":0,"ends_at":0,"starts_at":0,"allow_oversold":"","allocation_method":"","price":"3600","compare_at_price":"","discount_price":"3600","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"0","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0}; const saveType = "amount"; const productLabelDiscountOn = true; return `
-
${saveType == 'percentage' ? `
-${variantData.off_ratio}%
` : `
-
` }
`; }()}
Version:
I3-1115g4/8g operational memory 128g solid state
${function(){ return `
${data.value}
`; }()}
I3-1115g4/8g operational memory 128g solid state
I5-1135g7/8g operational memory 128g solid state
I7-1165g7/8g operational memory 128g solid state
1800/4g storage/64g solid state
I3 third generation/4g storage/64g solid state
I3 fourth generation/4g operational memory/64g solid state
I5 fourth generation/4g storage/64g solid state
I7 fourth generation/4g operational memory/64g solid state
I5 sixth generation/8g storage/128g solid state
I7 sixth generation/8g operational memory/128g solid state
I5 eighth generation/8g operational memory/128g solid state
I7 eighth generation/8g operational memory/128g solid state
I3 tenth generation/8g operation/128g solid state
I5 tenth generation/8g operation/128g solid state
I7 tenth generation/8g operation/128g solid state
I3 eleventh generation/8g operational memory/128g solid state
I5 eleventh generation/8g operational memory/128g solid state
I7 eleventh generation/8g operational memory/128g solid state
J1900/4g storage/64g solid state
N2840/4g storage/64g solid state
J4125/4g storage/64g solid state
J6412/4g storage/64g solid state
I3-5005u/4g operational memory/64g solid state
I5-4300u/4g operational memory/64g solid state
I7-4600u/4g operational memory/64g solid state
I5-5300u/4g operational memory/64g solid state
I7-5600u/4g operational memory/64g solid state
${function(){ const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data); return `
${tipText}
` }()}
Quantity
Add to cart
$3,600.00
${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 = {"id":"81d1a7c4-cd3d-4188-9375-312101b35165","product_id":"5b89a580-9d61-4a6f-b9a9-7855eaf4c56f","title":"I3-1115g4\/8g operational memory 128g solid state","weight_unit":"kg","inventory_quantity":0,"sku":"-I3-1115g4\/8g operational memory 128g solid state-A001558399","barcode":"","position":1,"option1":"I3-1115g4\/8g operational memory 128g solid state","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/851daa7907aae04cedd016aa9c00c8df.jpeg","path":"851daa7907aae04cedd016aa9c00c8df.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":3600,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"3600","retail_price":"0","available":true,"url":"\/products\/5-network-port-machine-vision-industrial-computer-i5-industrial-computer-4u-touch-workstation-poe-port-industrial-server?variant=81d1a7c4-cd3d-4188-9375-312101b35165","available_quantity":999999999,"options":[{"name":"Version","value":"I3-1115g4\/8g operational memory 128g solid state"}],"off_ratio":"0","flashsale_info":{"variant_id":"81d1a7c4-cd3d-4188-9375-312101b35165","product_id":"","quantity":0,"discount_id":"","limit_time":0,"limit_buy":0,"user_limit_buy":0,"discount_sales":0,"discount_sales_rate":"","discount_stock":0,"ends_at":0,"starts_at":0,"allow_oversold":"","allocation_method":"","price":"3600","compare_at_price":"","discount_price":"3600","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"0","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0}; 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 ? `
` : '
'; } }()}
Buy now
Product was out of stock.
Product is unavailable.
Sku :
-I3-1115g4/8g operational memory 128g solid state-A001558399
${function(){ const variantData = data.variant || {"id":"81d1a7c4-cd3d-4188-9375-312101b35165","product_id":"5b89a580-9d61-4a6f-b9a9-7855eaf4c56f","title":"I3-1115g4\/8g operational memory 128g solid state","weight_unit":"kg","inventory_quantity":0,"sku":"-I3-1115g4\/8g operational memory 128g solid state-A001558399","barcode":"","position":1,"option1":"I3-1115g4\/8g operational memory 128g solid state","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/851daa7907aae04cedd016aa9c00c8df.jpeg","path":"851daa7907aae04cedd016aa9c00c8df.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":3600,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"3600","retail_price":"0","available":true,"url":"\/products\/5-network-port-machine-vision-industrial-computer-i5-industrial-computer-4u-touch-workstation-poe-port-industrial-server?variant=81d1a7c4-cd3d-4188-9375-312101b35165","available_quantity":999999999,"options":[{"name":"Version","value":"I3-1115g4\/8g operational memory 128g solid state"}],"off_ratio":"0","flashsale_info":{"variant_id":"81d1a7c4-cd3d-4188-9375-312101b35165","product_id":"","quantity":0,"discount_id":"","limit_time":0,"limit_buy":0,"user_limit_buy":0,"discount_sales":0,"discount_sales_rate":"","discount_stock":0,"ends_at":0,"starts_at":0,"allow_oversold":"","allocation_method":"","price":"3600","compare_at_price":"","discount_price":"3600","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"0","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0}; return `
Sku :
${variantData && variantData.sku}
Weight :
${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode :
${variantData && variantData.barcode}
` }()}
Description
You may also like
Recently Viewed
Cart
Your shopping bag is empty
Continue shopping
${item.product_title}
${item.options.map(option => option.value).join('/')}
${propertie.name}/${propertie.isImage ? `
View image
` : propertie.value}
Free gift
Mixed Lot
*${item.quantity}
${item.item_text}
${discount_item.title}
(-
)
Total:
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${discount_application.title}:
-
${data.invalid_msg}
Check out
Taxes and shipping calculated at checkout
${data.invalid_msg}
Total:
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${function() { const textArray = ("Save {{save_amount}}").split(/\{\{\s*save_amount\}\}/); if (textArray.length > 0 && textArray.length < 2) { textArray.push(''); } return textArray.map((text, index) => { if (index == 0) { return `
${text}
`; } return `
${text}
`; }).join(''); }()}
${discount_application.title}:
-
Check out
${data.invalid_msg}
Check out
Taxes and shipping calculated at checkout
Subtotal:
${discount_application.title}:
-
Total:
Check out
Taxes and shipping calculated at checkout
const summaryStickyRender = document.querySelector('#cart-drawer-summary-sticky-render'); if (summaryStickyRender) { document.body.style.setProperty('--cart-drawer-summary-sticky-height', summaryStickyRender.clientHeight + 'px'); }
View Cart
${function(){ console.log('quick-shop-render',data); const productData = data.product; let product_change_event = '', mouse_over_event = ' '; mouse_out_event = ''; const product_options = productData.options.filter(Boolean) || []; 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 = {"id":"81d1a7c4-cd3d-4188-9375-312101b35165","product_id":"5b89a580-9d61-4a6f-b9a9-7855eaf4c56f","title":"I3-1115g4\/8g operational memory 128g solid state","weight_unit":"kg","inventory_quantity":0,"sku":"-I3-1115g4\/8g operational memory 128g solid state-A001558399","barcode":"","position":1,"option1":"I3-1115g4\/8g operational memory 128g solid state","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/851daa7907aae04cedd016aa9c00c8df.jpeg","path":"851daa7907aae04cedd016aa9c00c8df.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":3600,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"3600","retail_price":"0","available":true,"url":"\/products\/5-network-port-machine-vision-industrial-computer-i5-industrial-computer-4u-touch-workstation-poe-port-industrial-server?variant=81d1a7c4-cd3d-4188-9375-312101b35165","available_quantity":999999999,"options":[{"name":"Version","value":"I3-1115g4\/8g operational memory 128g solid state"}],"off_ratio":"0","flashsale_info":{"variant_id":"81d1a7c4-cd3d-4188-9375-312101b35165","product_id":"","quantity":0,"discount_id":"","limit_time":0,"limit_buy":0,"user_limit_buy":0,"discount_sales":0,"discount_sales_rate":"","discount_stock":0,"ends_at":0,"starts_at":0,"allow_oversold":"","allocation_method":"","price":"3600","compare_at_price":"","discount_price":"3600","customary_saved_price":"","customary_off_ratio":"","discount_saved_price":"","discount_off_ratio":"0","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0}; 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(){ const optionName = option.name || ''; const optionId = option.id || ''; let isThumbImage = !!option.showThumbImage; const thumbStyle = "image_with_text"; const variantType = "button"; const isSelected = (value) => { const selected = (data.selectedOptions || []).find(v => v.name === optionName); return selected && selected.value.length && selected.value[0] == value; }; const getThumbImage = (value) => { const options = data.product.options || []; const option = options.find(o => o.name === optionName); if (option.thumbImages) { const thumbImage = option.thumbImages.find(t => t.value === value); if (thumbImage && thumbImage.image) { return { src: thumbImage.image.src, alt: thumbImage.image.alt }; } } return {src: '', alt: ''}; }; return `
${optionName}:
${data.selectedOptions && data.selectedOptions.length && data.selectedOptions.find(v => v.name === optionName).value[0]}
${value}
${optionName}
${value}
${value}
` }()}
${data.value}