Red Truck Christmas Wreath
${function() {
const variantData = data.variant || {"id":"96cc6b53-4f99-4ceb-93c3-b1321d56c2b5","product_id":"8e616a12-9af0-47d1-a61a-ae54640f6d9c","title":"Truck Garland A Buy 1","weight_unit":"kg","inventory_quantity":1000,"sku":"Truck Garland A Buy 1-81221901","barcode":"","position":1,"option1":"Truck Garland A Buy 1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cd788317f69133a52919a9a0798679b2.jpeg","path":"cd788317f69133a52919a9a0798679b2.jpeg","width":866,"height":866,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.41,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"30.41","retail_price":"0","available":true,"url":"\/products\/red-truck-christmas-wreath-0f15-sddk?variant=96cc6b53-4f99-4ceb-93c3-b1321d56c2b5","available_quantity":999999999,"options":[{"name":"Option","value":"Truck Garland A Buy 1"}],"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":"96cc6b53-4f99-4ceb-93c3-b1321d56c2b5","product_id":"8e616a12-9af0-47d1-a61a-ae54640f6d9c","title":"Truck Garland A Buy 1","weight_unit":"kg","inventory_quantity":1000,"sku":"Truck Garland A Buy 1-81221901","barcode":"","position":1,"option1":"Truck Garland A Buy 1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/cd788317f69133a52919a9a0798679b2.jpeg","path":"cd788317f69133a52919a9a0798679b2.jpeg","width":866,"height":866,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":30.41,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"30.41","retail_price":"0","available":true,"url":"\/products\/red-truck-christmas-wreath-0f15-sddk?variant=96cc6b53-4f99-4ceb-93c3-b1321d56c2b5","available_quantity":999999999,"options":[{"name":"Option","value":"Truck Garland A Buy 1"}],"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 `
`;
}()}