Coffee Shirt, Latte Mardi Gras Shirt, Mardi Gras Carnival 2024
${function() {
const variantData = data.variant || {"id":"9125b3dc-66ad-48b6-aaf5-ae39f0f13054","product_id":"7dc95fe0-61fe-490b-867e-eee8a626d13b","title":"Blue-S","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Blue","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a37640e196bcb34a7ef404acd79f89e7.jpeg","path":"a37640e196bcb34a7ef404acd79f89e7.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":28.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"28.99","retail_price":"0","available":true,"url":"\/products\/coffee-shirt-latte-mardi-gras-shirt-mardi-gras-carnival-2024?variant=9125b3dc-66ad-48b6-aaf5-ae39f0f13054","available_quantity":999999999,"options":[{"name":"COLOR","value":"Blue"},{"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.