Sweet Pea100% Cotton Sheets - Soft & Breathable Sheet Set - 4 Pieces
${function() {
const variantData = data.variant || {"id":"7dd1dc44-aa91-4f43-a03d-fa61b754daa1","product_id":"96667c39-0e69-4ca2-83ab-0ffb8dbcab05","title":"Sweet Pea-Twin","weight_unit":"kg","inventory_quantity":1000,"sku":"homie","barcode":"","position":1,"option1":"Sweet Pea","option2":"Twin","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c1392cf6ccb3642bf86f313092d2ad90.jpeg","path":"c1392cf6ccb3642bf86f313092d2ad90.jpeg","width":2560,"height":2429,"alt":"","aspect_ratio":1.053931659118979},"wholesale_price":[{"price":18.74,"min_quantity":1}],"weight":"0","compare_at_price":"40.24","price":"18.74","retail_price":"40.24","available":true,"url":"\/products\/sweet-pea-100-cotton-sheets-soft-breathable-sheet-set-4-pieces-8i03?variant=7dd1dc44-aa91-4f43-a03d-fa61b754daa1","available_quantity":999999999,"options":[{"name":"Color","value":"Sweet Pea"},{"name":"Size","value":"Twin"}],"off_ratio":53,"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}
`
}()}
${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":"7dd1dc44-aa91-4f43-a03d-fa61b754daa1","product_id":"96667c39-0e69-4ca2-83ab-0ffb8dbcab05","title":"Sweet Pea-Twin","weight_unit":"kg","inventory_quantity":1000,"sku":"homie","barcode":"","position":1,"option1":"Sweet Pea","option2":"Twin","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c1392cf6ccb3642bf86f313092d2ad90.jpeg","path":"c1392cf6ccb3642bf86f313092d2ad90.jpeg","width":2560,"height":2429,"alt":"","aspect_ratio":1.053931659118979},"wholesale_price":[{"price":18.74,"min_quantity":1}],"weight":"0","compare_at_price":"40.24","price":"18.74","retail_price":"40.24","available":true,"url":"\/products\/sweet-pea-100-cotton-sheets-soft-breathable-sheet-set-4-pieces-8i03?variant=7dd1dc44-aa91-4f43-a03d-fa61b754daa1","available_quantity":999999999,"options":[{"name":"Color","value":"Sweet Pea"},{"name":"Size","value":"Twin"}],"off_ratio":53,"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 `
`;
}()}