DoceninTM6' Lamp Post with LED Lights
${function() {
const variantData = data.variant || {"id":"c109131a-40e7-498a-8af3-7ffc0ae4381f","product_id":"608d3f1f-5808-47d6-9707-25fbacc94752","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2086834556303","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"0","compare_at_price":"99","price":"16.98","retail_price":"99","available":true,"url":"\/products\/6-lamp-post-with-led-lights-d49s?variant=c109131a-40e7-498a-8af3-7ffc0ae4381f","available_quantity":999999999,"options":[],"off_ratio":83,"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 `
`;
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"c109131a-40e7-498a-8af3-7ffc0ae4381f","product_id":"608d3f1f-5808-47d6-9707-25fbacc94752","title":"","weight_unit":"kg","inventory_quantity":1000,"sku":"sku2086834556303","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":16.98,"min_quantity":1}],"weight":"0","compare_at_price":"99","price":"16.98","retail_price":"99","available":true,"url":"\/products\/6-lamp-post-with-led-lights-d49s?variant=c109131a-40e7-498a-8af3-7ffc0ae4381f","available_quantity":999999999,"options":[],"off_ratio":83,"flashsale_info":[],"sales":18};
return `
`
}()}