${function() {
const variantData = data.variant || {"id":"7c912ada-90fb-491d-9312-5c45c33dc6d4","product_id":"b95c448e-c302-46ee-8861-c0101a64bce2","title":"Beige-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MT020148-Beige-S","barcode":"","position":1,"option1":"Beige","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/99af6a3386378f24929370cb01e027da.jpeg","path":"99af6a3386378f24929370cb01e027da.jpeg","width":1055,"height":1406,"alt":"","aspect_ratio":0.7503556187766715},"wholesale_price":[{"price":26.99,"min_quantity":1}],"weight":"0","compare_at_price":"39","price":"26.99","retail_price":"39","available":true,"url":"\/products\/mens-striped-simple-retro-washed-cotton-batik-short-sleeved-t-shirt?variant=7c912ada-90fb-491d-9312-5c45c33dc6d4","available_quantity":999999999,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"S"}],"off_ratio":31,"flashsale_info":[],"sales":2};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${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.