${function() {
const variantData = data.variant || {"id":"4d0e5768-82dc-49fa-9a10-46309d1d5f19","product_id":"bc862cd3-34b0-4925-b121-89a99b5c198b","title":"As shown-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MTI365965-ASS00S","barcode":"","position":1,"option1":"As shown","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/19400f66e48a05093302155479c2310d.jpeg","path":"19400f66e48a05093302155479c2310d.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-2?variant=4d0e5768-82dc-49fa-9a10-46309d1d5f19","available_quantity":999999999,"options":[{"name":"Color","value":"As shown"},{"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.