${function() {
const variantData = data.variant || {"id":"6728449d-e2e1-4d28-a30a-cfad4ebd3fbd","product_id":"3b84c022-d35e-4ff0-a8c0-769280e0d1af","title":"Navy-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MTI365927-NAV00S","barcode":"","position":9,"option1":"Navy","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5e00736d39642f0b9710b03bf20f5fa1.jpeg","path":"5e00736d39642f0b9710b03bf20f5fa1.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=6728449d-e2e1-4d28-a30a-cfad4ebd3fbd","available_quantity":999999999,"options":[{"name":"Color","value":"Navy"},{"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.