${function() {
const variantData = data.variant || {"id":"f2c0df75-aab0-4a4a-9e15-d090b7e6897b","product_id":"3b84c022-d35e-4ff0-a8c0-769280e0d1af","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MTI365927-BLA00S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4666591c5cafab159a7b07c7dadaa73b.jpeg","path":"4666591c5cafab159a7b07c7dadaa73b.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":27.99,"min_quantity":1}],"weight":"0","compare_at_price":"48.99","price":"27.99","retail_price":"48.99","available":true,"url":"\/products\/mens-vintage-patchwork-flag-independence-day-henley-neck-t-shirt?variant=f2c0df75-aab0-4a4a-9e15-d090b7e6897b","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":43,"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.