${function() {
const variantData = data.variant || {"id":"51f5d590-1432-4950-a491-c699fd733727","product_id":"9635ad03-4e4b-441c-ac7f-d12a55c698ae","title":"As shown-S","weight_unit":"kg","inventory_quantity":999,"sku":"MTI365934-ASS00S","barcode":"","position":1,"option1":"As shown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1e9bc868a7d5a12b6e0573895cc35731.jpeg","path":"1e9bc868a7d5a12b6e0573895cc35731.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-vintage-patchwork-flag-independence-day-henley-neck-t-shirt-3?variant=51f5d590-1432-4950-a491-c699fd733727","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"name":"Size","value":"S"}],"off_ratio":42,"flashsale_info":[],"sales":1};
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.