${function() {
const variantData = data.variant || {"id":"9bde88d4-39f9-44b9-9b1d-4af6b9976a41","product_id":"6f64d02a-2bb0-4214-88e5-d8dcf01e730d","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MTI373198-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/02e8a45c07111588c5861adbe80d59cb.jpeg","path":"02e8a45c07111588c5861adbe80d59cb.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"47.99","price":"27.99","retail_price":"47.99","available":true,"url":"\/products\/mens-the-pledge-independence-day-henley-neck-raglan-sleeve-t-shirt-3?variant=9bde88d4-39f9-44b9-9b1d-4af6b9976a41","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":42,"flashsale_info":[],"sales":0};
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.