Christmas Snowman CLM0910049 Art Quilt
${function() {
const variantData = data.variant || {"id":"0e0d03c4-8097-4bd2-b627-027eb8849ce3","product_id":"649b8072-2bba-4b79-a673-f5320bd6a26b","title":"THROW","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"THROW","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fb33ebfef8635a4946456df4d5adb198.jpeg","path":"fb33ebfef8635a4946456df4d5adb198.jpeg","width":563,"height":566,"alt":"","aspect_ratio":0.9946996466431095},"wholesale_price":[{"price":37.96,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"37.96","retail_price":"0","available":true,"url":"\/products\/clm0910049?variant=0e0d03c4-8097-4bd2-b627-027eb8849ce3","available_quantity":999999999,"options":[{"name":"Size","value":"THROW"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${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":"0e0d03c4-8097-4bd2-b627-027eb8849ce3","product_id":"649b8072-2bba-4b79-a673-f5320bd6a26b","title":"THROW","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"THROW","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fb33ebfef8635a4946456df4d5adb198.jpeg","path":"fb33ebfef8635a4946456df4d5adb198.jpeg","width":563,"height":566,"alt":"","aspect_ratio":0.9946996466431095},"wholesale_price":[{"price":37.96,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"37.96","retail_price":"0","available":true,"url":"\/products\/clm0910049?variant=0e0d03c4-8097-4bd2-b627-027eb8849ce3","available_quantity":999999999,"options":[{"name":"Size","value":"THROW"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
`
}()}
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('52');
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 `
`;
}()}