const updateHeaderMetrics = () => { const header = document.getElementById('header'); const rect = header.getBoundingClientRect(); const headerHeight = rect.bottom; document.documentElement.style.setProperty('--header-height', `${headerHeight}px`); }; window.addEventListener('DOMContentLoaded', updateHeaderMetrics); window.addEventListener('resize', updateHeaderMetrics); const header = document.getElementById('header'); const resizeObserver = new ResizeObserver(entries => { for (let entry of entries) { const rect = entry.target.getBoundingClientRect(); const headerHeight = rect.bottom; document.documentElement.style.setProperty('--header-height', `${headerHeight}px`); } }); resizeObserver.observe(header);
Echo-Exxon
HOME
Mobile house
Space capsule
Apple cabin
Technology cabin
Container houses
Customized house
Smart Home
Vehicle
Off-road vehicles
Dirt bike
UTV
ATV
Snowmobile
Bike
Road bikes
Mountain bikes
Folding bikes
Decoration materials
Indoor materials
Wallboard
Ceramic tile
Outdoor materials
Renovation tools
Energy
Photovoltaic panels
Folding solar panel
SGP
DGP
Batteries
Portable power station
Power bank
Electric suitcase
Lithium battery
Storage battery
ESS cabinet
Wind energy
HAWT
VAWT
Inverters
OGI
GTI
Hybrid inverter
Energy accessories
Photovoltaic bracket
Photovoltaic
Energy storage
Photovoltaic wire
Wire
Outdoor products
Basic equipment
Camping equipment
Cooking utensils
Outdoor clothing
Functional clothing
Footwear and socks
Protective equipment
Tools&Instruments
Navigation tools
Survival tools
Safety equipment
Special equipment
Mountain climbing
Water sports
Cycling equipment
Skiing equipment
Sports accessories
Lighting tools
Medical care
Cleaning supplies
Electronic product
Digital product
Watch&Phone
Mobile data cable
Mini selfie stick
Steel film
Leather case
Mobile phone charger
Wireless mouse
Shield
Case
Bracelet
USB charger
Car holder
Power adapter
Headset
Lazy phone holder
Power bank
Charger
Universal phone case
Automobile
Motorcycle headlights
Electrostatic sticker
Reverse camera
Car ashtray
Car seat cushion
Engine guard
Navigation
Rearview mirror
Parking lock
Barrier gate
Sightseeing car
Car pendant
Windproof covers
Sealing strip
Car perfume
Small round mirror
Home appliances
Yogurt machine
Dehumidifier
Outdoor audio
Television
Garment steamer
Water dispenser
Electric fan
Razor
Electric toothbrush
Electric faucet
Theater machine
Cooker
Bluetooth audio
Hair clipper
Straight hair comb
TV bracket
Small construction machinery
Other
Arts&Crafts gifts
Contact Us
More links
${function (){ var linkList =[false,true,true,true,true,true,true,false,true,false].slice(offset); var hasChild = linkList.some(v => v); var scriptStr = `
var parentId = "#header-more-link-container"; var contentId = "#header-more-link-container-content"; var container = SPZCore.Dom.scopedQuerySelector(document.body, parentId ); var containerContent = SPZCore.Dom.scopedQuerySelector(document.body, parentId+" "+contentId); var offset = +containerContent.getAttribute("offset"); var linkList = [false,true,true,true,true,true,true,false,true,false].slice(offset); var hasChild = linkList.some(v => v); if(hasChild){ container.classList.remove("more-link-simple-container"); container.classList.add("more-link-multi-container"); }else{ container.classList.add("more-link-simple-container"); container.classList.remove("more-link-multi-container"); }
` function renderContent( currentIdx ,content ){ if( offset+1 > currentIdx ){ return "" } return content } if(!hasChild){ return `
${renderContent( 1, `
HOME
` )} ${renderContent( 2, `
Mobile house
` )} ${renderContent( 3, `
Vehicle
` )} ${renderContent( 4, `
Decoration materials
` )} ${renderContent( 5, `
Energy
` )} ${renderContent( 6, `
Outdoor products
` )} ${renderContent( 7, `
Electronic product
` )} ${renderContent( 8, `
Small construction machinery
` )} ${renderContent( 9, `
Other
` )} ${renderContent( 10, `
Contact Us
` )} ${scriptStr}
` } return `
${renderContent(1, `
HOME
` )} ${renderContent(2, `
Mobile house
` )} ${renderContent(3, `
Vehicle
` )} ${renderContent(4, `
Decoration materials
` )} ${renderContent(5, `
Energy
` )} ${renderContent(6, `
Outdoor products
` )} ${renderContent(7, `
Electronic product
` )} ${renderContent(8, `
Small construction machinery
` )} ${renderContent(9, `
Other
` )} ${renderContent(10, `
Contact Us
` )}
${renderContent(1, `
` )} ${renderContent(2, `
Space capsule
Apple cabin
Technology cabin
Container houses
Customized house
Smart Home
` )} ${renderContent(3, `
Off-road vehicles
Dirt bike
UTV
ATV
Snowmobile
Bike
Road bikes
Mountain bikes
Folding bikes
` )} ${renderContent(4, `
Indoor materials
Wallboard
Ceramic tile
Outdoor materials
Renovation tools
` )} ${renderContent(5, `
Photovoltaic panels
Folding solar panel
SGP
DGP
Batteries
Portable power station
Power bank
Electric suitcase
Lithium battery
Storage battery
ESS cabinet
Wind energy
HAWT
VAWT
Inverters
OGI
GTI
Hybrid inverter
Energy accessories
Photovoltaic bracket
Photovoltaic
Energy storage
Photovoltaic wire
Wire
` )} ${renderContent(6, `
Basic equipment
Camping equipment
Cooking utensils
Outdoor clothing
Functional clothing
Footwear and socks
Protective equipment
Tools&Instruments
Navigation tools
Survival tools
Safety equipment
Special equipment
Mountain climbing
Water sports
Cycling equipment
Skiing equipment
Sports accessories
Lighting tools
Medical care
Cleaning supplies
` )} ${renderContent(7, `
Digital product
Watch&Phone
Mobile data cable
Mini selfie stick
Steel film
Leather case
Mobile phone charger
Wireless mouse
Shield
Case
Bracelet
USB charger
Car holder
Power adapter
Headset
Lazy phone holder
Power bank
Charger
Universal phone case
Automobile
Motorcycle headlights
Electrostatic sticker
Reverse camera
Car ashtray
Car seat cushion
Engine guard
Navigation
Rearview mirror
Parking lock
Barrier gate
Sightseeing car
Car pendant
Windproof covers
Sealing strip
Car perfume
Small round mirror
Home appliances
Yogurt machine
Dehumidifier
Outdoor audio
Television
Garment steamer
Water dispenser
Electric fan
Razor
Electric toothbrush
Electric faucet
Theater machine
Cooker
Bluetooth audio
Hair clipper
Straight hair comb
TV bracket
` )} ${renderContent(8, `
` )} ${renderContent(9, `
Arts&Crafts gifts
` )} ${renderContent(10, `
` )} ${scriptStr}
` }()}
function setSearchUrl(searchValue) { return Promise.resolve({ url: '/search?q=' + searchValue }); } exportFunction('setSearchUrl', setSearchUrl);
Search
function setSearchUrl(searchValue) { return Promise.resolve({ url: '/search?q=' + searchValue }); } exportFunction('setSearchUrl', setSearchUrl);
Search
Log in
Create an account
${data.data.count > 99 ? '99+' : data.data.count}
HOME
Mobile house
Mobile house
Space capsule
Apple cabin
Technology cabin
Container houses
Customized house
Smart Home
Vehicle
Vehicle
Off-road vehicles
Off-road vehicles
Dirt bike
UTV
ATV
Snowmobile
Bike
Bike
Road bikes
Mountain bikes
Folding bikes
Decoration materials
Decoration materials
Indoor materials
Indoor materials
Wallboard
Ceramic tile
Outdoor materials
Renovation tools
Energy
Energy
Photovoltaic panels
Photovoltaic panels
Folding solar panel
SGP
DGP
Batteries
Batteries
Portable power station
Power bank
Electric suitcase
Lithium battery
Storage battery
ESS cabinet
Wind energy
Wind energy
HAWT
VAWT
Inverters
Inverters
OGI
GTI
Hybrid inverter
Energy accessories
Energy accessories
Photovoltaic bracket
Photovoltaic
Energy storage
Photovoltaic wire
Wire
Outdoor products
Outdoor products
Basic equipment
Basic equipment
Camping equipment
Cooking utensils
Outdoor clothing
Outdoor clothing
Functional clothing
Footwear and socks
Protective equipment
Tools&Instruments
Tools&Instruments
Navigation tools
Survival tools
Safety equipment
Special equipment
Special equipment
Mountain climbing
Water sports
Cycling equipment
Skiing equipment
Sports accessories
Sports accessories
Lighting tools
Medical care
Cleaning supplies
Electronic product
Electronic product
Digital product
Digital product
Watch&Phone
Mobile data cable
Mini selfie stick
Steel film
Leather case
Mobile phone charger
Wireless mouse
Shield
Case
Bracelet
USB charger
Car holder
Power adapter
Headset
Lazy phone holder
Power bank
Charger
Universal phone case
Automobile
Automobile
Motorcycle headlights
Electrostatic sticker
Reverse camera
Car ashtray
Car seat cushion
Engine guard
Navigation
Rearview mirror
Parking lock
Barrier gate
Sightseeing car
Car pendant
Windproof covers
Sealing strip
Car perfume
Small round mirror
Home appliances
Home appliances
Yogurt machine
Dehumidifier
Outdoor audio
Television
Garment steamer
Water dispenser
Electric fan
Razor
Electric toothbrush
Electric faucet
Theater machine
Cooker
Bluetooth audio
Hair clipper
Straight hair comb
TV bracket
Small construction machinery
Other
Other
Arts&Crafts gifts
Contact Us
Log in
Create an account
${SSS}
function setSearchUrl(searchValue) { return Promise.resolve({ url: '/search?q=' + searchValue }); } exportFunction('setSearchUrl', setSearchUrl);
${function() { if (data === undefined || typeof data !== 'string' || data == '') return `
`; if (data === 'close') return ''; return `
View more
`; }()}
1/5
${data.index + 1}/${data.total}
Facebook
Twitter
Pinterest
Football field artificial fake turf outdoor engineering enclosure greening artificial carpet grass kindergarten school simulation lawn
Outdoor Artificial Turf Solutions: Engineering-Grade Fake Grass for Football Fields, Kindergarten/School Simulation Lawn & Greening Enclosures
$1.20
${function() { const variantData = data.variant || {"id":"3375f229-f05e-406b-aa6e-efb930b5f6f3","product_id":"5745d5c8-3edc-4695-8d3e-45af443600fc","title":"10mm engineering grass [no return, no change]]","weight_unit":"kg","inventory_quantity":0,"sku":"-10mm engineering grass [no return, no change]]-A00115231","barcode":"","position":1,"option1":"10mm engineering grass [no return, no change]]","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":1.2,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"1.2","retail_price":"0","available":true,"url":"\/products\/football-field-artificial-fake-turf-outdoor-engineering-enclosure-greening-artificial-carpet-grass-kindergarten-school-simulation-lawn-jol7?variant=3375f229-f05e-406b-aa6e-efb930b5f6f3","available_quantity":999999999,"options":[{"name":"Specifications","value":"10mm engineering grass [no return, no change]]"}],"off_ratio":0,"flashsale_info":[],"sales":0}; const saveType = "amount"; const productSaveLabel = true; return `
-
${saveType == 'percent' ? `
-${variantData.off_ratio}%
` : `
-
` }
`; }()}
Specifications-
10mm engineering grass [no return, no change]]
${function(){ const optName = "Specifications"; const enable_selected_variants = "true" === 'false'; const optionValue = data.originData.selectData ? data.originData.selectData[optName].value[0] : data.originData.value; return `
${optionValue ? `${enable_selected_variants ? '-' : ''}${optionValue}` : ''}
`; }()}
10mm engineering grass [no return, no change]]
10mm military green [encryption]]
10mm military green [special model]]
15mm military green [encryption]]
15mm military green [special]]
10mm fruit green [export quality]]
15mm fruit green [export quality]]
20mm spring grass [encryption]]
20mm summer grass [encrypted]]
20mm autumn grass [encryption]]
25mm spring grass [encryption]]
25mm summer grass [encryption]]
25mm autumn grass [encryption]]
30mm spring grass [encryption]]
30mm summer grass [encrypted]]
30mm autumn grass [encryption]]
2cm high quality spring grass [special]]
2cm high quality summer grass [special]]
2cm high quality autumn grass [special style]]
2.5cm high quality spring grass [special]]
2.5cm high quality summer grass [special]]
2.5cm high quality autumn grass [special style]]
3cm high quality spring grass [special style]]
3cm high quality summer grass [special style]]
3cm high quality autumn grass [special style]]
20mm encrypted warranty [3 years warranty]]
25mm encryption warranty [3 years warranty]]
30mm encryption warranty [3 years warranty]]
20mm special warranty [5 years warranty]]
25mm special warranty [5 years warranty]]
30mm special warranty [5 years warranty]]
2cm color runway [encryption]]
2.5cm color runway [encryption]]
3cm color runway [encryption]]
Color runway [parameter note]]
2cm football field lawn [no filling]]
2.5cm football field lawn [free filling]]
3cm football field lawn [no filling]]
5cm football field lawn [filled]]
${function(){ const optName = "Specifications"; const optionValue = data.originData.selectData ? data.originData.selectData[optName].value[0] : data.originData.value; return `
Please select a Specifications
`; }()}
Quantity
Sustainably made
Secure payments
Add to cart
-
$1.20
${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]) || Object.keys(data).length > 1 ? data : null; const productVariant = {"id":"3375f229-f05e-406b-aa6e-efb930b5f6f3","product_id":"5745d5c8-3edc-4695-8d3e-45af443600fc","title":"10mm engineering grass [no return, no change]]","weight_unit":"kg","inventory_quantity":0,"sku":"-10mm engineering grass [no return, no change]]-A00115231","barcode":"","position":1,"option1":"10mm engineering grass [no return, no change]]","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":1.2,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"1.2","retail_price":"0","available":true,"url":"\/products\/football-field-artificial-fake-turf-outdoor-engineering-enclosure-greening-artificial-carpet-grass-kindergarten-school-simulation-lawn-jol7?variant=3375f229-f05e-406b-aa6e-efb930b5f6f3","available_quantity":999999999,"options":[{"name":"Specifications","value":"10mm engineering grass [no return, no change]]"}],"off_ratio":0,"flashsale_info":[],"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 it now
Product was out of stock.
Product is unavailable.
people are viewing this right now
Shipping
Estimated Delivery:
Feb-07
-
Feb-11
Vendor by:
1688
SKU: -10mm engineering grass [no return, no change]]-A00115231
SKU: ${data.variant.sku}
Share
Tweet
Pin it
You may also like
Recently viewed
${function(){ const settings_product_title = "title"; const product_grid_image_size = "natural"; const settings_product_image_hover_on = true; let settings_product_save_label = true; const product_sold_out_label = true; const settings_product_swatches_name = ["color","size","pattern"]; const settings_collection_color_swatches = true; const product_price_currency = `
` const from_on = data.price_max != data.price_min ? '
from
{{ price }}
'.replace(/\{\{\s*price\s*\}\}/, product_price_currency) : product_price_currency; const variantShowLimit = 2; const private_id = 'product-tmpl-' + Math.random().toFixed(6).slice(-6) const product_variants = data.variants || []; const product_id = data.id; const images = data.images || []; const image = data.image || {}; const imageWidth = image.width; let imageHeight = image.height; if (product_grid_image_size !== 'natural') { imageHeight = (imageWidth * parseFloat(product_grid_image_size)) / 100; } const price = Number(data.price_min); let compareAtPrice = Number(data.compare_at_price); let offRatio = data.off_ratio; const type = data.type; const isMock = data.isMock; let product_image_hover_on = false; for (let i = 0; i < product_variants.length; i++) { const item = product_variants[i]; const vcap = Number(item.compare_at_price); if (item.price == price && vcap > compareAtPrice) { compareAtPrice = vcap; offRatio = item.off_ratio; } } let second_image = null; if (settings_product_image_hover_on) { for (let i = 1; i < images.length; i++) { const img = images[i]; if (img.src && img.src.indexOf('video=') === -1) { second_image = img; product_image_hover_on = true; break; } } } let sold_label_on = false; let sale_label_on = false; if (settings_product_save_label == null) { settings_product_save_label = true; } if (!data.available && product_sold_out_label) { sold_label_on = true; } if (settings_product_save_label && compareAtPrice > price && data.available) { sale_label_on = true; } const diffPrice = compareAtPrice - price; const variantValues = []; const showVariants = []; if (data.need_variant_image && settings_collection_color_swatches && settings_product_swatches_name.length > 0) { for (let i = 0; i < (data.options || []).length; i++) { const option = data.originData.options[i]; const optionName = option.name && option.name.toLowerCase(); if (settings_product_swatches_name.includes(optionName)) { for (let j = 0; j < product_variants.length; j++) { const variant = product_variants[j]; const value = variant.options[i].value; if (!variantValues.includes(value)) { variantValues.push(value); showVariants.push(variant); } } break; } } } return `
${function(){ if(showVariants.length == 0){ return `
` } return `
${ showVariants.map(item=>{ return `
`; }).join('') }
` }() }
SOLD OUT
SALE
${ showVariants.slice(0,variantShowLimit).map((item,index)=>{ return `
`; }).join('') }
+${showVariants.length - variantShowLimit}
${(settings_product_title === 'sub_title' && data.brief) ? data.brief : data.title}
${from_on}
-
-
${data.available ? ` ` : ''}
`; }()}
Cart
${data.line_items.map(item => { const renderDiscountApp = () => { const isEmpty = item.discount_applications && item.discount_applications.length < 1; const isNotExist = !item.discount_applications; if (isEmpty || isNotExist) { return "" } return `
${ (item.discount_applications || []).map(discount_item => { const discount_item_amount = discount_item.discount_amount || discount_item.amount || ''; return `
${discount_item.title}
(-
)
` }).join('') }
` } return `
${item.product_title}
${item.options.map(o => `
${o.name}:
${o.value}
`).join('')} ${(item.parsedProperties || []).map((propertie)=>{ if (propertie.isImage){ return `
${propertie.name}:
View image
` }else{ return `
${propertie.name}:
${propertie.value}
` } }).join('')}
Free gift
*${item.quantity}
${renderDiscountApp()}
`; }).join('')}
Goes great with
cart
cart
Your cart is currently empty.
Continue shopping
${function() { const freeAmount = 399; const totalPrice = (data && data.total_price) || (data && data.cart && data.cart.total_price) || 0; const amountDiff = freeAmount - totalPrice; const percentDiff = (amountDiff > 0 ? (totalPrice / freeAmount * 100).toFixed(2) : 100) + '%'; const spendTip = "Buy {amount} more to enjoy FREE Shipping"; let tipText = "Your order is free delivery"; if (amountDiff > 0 && spendTip) { tipText = spendTip.replace('{amount}', `
`); } return `
${tipText}
${percentDiff}
`; }()}
${function() { return `
Add order note
Add order note
`; }()}
Total:
${data.total_discount > 0 ? ( `
Save
${data.discount_applications.length > 0 && data.discount_applications.map(item => { return `
${item.title}:
` }).join('')}
Save
` ) : ''}
Check out
Taxes and shipping calculated at checkout
${function() { const freeAmount = 399; const totalPrice = (data && data.total_price) || (data && data.cart && data.cart.total_price) || 0; const amountDiff = freeAmount - totalPrice; const percentDiff = (amountDiff > 0 ? (totalPrice / freeAmount * 100).toFixed(2) : 100) + '%'; const spendTip = "Buy {amount} more to enjoy FREE Shipping"; let tipText = "Your order is free delivery"; if (amountDiff > 0 && spendTip) { tipText = spendTip.replace('{amount}', `
`); } return `
${tipText}
${percentDiff}
`; }()}
Total:
${data.total_discount > 0 ? ( `
Save
${data.discount_applications.length > 0 && data.discount_applications.map(item => { return `
${item.title}:
` }).join('')}
Save
` ) : ''}
Check out
Taxes and shipping calculated at checkout
${data.discount_applications.length > 0 && `
Subtotal:
` || ''} ${data.discount_applications.length > 0 && data.discount_applications.map(item => { return `
${item.title}:
` }).join('') || ''}
Total:
Check out
Taxes and shipping calculated at checkout
${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]) || Object.keys(data).length > 1 ? data : null; 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 ? `
` : '
'; } }()}
const carousel = document.getElementById('quick-view-images'); const selecotr = document.getElementById('quick-view-thumb-images'); const resizeObserver = new ResizeObserver(entries => { for (let entry of entries) { const { height } = entry.contentRect; selecotr.style.height = height + 'px'; } }); resizeObserver.observe(carousel);
${function(){ const remove_variant_images_on = false; let product_swatches_name = ["color","size","pattern"]; product_swatches_name = product_swatches_name.map((name) => name.toLowerCase()); const variantsNamesSet = new Set(data.options.map((opt) => opt.name.toLowerCase()) || []); const containsSwatches = product_swatches_name.some((name) => variantsNamesSet.has(name)); const handleName = (name) => name.replace(/\/|\\|\s|\'|\"|`|\<|\>/g, ''); const mouseoutevent = data.options.map((opt) => `@${handleName(opt.name)}Mouseout="qv-selected-render-${opt.id}.rerender(data=event,redo=true);"`).join(' '); const mouseoverevent = data.options.map((opt) => `@${handleName(opt.name)}Mouseover="qv-selected-render-${opt.id}.rerender(data=event,redo=true);"`).join(' '); const variantsList = (data && data.variants) || [] const variants = variantsList.map((item) => item.image.path) || []; const productData = data; let images = data.images; if(remove_variant_images_on && containsSwatches) { images = data.images.filter((img) => !variants.includes(img.path)); } const selectedVariant = data.variants.find(v => v.available) || data.variants[0]; const selectedIndex = !!selectedVariant ? images.findIndex(img => img.src === (selectedVariant.image && selectedVariant.image.src)) : 0; const initialSlide = selectedIndex === -1 ? 0 : selectedIndex; return `
${images.map((image, index) => `
`).join('')}
${images.map(image => `
`).join('')} ${images.length > 1 ? `
` : ''}
${data.title}
Price
${function() { const origin = "view" const product = (origin === 'shop' ? data.product : data) || {}; const selectedVariant = product.variants.find(v => v.available) || product.variants[0]; return !!selectedVariant ? `
-
` : `
-
`; }()}
Quantity
${selectedVariant.available ? "Add to cart" : "SOLD OUT"}
Buy it now
Product was out of stock.
Product is unavailable.
${function() { const MAX_INVENTORY = 999999; const product0 = Object.prototype.toString.call(data) == '[object Array]' ? data[0] : (data.product || data); const inventoryQty = product0.inventory_quantity; const inventoryPolicy = product0.inventory_policy; const inventoryTracking = product0.inventory_tracking; const exactInventoryStatusId = "quick-view-exact-inventory-render"; const lowStock = 5; const defaultVariant = product0 && product0.variants && product0.variants[0]; const selectedVariant = product0.variants.find(v => v.available) || defaultVariant; const selectedVariantAvailableQuantity = selectedVariant && selectedVariant.available_quantity; let actualInventory = inventoryQty; if ((inventoryTracking && inventoryPolicy == 'continue') || !inventoryTracking) { actualInventory = MAX_INVENTORY; } return `
Avaliability:
Out of stock
in stock, ready to be shipped
Low stock
`; }()}
` }()}
${function(){ let thumbSwitchName = ''; return (data.product.options || []).map((option, index) => { const optionName = option.name || ''; const optionId = option.id || ''; const position = `option${index + 1}`; let isThumbImage = false; const thumbStyle = "image"; const variantType = "button"; if (data.product.need_variant_image && thumbSwitchName === '') { const variantNames = ["color","size","pattern"] || []; for (let i = 0, len = variantNames.length; i < len; i++) { const name = variantNames[i].toLowerCase(); if (name === optionName.toLowerCase()) { isThumbImage = true; thumbSwitchName = name; } } } return (variantType == 'dropdown' && !isThumbImage) ? `
${optionName.toLowerCase()}
${option.values.map(value => { const selected = data.selectedValues[optionName] == value ? 'selected' : ''; return `
${value}
` }).join('')}
` : `
${optionName}:
${data.selectedValues[optionName]}
${option.values.map((value,idx) => { const selected = data.selectedValues[optionName] == value ? 'checked' : ''; let thumbImage = null; if (isThumbImage) { const variants = data.product.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('')}
` }).join('') }()}
${function(){ const { currentOptName, originData: { selectData, value } } = data; const optionValue = selectData ? selectData[currentOptName].value[0] : value; return `
${optionValue}
` }()}
-
-