DoceninTMScotch Pine
${function() {
const variantData = data.variant || {"id":"5391cc71-aa54-4a3d-a905-3c25a5549cfd","product_id":"677eeb1a-89fb-4651-8731-905daaf5fbee","title":"6.5a?2-Unlit","weight_unit":"kg","inventory_quantity":1000,"sku":"4628330-4628330-2290780-13476447-2290781-13476449-0-0","barcode":"","position":1,"option1":"6.5a?2","option2":"Unlit","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9ef6ba38fc664cb8925a39fc210a6da4.webp","path":"9ef6ba38fc664cb8925a39fc210a6da4.webp","width":1371,"height":1714,"alt":"","aspect_ratio":0.7998833138856476},"wholesale_price":[{"price":34.42,"min_quantity":1}],"weight":"0","compare_at_price":"899","price":"34.42","retail_price":"899","available":true,"url":"\/products\/scotch-pine?variant=5391cc71-aa54-4a3d-a905-3c25a5549cfd","available_quantity":999999999,"options":[{"name":"Height","value":"6.5a?2"},{"name":"Light Type","value":"Unlit"}],"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":"5391cc71-aa54-4a3d-a905-3c25a5549cfd","product_id":"677eeb1a-89fb-4651-8731-905daaf5fbee","title":"6.5a?2-Unlit","weight_unit":"kg","inventory_quantity":1000,"sku":"4628330-4628330-2290780-13476447-2290781-13476449-0-0","barcode":"","position":1,"option1":"6.5a?2","option2":"Unlit","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9ef6ba38fc664cb8925a39fc210a6da4.webp","path":"9ef6ba38fc664cb8925a39fc210a6da4.webp","width":1371,"height":1714,"alt":"","aspect_ratio":0.7998833138856476},"wholesale_price":[{"price":34.42,"min_quantity":1}],"weight":"0","compare_at_price":"899","price":"34.42","retail_price":"899","available":true,"url":"\/products\/scotch-pine?variant=5391cc71-aa54-4a3d-a905-3c25a5549cfd","available_quantity":999999999,"options":[{"name":"Height","value":"6.5a?2"},{"name":"Light Type","value":"Unlit"}],"off_ratio":96,"flashsale_info":[],"sales":18};
return `
`
}()}