DoceninTMBroadway Fiber Optics Tree
${function() {
const variantData = data.variant || {"id":"4e75ed3a-7e14-4a4c-9112-430bfc75e317","product_id":"09c08f93-1442-4c70-a995-0b8dea7b04bb","title":"6.5'-Fiber Optic Light Show","weight_unit":"kg","inventory_quantity":1000,"sku":"4602494-4602494-2252588-13327826-2252589-13327829-0-0","barcode":"","position":1,"option1":"6.5'","option2":"Fiber Optic Light Show","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b7c9c62543ef090e3e7b05c11c8209b9.webp","path":"b7c9c62543ef090e3e7b05c11c8209b9.webp","width":1371,"height":1714,"alt":"","aspect_ratio":0.7998833138856476},"wholesale_price":[{"price":34.42,"min_quantity":1}],"weight":"0","compare_at_price":"849","price":"34.42","retail_price":"849","available":true,"url":"\/products\/broadway-fiber-optics-tree?variant=4e75ed3a-7e14-4a4c-9112-430bfc75e317","available_quantity":999999999,"options":[{"name":"Height","value":"6.5'"},{"name":"Light Type","value":"Fiber Optic Light Show"}],"off_ratio":96,"flashsale_info":[],"sales":18};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const minInventory = parseInt('3');
const maxInventory = parseInt('88');
const randomInventory = Math.round(Math.random() * (maxInventory - minInventory)) + minInventory;
const customText = "Only {stock} item(s) left in stock!".replace(/\{stock\}/g, '' + randomInventory + '');
const barWidth = (randomInventory / maxInventory) * 100 + '%';
return `
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"4e75ed3a-7e14-4a4c-9112-430bfc75e317","product_id":"09c08f93-1442-4c70-a995-0b8dea7b04bb","title":"6.5'-Fiber Optic Light Show","weight_unit":"kg","inventory_quantity":1000,"sku":"4602494-4602494-2252588-13327826-2252589-13327829-0-0","barcode":"","position":1,"option1":"6.5'","option2":"Fiber Optic Light Show","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b7c9c62543ef090e3e7b05c11c8209b9.webp","path":"b7c9c62543ef090e3e7b05c11c8209b9.webp","width":1371,"height":1714,"alt":"","aspect_ratio":0.7998833138856476},"wholesale_price":[{"price":34.42,"min_quantity":1}],"weight":"0","compare_at_price":"849","price":"34.42","retail_price":"849","available":true,"url":"\/products\/broadway-fiber-optics-tree?variant=4e75ed3a-7e14-4a4c-9112-430bfc75e317","available_quantity":999999999,"options":[{"name":"Height","value":"6.5'"},{"name":"Light Type","value":"Fiber Optic Light Show"}],"off_ratio":96,"flashsale_info":[],"sales":18};
return `
`
}()}