Crawfish Fleur-De-Lis Flag Mardi Gras T-Shirt
${function() {
const variantData = data.variant || {"id":"9b3648b3-a075-4318-9ef6-8960cbee2ff8","product_id":"6279f7dd-f511-47bd-8188-bd6cc115e1d3","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0415c187239776a65aa3affe24050204.jpeg","path":"0415c187239776a65aa3affe24050204.jpeg","width":600,"height":800,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"21.99","retail_price":"0","available":true,"url":"\/products\/crawfish-fleur-de-lis-flag-mardi-gras-t-shirt?variant=9b3648b3-a075-4318-9ef6-8960cbee2ff8","available_quantity":999999999,"options":[{"name":"COLOR","value":"Black"},{"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.