Just Breathe Dandelions Casual Print Sweatshirt
${function() {
const variantData = data.variant || {"id":"7892ecb4-b2aa-4e2f-80d1-71023fdc2480","product_id":"656cf700-9e42-4ad6-b1bb-db9713a337b8","title":"Orange-S","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Orange","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e52225341d7fbe6dd01a67a7438b3bc3.jpeg","path":"e52225341d7fbe6dd01a67a7438b3bc3.jpeg","width":1340,"height":1785,"alt":"","aspect_ratio":0.7507002801120448},"wholesale_price":[{"price":36.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"36.99","retail_price":"0","available":true,"url":"\/products\/just-breathe-dandelions-casual-print-sweatshirt?variant=7892ecb4-b2aa-4e2f-80d1-71023fdc2480","available_quantity":999999999,"options":[{"name":"COLOR","value":"Orange"},{"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.