Cute puppy Dog Lover Art Printed T-shirt
${function() {
const variantData = data.variant || {"id":"f19c9c96-0e65-46d9-b0a8-01d1fc199839","product_id":"ee83abea-a1b0-42ca-845b-83c974da3da1","title":"S","weight_unit":"kg","inventory_quantity":1000,"sku":"","barcode":"","position":1,"option1":"S","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"32.99","price":"21.99","retail_price":"32.99","available":true,"url":"\/products\/cute-puppy-dog-lover-art-printed-t-shirt?variant=f19c9c96-0e65-46d9-b0a8-01d1fc199839","available_quantity":999999999,"options":[{"name":"Size","value":"S"}],"off_ratio":33,"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}
`
}()}
Product was out of stock.
Product is unavailable.