${function() {
const variantData = data.variant || {"id":"8a212479-c46a-4b06-a175-466be711d3d7","product_id":"15ffe31b-4b75-4402-84d0-7f7a04369bc3","title":"Navy-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MEV355811-NAV00S","barcode":"","position":1,"option1":"Navy","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b710e63105b0cbe65bc05c6ca4a65545.jpeg","path":"b710e63105b0cbe65bc05c6ca4a65545.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":17.99,"min_quantity":1}],"weight":"0","compare_at_price":"33.64","price":"17.99","retail_price":"33.64","available":true,"url":"\/products\/mens-vintage-american-flag-independence-day-print-casual-tank-top?variant=8a212479-c46a-4b06-a175-466be711d3d7","available_quantity":999999999,"options":[{"name":"Color","value":"Navy"},{"name":"Size","value":"S"}],"off_ratio":47,"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.