${function() {
const variantData = data.variant || {"id":"184b493b-b292-4f6a-ba78-06398a8f3c34","product_id":"6f64d02a-2bb0-4214-88e5-d8dcf01e730d","title":"Dark Red-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MTI373198-DRE00S","barcode":"","position":9,"option1":"Dark Red","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6d0fd2da74602098deabbf87a8e41c92.jpeg","path":"6d0fd2da74602098deabbf87a8e41c92.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=184b493b-b292-4f6a-ba78-06398a8f3c34","available_quantity":999999999,"options":[{"name":"Color","value":"Dark Red"},{"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.