Broken Crayons Still Color Print Casual Sweatshirt
${function() {
const variantData = data.variant || {"id":"5f9d98fe-a0a5-4b98-a443-dc5b3ff02f2f","product_id":"4aa8702d-604a-445b-a9ab-26d609e522e4","title":"GREY-S","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"GREY","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d983942b76674e2633f2c2edbdbfa55f.jpeg","path":"d983942b76674e2633f2c2edbdbfa55f.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"26.99","retail_price":"0","available":true,"url":"\/products\/broken-crayons-still-color-print-casual-sweatshirt?variant=5f9d98fe-a0a5-4b98-a443-dc5b3ff02f2f","available_quantity":999999999,"options":[{"name":"COLOR","value":"GREY"},{"name":"SIZE","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `-`
}
`;
}()}
${function() {
const minInventory = parseInt('10');
const maxInventory = parseInt('50');
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.